-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.add spke co-sim logic; 2.update pulp_c910 dependency.
- Loading branch information
1 parent
ce42f85
commit 520b089
Showing
12 changed files
with
515 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,5 @@ target/sim/vsim/work/ | |
|
||
target/xilinx/cheshire.srcs/ | ||
target/xilinx/probes.ltx | ||
work-dpi/ | ||
work-dpi/ | ||
*.img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ dependencies: | |
# soc910: { git: "[email protected]:nwistoff/soc910.git", rev: 7c218d05 } | ||
# register_interface: { path: vendor/pulp_register_interface } | ||
# soc910: { path: soc910/hw/system } | ||
pulp_c910: { git: "[email protected]:nwistoff/pulp_c910.git", rev: fd4b9fce } | ||
pulp_c910: { git: "[email protected]:nwistoff/pulp_c910.git", rev: fef1b0ed } | ||
|
||
export_include_dirs: | ||
- hw/include | ||
|
@@ -58,12 +58,18 @@ sources: | |
files: | ||
- target/sim/models/s25fs512s.v | ||
- target/sim/models/24FC1025.v | ||
- target/sim/src/spike.sv | ||
- target/sim/src/vip_cheshire_soc.sv | ||
- target/sim/src/tb_cheshire_pkg.sv | ||
- target/sim/src/fixture_cheshire_soc.sv | ||
- target/sim/src/tb_cheshire_soc.sv | ||
|
||
- target: any(cosim) | ||
files: | ||
# - target/sim/src/dpi/util/one_counter.sv | ||
# - target/sim/src/dpi/util/usage_manager.sv | ||
# - target/sim/src/dpi/util/mp_fifo.sv | ||
- target/sim/src/spike.sv | ||
|
||
- target: all(fpga, xilinx) | ||
files: | ||
- target/xilinx/src/fan_ctrl.sv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# for i in range(96): | ||
# print("assign preg_value[%d] = dut.gen_cva6_cores[0].gen_c910_core.i_c910_axi_wrap.cpu_sub_system_axi_i.x_rv_integration_platform.x_cpu_top.x_ct_top_0.x_ct_core.x_ct_idu_top.x_ct_idu_rf_prf_pregfile.preg%d_reg_dout;" % (i, i)) | ||
|
||
for i in range(32): | ||
print("assign areg_preg_idx[%d] = dut.gen_cva6_cores[0].gen_c910_core.i_c910_axi_wrap.cpu_sub_system_axi_i.x_rv_integration_platform.x_cpu_top.x_ct_top_0.x_ct_core.x_ct_idu_top.x_ct_idu_ir_rt.x_ct_idu_ir_rt_entry_reg_%d.preg;"%(i,i)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.