mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-06-28 01:06:16 -04:00
Code_coverage: condition RTL with the debug parameter (#1582)
This commit is contained in:
parent
a34aca924e
commit
1faaec09bc
22 changed files with 114 additions and 71 deletions
|
@ -361,7 +361,7 @@ module frontend
|
|||
end
|
||||
// 7. Debug
|
||||
// enter debug on a hard-coded base-address
|
||||
if (set_debug_pc_i)
|
||||
if (CVA6Cfg.DebugEn && set_debug_pc_i)
|
||||
npc_d = CVA6Cfg.DmBaseAddress[riscv::VLEN-1:0] + CVA6Cfg.HaltAddress[riscv::VLEN-1:0];
|
||||
icache_dreq_o.vaddr = fetch_address;
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue