mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 11:57:12 -04:00
Temporarily disable PMP/MEM errors in icache testbench
This allows tests to run to completion. Unfortunately, the core agent currently has a bug in how it handles errors (if a sequence item terminates with an error and is followed by a 'req' sequence item, the test hangs). I'll fix that in a separate patch soon (and revert this commit), but don't want the memory agent changes to depend on the fix.
This commit is contained in:
parent
5cd874ea71
commit
cf33bfeae0
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ class ibex_icache_sanity_vseq extends ibex_icache_base_vseq;
|
|||
ibex_icache_core_sanity_seq core_seq;
|
||||
ibex_icache_mem_resp_seq mem_seq;
|
||||
|
||||
task pre_start();
|
||||
super.pre_start();
|
||||
|
||||
// Temporary hack (working around problems with memory/PMP errors)
|
||||
cfg.mem_agent_cfg.disable_pmp_errs = 1'b1;
|
||||
cfg.mem_agent_cfg.disable_mem_errs = 1'b1;
|
||||
endtask
|
||||
|
||||
task body();
|
||||
// Start the core and memory sequences. We use fork/join_any so that we don't wait for the
|
||||
// memory sequence (which is reactive so will never finish).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue