diff options
author | Joshua Yun <joshua@joshuayun.com> | 2025-03-15 17:35:52 -0500 |
---|---|---|
committer | Joshua Yun <joshua@joshuayun.com> | 2025-03-15 17:35:52 -0500 |
commit | 59fd8c25ee1452452cb564d6fe4163b7a9394aef (patch) | |
tree | 028688a39cd401a40939d86e3bf4a8f5d678d6a4 /core/cpu.core | |
parent | c7a29c00b143ff6ee22bb7cffbdd0ae7c21206d1 (diff) | |
download | riscv-processor-59fd8c25ee1452452cb564d6fe4163b7a9394aef.tar.gz |
feat: added TB support + primitives for flipflops, initial fetch stage (not complete), mem initialization for imem complete
Diffstat (limited to 'core/cpu.core')
-rw-r--r-- | core/cpu.core | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/core/cpu.core b/core/cpu.core new file mode 100644 index 0000000..7f7b499 --- /dev/null +++ b/core/cpu.core @@ -0,0 +1,35 @@ +CAPI=2: +name: bingchao:riscv:cpu:1.0.0 +description: "RISC-V Core" + +filesets: + rtl: + files: + - rtl/core.sv + - rtl/fetch.sv + file_type: systemVerilogSource + depend: + - bingchao:riscv:primitives + + tb: + files: + - tb/core_tb.sv + - tb/core_tb_imem.sv + file_type: systemVerilogSource + +targets: + default: &default + filesets: + - rtl + toplevel: top + + sim: + <<: *default + description: Run top level testbench + default_tool: verilator + filesets_append: + - tb + toplevel: core_tb + tools: + verilator: + mode: binary |