惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Hacker News: Ask HN
Hacker News: Ask HN
N
News and Events Feed by Topic
Forbes - Security
Forbes - Security
The Last Watchdog
The Last Watchdog
TaoSecurity Blog
TaoSecurity Blog
Schneier on Security
Schneier on Security
SecWiki News
SecWiki News
V
Vulnerabilities – Threatpost
Project Zero
Project Zero
O
OpenAI News
W
WeLiveSecurity
Security Archives - TechRepublic
Security Archives - TechRepublic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
H
Hacker News: Front Page
Cisco Talos Blog
Cisco Talos Blog
Spread Privacy
Spread Privacy
Help Net Security
Help Net Security
P
Privacy & Cybersecurity Law Blog
K
Kaspersky official blog
S
Security @ Cisco Blogs
Latest news
Latest news
AWS News Blog
AWS News Blog
U
Unit 42
Martin Fowler
Martin Fowler
阮一峰的网络日志
阮一峰的网络日志
S
Secure Thoughts
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Know Your Adversary
Know Your Adversary
Scott Helme
Scott Helme
博客园 - 司徒正美
B
Blog RSS Feed
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
D
Docker
Google Online Security Blog
Google Online Security Blog
Jina AI
Jina AI
aimingoo的专栏
aimingoo的专栏
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Last Week in AI
Last Week in AI
月光博客
月光博客
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
SegmentFault 最新的问题
NISL@THU
NISL@THU
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
Attack and Defense Labs
Attack and Defense Labs
小众软件
小众软件

Hacker News

Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line Building a Z-Machine in the worst possible language High-Level Rust: Getting 80% of the Benefits with 20% of the Pain GitHub - duguyue100/midnight-captain: Inspired by Midnight Commander, tailored to my taste. How to build a `git diff` driver · Jamie Tanna | Software Engineer Center for Responsible, Decentralized Intelligence at Berkeley The Local Universe’s Expansion Rate Is Clearer Than Ever, but Still Doesn’t Add Up - A new synthesis of astronomical measurements confirms a persistent mismatch that could point to physics beyond current models The air throughout our homes is infused with microplastics. But there are things you can do to breathe less of them The disturbing white paper Red Hat is trying to erase from the internet – OSnews The Future of Everything is Lies, I Guess: Annoyances ‘Abhorrent’: the inside story of the Polymarket gamblers betting millions on war Productive procrastination — Max van IJsselmuiden maps, territory and LMs 447 Terabytes per Square Centimetre at Zero Retention Energy: Non-Volatile Memory at the Atomic Scale on Fluorographane Show HN: Pardonned.com – A searchable database of US Pardons 20 Years on AWS and Never Not My Job The Seasons are Wrong Artemis II crew splashes down near San Diego after historic moon mission We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs How a dancer with ALS used brainwaves to perform live On filing the corners off my MacBooks Installing every* Firefox extension OpenClaw’s memory is unreliable, and you don’t know when it will break Steve Blank Nowhere Is Safe Chimpanzees in Uganda locked in vicious 'civil war', say researchers watgo - a WebAssembly Toolkit for Go linux/Documentation/process/coding-assistants.rst at master · torvalds/linux GitHub - callumlocke/json-formatter: Makes JSON easy to read. Founding Product Engineer at Bild AI | Y Combinator A compelling title that is cryptic enough to get you to take action on it GitHub - Keychron/Keychron-Keyboards-Hardware-Design: Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms. [ANNOUNCE] WireGuardNT v0.11 and WireGuard for Windows v0.6 Released 1D-Chess Helium Is Hard to Replace Cooperative Vectors Introduction | Evolve Keeping a Postgres queue healthy — PlanetScale Our response to the Axios developer tool compromise Do Americans read print books, e-books or audiobooks more? The Zettelkasten Method in Obsidian: A Practical Setup Guide Artemis II Is Competency Porn and We Are Starving For It WeakC4 Flight Viz — Cockpit View A Mexican surveillance giant you’ve never heard of is now watching the U.S. border Surelock: Deadlock-Free Mutexes for Rust RISC-V 101 – what is it and what does it mean for Canonical? | Ubuntu The Problem That Built an Industry How Much Linear Memory Access Is Enough? | Solidean Investigating Split Locks on x86-64 Simplest hash functions Sybilproof reputation mechanisms (2005) [pdf] What is a property? How Complex is my Code? Static code analysis in Kotlin — tools overview Toffoli gates are all you need PGLite evangelism dcmake: a new CMake debugger UI Clojure on Fennel part one: Persistent Data Structures Fragments: April 2 Python Release Python install manager 26.1 The Life and Death of the Book Review - Liberties Introducing Database Traffic Control — PlanetScale Bitcoin miners are losing $19,000 on every BTC produced as difficulty drops 7.8% God sleeps in the minerals Building slogbox Apple Silicon and Virtual Machines: Beating the 2 VM Limit Who was “Not Even Wrong” first? Pokemon Evolution Vs Darwinian Evolution The APL Programming Language Source Code
GitHub - c0rRupT9/STEPLA-1: 8-bit Harvard CPU built from individual logic gates in Logisim-Evolution.
CorRupT9 · 2026-06-16 · via Hacker News

