Skip to content
/ TinyMCU Public

A tiny custom made 8-bit processor with MMIO peripherals, made for Xilinx FPGA

License

Notifications You must be signed in to change notification settings

fsaev/TinyMCU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyMCU

A tiny custom made 8-bit processor with MMIO peripherals, made for Xilinx FPGA

Compile

Install verilator and make Run "make" and "make toptrace.vcd" Open toptrace.vcd with gtkwave

Status

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

| 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

RAM

| simple_ram.sv | Work in progress, support for block RAM and external memory

7-segment output

| seg.sv | Complete

UART

| uart.sv | Work in progress

SPI

TODO

I2C

TODO

Timer

Work in progress

VGA w/hardware rendering

Wishlist

About

A tiny custom made 8-bit processor with MMIO peripherals, made for Xilinx FPGA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published