diff --git a/design/el2_veer_wrapper.sv b/design/el2_veer_wrapper.sv index 22c9bc165c1..34e80334e6e 100644 --- a/design/el2_veer_wrapper.sv +++ b/design/el2_veer_wrapper.sv @@ -441,7 +441,8 @@ import el2_pkg::*; output logic dmi_uncore_wr_en, output logic [ 6:0] dmi_uncore_addr, output logic [31:0] dmi_uncore_wdata, - input logic [31:0] dmi_uncore_rdata + input logic [31:0] dmi_uncore_rdata, + output logic dmi_active /* verilator coverage_on */ ); @@ -930,6 +931,8 @@ import el2_pkg::*; .dmi_uncore_rdata (dmi_uncore_rdata) ); + always_comb dmi_active = dmi_en; + `ifdef RV_ASSERT_ON // to avoid internal assertions failure at time 0 initial begin diff --git a/testbench/tb_top.sv b/testbench/tb_top.sv index 6e9a81c1d92..2061ab0efa4 100644 --- a/testbench/tb_top.sv +++ b/testbench/tb_top.sv @@ -1308,7 +1308,8 @@ veer_wrapper rvtop_wrapper ( .dmi_uncore_wr_en (), .dmi_uncore_addr (), .dmi_uncore_wdata (), - .dmi_uncore_rdata () + .dmi_uncore_rdata (), + .dmi_active () ); diff --git a/testbench/veer_wrapper.sv b/testbench/veer_wrapper.sv index 967ddc29928..2a3dcfa7ba8 100644 --- a/testbench/veer_wrapper.sv +++ b/testbench/veer_wrapper.sv @@ -357,7 +357,9 @@ module veer_wrapper output logic dmi_uncore_wr_en, output logic [ 6:0] dmi_uncore_addr, output logic [31:0] dmi_uncore_wdata, - input logic [31:0] dmi_uncore_rdata + input logic [31:0] dmi_uncore_rdata, + + output logic dmi_active ); el2_mem_if mem_export (); @@ -380,6 +382,7 @@ module veer_wrapper el2_veer_wrapper rvtop ( .el2_mem_export(mem_export.veer_sram_src), .dmi_core_enable(dmi_core_enable), + .dmi_active(dmi_active), .* );