Skip to content

Commit

Permalink
target/sim: Add JTAG tasks for reg access and preloading (#103)
Browse files Browse the repository at this point in the history
* target/sim: Add JTAG tasks to read/write 32b registers

* target/sim: Add JTAG task to halt and load binary

Can be used by platforms to halt CVA6 and preload a shared memory when
execution happens on domains different than Cheshire.

* target/sim: Clean up added tasks

---------

Co-authored-by: Paul Scheffler <[email protected]>
  • Loading branch information
2 people authored and chaoqun-liang committed Jun 1, 2024
1 parent 42ec3c0 commit 79e1419
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion target/sim/src/vip_cheshire_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ module vip_cheshire_soc import cheshire_pkg::*; #(
input doub_bt addr,
output word_bt data,
input int unsigned idle_cycles = 20

);
automatic dm::sbcs_t sbcs = dm::sbcs_t'{sbreadonaddr: 1'b1, sbaccess: 2, default: '0};
jtag_write(dm::SBCS, sbcs, 0, 1);
Expand Down

0 comments on commit 79e1419

Please sign in to comment.