[dv] Fix compile warning in cip_base_scoreboard
- This fixes a warning thrown in `cip_base_scoreboard` related to the
instantiation of a `mem_model` instance.
Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/hw/dv/sv/cip_lib/cip_base_scoreboard.sv b/hw/dv/sv/cip_lib/cip_base_scoreboard.sv
index 5463db9..d4451b4 100644
--- a/hw/dv/sv/cip_lib/cip_base_scoreboard.sv
+++ b/hw/dv/sv/cip_lib/cip_base_scoreboard.sv
@@ -12,7 +12,7 @@
uvm_tlm_analysis_fifo #(tl_seq_item) tl_a_chan_fifo;
uvm_tlm_analysis_fifo #(tl_seq_item) tl_d_chan_fifo;
- mem_model exp_mem;
+ mem_model#() exp_mem;
`uvm_component_new
@@ -20,7 +20,7 @@
super.build_phase(phase);
tl_a_chan_fifo = new("tl_a_chan_fifo", this);
tl_d_chan_fifo = new("tl_d_chan_fifo", this);
- exp_mem = mem_model::type_id::create("exp_mem", this);
+ exp_mem = mem_model#()::type_id::create("exp_mem", this);
endfunction
virtual task run_phase(uvm_phase phase);