Skip to content

Commit cbadd9c

Browse files
committed
[rv_core_ibex] Remove unused prim_onehot_check assertion
As the register file wren enable check was removed, the assertion `prim_onehot_check` is no longer needed as the `u_prim_onehot_check` instance no longer is in the register file module. Signed-off-by: Pascal Nasahl <[email protected]>
1 parent 2c9dc1e commit cbadd9c

File tree

4 files changed

+0
-32
lines changed

4 files changed

+0
-32
lines changed

hw/ip_templates/rv_core_ibex/rtl/rv_core_ibex.sv.tpl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,14 +1055,6 @@ module ${module_instance_name}
10551055

10561056
// Alert assertions for reg_we onehot check
10571057
`ASSERT_PRIM_REG_WE_ONEHOT_ERROR_TRIGGER_ALERT(RegWeOnehotCheck_A, u_reg_cfg, alert_tx_o[2])
1058-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheck_A,
1059-
u_core.gen_regfile_ff.register_file_i.gen_wren_check.u_prim_onehot_check, alert_tx_o[2])
1060-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrA_A,
1061-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_a,
1062-
alert_tx_o[2])
1063-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrB_A,
1064-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_b,
1065-
alert_tx_o[2])
10661058

10671059
`ifdef INC_ASSERT
10681060
if (ICache && ICacheScramble) begin : gen_icache_scramble_asserts

hw/top_darjeeling/ip_autogen/rv_core_ibex/rtl/rv_core_ibex.sv

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,14 +1027,6 @@ module rv_core_ibex
10271027

10281028
// Alert assertions for reg_we onehot check
10291029
`ASSERT_PRIM_REG_WE_ONEHOT_ERROR_TRIGGER_ALERT(RegWeOnehotCheck_A, u_reg_cfg, alert_tx_o[2])
1030-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheck_A,
1031-
u_core.gen_regfile_ff.register_file_i.gen_wren_check.u_prim_onehot_check, alert_tx_o[2])
1032-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrA_A,
1033-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_a,
1034-
alert_tx_o[2])
1035-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrB_A,
1036-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_b,
1037-
alert_tx_o[2])
10381030

10391031
`ifdef INC_ASSERT
10401032
if (ICache && ICacheScramble) begin : gen_icache_scramble_asserts

hw/top_earlgrey/ip_autogen/rv_core_ibex/rtl/rv_core_ibex.sv

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,14 +1027,6 @@ module rv_core_ibex
10271027

10281028
// Alert assertions for reg_we onehot check
10291029
`ASSERT_PRIM_REG_WE_ONEHOT_ERROR_TRIGGER_ALERT(RegWeOnehotCheck_A, u_reg_cfg, alert_tx_o[2])
1030-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheck_A,
1031-
u_core.gen_regfile_ff.register_file_i.gen_wren_check.u_prim_onehot_check, alert_tx_o[2])
1032-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrA_A,
1033-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_a,
1034-
alert_tx_o[2])
1035-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrB_A,
1036-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_b,
1037-
alert_tx_o[2])
10381030

10391031
`ifdef INC_ASSERT
10401032
if (ICache && ICacheScramble) begin : gen_icache_scramble_asserts

hw/top_englishbreakfast/ip_autogen/rv_core_ibex/rtl/rv_core_ibex.sv

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,14 +1027,6 @@ module rv_core_ibex
10271027

10281028
// Alert assertions for reg_we onehot check
10291029
`ASSERT_PRIM_REG_WE_ONEHOT_ERROR_TRIGGER_ALERT(RegWeOnehotCheck_A, u_reg_cfg, alert_tx_o[2])
1030-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheck_A,
1031-
u_core.gen_regfile_ff.register_file_i.gen_wren_check.u_prim_onehot_check, alert_tx_o[2])
1032-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrA_A,
1033-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_a,
1034-
alert_tx_o[2])
1035-
`ASSERT_PRIM_ONEHOT_ERROR_TRIGGER_ALERT(RvCoreRegWeOnehotCheckRAddrB_A,
1036-
u_core.gen_regfile_ff.register_file_i.gen_rdata_mux_check.u_prim_onehot_check_raddr_b,
1037-
alert_tx_o[2])
10381030

10391031
`ifdef INC_ASSERT
10401032
if (ICache && ICacheScramble) begin : gen_icache_scramble_asserts

0 commit comments

Comments
 (0)