STEPLA-1 8-bit Hardwired CPU

A complete 8-bit Harvard architecture CPU designed and simulated in Logisim-Evolution, built entirely from individual logic gates down to the gate level.

Version: 2.4.2
Status: Under Development


What Is STEPLA-1?

STEPLA-1 is a fully functional 8-bit CPU where every component; registers, decoders, ALU, control unit is built from individual 74-series logic gates. No black box components. Every signal path is visible, traceable, and documented.

Unlike EEPROM-based designs, STEPLA-1 uses a fully hardwired control unit a gate-level AND/OR matrix where every control signal is a physical gate whose inputs you can probe with a multimeter. This makes the machine transparent in a way that microcode-based designs cannot be.


Key Features

Architecture

  • 8-bit Harvard architecture
  • 4-bit opcode space, 16 instructions
  • 4 general purpose registers (RA-RD)
  • Separate instruction and data RAM (256 bytes each)
  • Bootstrap Control Unit (BCU) for cold-boot ROM → RAM transfer

Control Unit

  • Fully hardwired PLA-inspired gate matrix
  • Hierarchical decode: opcode decoder + step decoder + AND matrix
  • No EEPROM, no microcode pure combinational logic
  • Every control signal traceable to individual gates

Performance

  • Variable cycle instructions: 3 to 5 clock cycles
  • Early-exit conditional branching (25% latency reduction)
  • Synchronous load-to-one reset (33% efficiency gain over v2.3)
  • Calculated IPC: 0.200-0.333, weighted average 0.263
  • Target clock: 4 MHz on physical breadboard
  • Effective throughput: ~1 MIPS at target frequency

Instruction Set

Opcode Instruction Cycles Description
0x0 NOP 3 No operation
0x1 HLT 3 Halt execution
0x2 ADD 5 Add registers
0x3 SUB 5 Subtract registers
0x4 MOV 3 Register to register
0x5 MOVI 4 Load immediate
0x6 STRD 4 Store to data RAM
0x7 OUT 3 Output register
0x8 JMP 4 Unconditional jump
0x9 JZ 3/5 Jump if zero
0xA JC 3/5 Jump if carry
0xB LDIM 5 Load immediate address
0xC LDD 4 Load from data RAM
0xD GETPC 3 Get program counter
0xE JP 3 Jump to register
0xF STIM 5 Store immediate address

Why STEPLA-1 Is Different

