
A simple one-stage RISC-V CPU. This CPU was created with reference to the lecture: https://eeic-vlsi.github.io/2025/. Instructions are 32-bit, while the input bus is 8-bit, so each instruction is loaded over four clock cycles.
Very simple instructions are written in the testbench to verify that the calculations are correct.
The chip is not being shipped at this time.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | 1st bit of xth instruction byte | 1st bit of xth alu_out byte | reset to CPU |
| 1 | 2nd bit of xth instruction byte | 2nd bit of xth alu_out byte | write enable to instruction memory |
| 2 | 3rd bit of xth instruction byte | 3rd bit of xth alu_out byte | not used |
| 3 | 4th bit of xth instruction byte | 4th bit of xth alu_out byte | not used |
| 4 | 5th bit of xth instruction byte | 5th bit of xth alu_out byte | not used |
| 5 | 6th bit of xth instruction byte | 6th bit of xth alu_out byte | not used |
| 6 | 7th bit of xth instruction byte | 7th bit of xth alu_out byte | not used |
| 7 | 8th bit of xth instruction byte | 8th bit of xth alu_out byte | not used |