mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-23 13:37:20 -04:00
Fix initialisation in ibex_icache_env_cfg.sv
This commit is contained in:
parent
7d61def943
commit
c7f44557d2
1 changed files with 6 additions and 4 deletions
10
dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv
vendored
10
dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv
vendored
|
@ -30,14 +30,16 @@ class ibex_icache_env_cfg extends dv_base_env_cfg;
|
|||
`uvm_field_array_object(ecc_data_agent_cfgs, UVM_DEFAULT)
|
||||
`uvm_object_utils_end
|
||||
|
||||
`uvm_object_new
|
||||
function new (string name="");
|
||||
super.new(name);
|
||||
has_ral = 1'b0; // The ICache has no RAL model
|
||||
endfunction
|
||||
|
||||
virtual function void initialize(bit [BUS_AW-1:0] csr_base_addr = '1);
|
||||
super.initialize(csr_base_addr);
|
||||
|
||||
core_agent_cfg = ibex_icache_core_agent_cfg::type_id::create("core_agent_cfg");
|
||||
mem_agent_cfg = ibex_icache_mem_agent_cfg::type_id::create ("mem_agent_cfg");
|
||||
// Note this is a hack - super.initialize() cannot be called without triggering a lot of
|
||||
// issues due to missing RAL bits
|
||||
is_initialized = 1;
|
||||
endfunction
|
||||
|
||||
// Create tag and data ECC agents for each way. If ECC is disabled, this should still be called,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue