
This project implements a small 8-bit accumulator CPU designed as an educational Tiny Tapeout project.
The CPU contains:
case logic.JZ instruction.halted status output for observing when the CPU executes HLT.The CPU uses an 8-bit instruction format:
7 4 3 0
+---------+---------+
| opcode | operand |
+---------+---------+
4 bits 4 bits
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | gpio_in[0] | gpio_out[0] | halted (output) |
| 1 | gpio_in[1] | gpio_out[1] | uart_tx (output) |
| 2 | gpio_in[2] | gpio_out[2] | |
| 3 | gpio_in[3] | gpio_out[3] | |
| 4 | gpio_in[4] | gpio_out[4] | |
| 5 | gpio_in[5] | gpio_out[5] | |
| 6 | gpio_in[6] | gpio_out[6] | |
| 7 | gpio_in[7] | gpio_out[7] |