Most educational CPU projects use one of two approaches:

  • EEPROM microcode (Ben Eater's SAP-1): Simple to implement, opaque in operation
  • HDL simulation (VHDL/Verilog): Powerful but abstracted from physical reality

STEPLA-1 takes a third path: discrete gate simulation that maps directly to physical components. Every Logisim gate corresponds to a real 74-series IC you can buy at an electronics market. The simulation IS the schematic.

Comparison with SAP-1:

Feature SAP-1 STEPLA-1
Instructions 5 16
Registers 2 (fixed purpose) 4 (general purpose)
RAM 16 bytes 256 bytes
Control unit EEPROM microcode Hardwired gates
Conditional jumps None JZ, JC with early exit
Bootstrap loader None Hardware BCU
Target clock ~1 MHz 4 MHz
Effective throughput ~0.17 MIPS ~1 MIPS

Repository Structure

STEPLA-1/
├── simulation/
│   ├── STEPLA-1.circ          # Main Logisim-Evolution file
│   ├── control_unit.circ      # Control unit subcircuit
│   ├── register_file.circ     # Register selector subcircuit
│   └── BCU.circ               # Bootstrap control unit
├── programs/
│   ├── fibonacci.asm          # Fibonacci sequence demo
│   └── counter.asm            # Basic counter program
├── docs/
│   └── STEPLA-1_Spec_v2.4.2.pdf  # Full specification
└── README.md

Getting Started

Requirements

Running the Simulation

  1. Clone this repository
  2. Open simulations/8bitcomp.circ in Logisim-Evolution
  3. Load programs/fibonacci.asm into the ROM
  4. Toggle switch to 1 and press reset button.
  5. Run the clock at desired frequency.

Loading a Program

Programs are loaded via the Bootstrap Control Unit automatically. On simulation start the BCU copies the instruction ROM contents to instruction RAM before releasing control to the CPU. See Section 8 of the specification for BCU operation details.


Documentation

The full 43-page specification covers:

  • Control unit theory and PLA architecture
  • Complete ISA with encoding rules
  • Every instruction's T-state microoperation sequence
  • Clock phase synchronization and dual-edge design
  • BCU boot protocol and T0 null state
  • Signal conditioning for physical breadboard build
  • Timing analysis with real component datasheets
  • Known limitations and v3.0 roadmap

📄 [Read the Full Specification](/STEPLA-1 Control Unit Design Specifictation Manual v2.4.2.pdf)


Physical Build

STEPLA-1 is designed for physical construction using 74HCT series logic:

Key components:

  • Logic: 74HCT08, 74HCT32, 74HCT14, 74HCT86
  • Registers: 74HCT377, 74HCT175, 74HCT74
  • Decode: 74HCT154, 74HCT138, 74HCT139
  • Counter: 74HCT163
  • ALU: 74HCT283 (×2 cascaded)
  • Memory: AS6C62256 SRAM, AT28C64B EEPROM
  • Bus: 74HCT244, 74HCT245

Target clock speed: 4 MHz (verified via timing analysis, critical path: 101ns, half-cycle budget: 125ns at 4 MHz)


Roadmap

v2.5.0 (planned)

  • Overflow flag (VF) and Negative flag (NF)
  • Signed arithmetic support
  • JV and JN conditional jump instructions
  • Proteus ISIS simulation with real component models

v3.0.0 (planned)

  • 16-bit instruction word
  • 16-register general purpose file
  • Hardware stack (PUSH/POP/CALL/RET)
  • Dual asynchronous control units
  • Pre-fetch buffer approaching 1.0 CPI

Acknowledgments

This project builds on the work of:

  • Ben Eater — whose 8-bit breadboard computer series demonstrated that CPU design can be made completely transparent
  • Leon Nicolas — whose cascaded RAM implementation in Logisim provided the structural insight that led to STEPLA-1's hardwired control matrix
  • Albert Paul Malvino — Digital Computer Electronics
  • Patterson and Hennessy — Computer Organization and Design
  • Charles Petzold — Code: The Hidden Language of Computer Hardware and Software

Contributing

Contributions welcome. Areas of particular interest:

  • Physical breadboard build documentation
  • Additional assembly programs
  • Assembler implementation
  • Proteus simulation port
  • v3.0 architecture discussion

Please open an issue before submitting large changes.


License

This project is open source. MIT License