A tiny custom made 8-bit processor with MMIO peripherals, made for Xilinx FPGA
Install verilator and make Run "make" and "make toptrace.vcd" Open toptrace.vcd with gtkwave
This project is still a work in progress. The CPU works, you can have some fun by doing some assembly level programming in simple_ram.sv.
| cpu.sv | controller.sv | alu.sv | register.sv |
Implemented: NOP, HALT, LDAI, LDA, STA, LDBI, LDB, STB, ADD, SUB, AND, OR, XOR, NOT, SHL, SHR, JMP, JZ, JNZ
TODO: ADDI, SUBI, ANDI, ORI, XORI, SHLI, SHRI, JC, JNC
| simple_ram.sv | Work in progress, support for block RAM and external memory
| seg.sv | Complete
| uart.sv | Work in progress
TODO
TODO
Work in progress
Wishlist