RISC-V CPU
Find a file
Brendan Haines 40ee5a581e
All checks were successful
Build / Run Test `test_basic` (push) Successful in -3m34s
Build / Run Test `test_c` (push) Successful in -3m39s
no real change. triggering CI
2025-09-03 21:51:24 -06:00
.github/workflows dump elf 2025-08-29 00:21:57 -06:00
.vscode add risc-v syntax hilighting 2025-08-28 00:53:50 -06:00
docs editable pngs are nifty 2025-08-29 00:53:05 -06:00
lib fix rdata output 2022-12-07 20:03:13 -07:00
other_projects add start of JTAG TAP 2021-09-09 00:06:57 -06:00
src add .text.startup section 2025-08-29 00:22:51 -06:00
tests update documentation 2025-08-29 00:45:50 -06:00
.gitignore add correct riscv toolchain. Build takes forever so I'll probably add the binaries later 2022-11-19 18:40:37 -07:00
icon.png add icon 2025-08-29 01:36:02 -06:00
README.md no real change. triggering CI 2025-09-03 21:51:24 -06:00

RISC-V CPU

Short Term To Do:

  • add stalls for memory access
  • use AXI for memory access (depends on AXIL memory module for test)
  • add tests for non-pipelined case
  • get C working (may depend on memory stalls)

Desired features:

  • 1- or 5-stage pipeline selectable via parameter
  • AXI-lite Master for both instruction and data memory
  • 32, 64, (or 128?) bit word size
  • floating point
  • multiplication
  • division
  • instruction and data caches
  • JTAG debug probe

Development

Testing

I'm using act for local testing. No special installation is required since everything gets built and tested in containers as part of the CI actions.

To run the tests, use

act push

Resources

Attribution