Skip to content

Custom 16 bit CPU and datapath in VHDL. Inspired by RISC-V

Notifications You must be signed in to change notification settings

Graystripe17/16bitCPU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

16bitCPU

Custom 16 bit CPU and datapath in VHDL inspired by RISC-V

Simulation

# Syntax check
ghdl -s ALU.vhd adder.vhd controlunit.vhd memory.vhd mux.vhd register.vhd signextension.vhd top.vhd instruction.vhd
# Analysis
ghdl -a ALU.vhd adder.vhd controlunit.vhd memory.vhd mux.vhd register.vhd signextension.vhd top.vhd instruction.vhd
# Test bench
ghdl -s top.vhd top_tb.vhd                   
ghdl -a top.vhd top_tb.vhd
ghdl -e t_top
ghdl -r t_top --vcd=top.vcd --stop-time=1us
open top.vcd

Assembly

Hand assemble your assembly code in instruction.vhd from 16 basic instructions.

License

MIT

About

Custom 16 bit CPU and datapath in VHDL. Inspired by RISC-V

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages