How seeeedn/z80ish works
z80ish is a custom 8-bit CISC processor, described as spiritually descended from the 8080 and Z80. Its principal runtime workflow is to use control and microcode to sequence instruction fetch and execution, operate on registers and data through the ALU, and access memory. The tree identifies the RTL modules, but their source was not excerpted; the internal layering and links below are therefore shown as unverified. Generated simulation excerpts corroborate that the design includes control, microcode, registers, ALU, and memory, but generated artifacts are not part of the product architecture.
Main entry points: cpu.sv CPU Core · control.sv Control Unit · computer.sv Computer · microcode_rom.sv Microcode ROM
Components 13
Instruction Control
- Control Unit
rtl/control.sv - Dispatcher
rtl/dispatcher.sv - Microsequencer
rtl/microsequencer.sv - Microcode ROM
rtl/microcode_rom.sv - Microcode Definitions
rtl/microcode_pkg.svh
Execution Datapath
- Instruction Decode
rtl/idu.sv - ALU
rtl/alu.sv
State and Memory
- Register File
rtl/regfile.sv - Single Register
rtl/single_reg.sv - Memory
rtl/memory.sv
Other components
- Clock and Reset
Connections 13
- Clock and Reset → Computer: provides timing
- Computer → CPU Core: integrates core
- Computer → Memory: connects memory
- CPU Core → Control Unit: uses control
- CPU Core → Instruction Decode: decodes instructions
- CPU Core → ALU: executes operations
- CPU Core → Register File: reads and writes
- CPU Core → Single Register: uses registers
- Control Unit → Dispatcher: dispatches control
- Control Unit → Microsequencer: sequences steps
- Control Unit → Microcode ROM: reads microcode
- Microcode ROM → Microcode Definitions: uses definitions
- CPU Core → Memory: accesses data