-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This tests new hardening added to the register file around read and write control signals.
- Loading branch information
Showing
3 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,10 +157,14 @@ module core_ibex_tb_top; | |
.core_sleep_o (dut_if.core_sleep ) | ||
); | ||
|
||
`define IBEX_RF_PATH core_ibex_tb_top.dut.u_ibex_top.gen_regfile_ff.register_file_i | ||
|
||
// We should never see any alerts triggered in normal testing | ||
`ASSERT(NoAlertsTriggered, | ||
!dut_if.alert_minor && !dut_if.alert_major_internal && !dut_if.alert_major_bus, clk, !rst_n) | ||
`DV_ASSERT_CTRL("tb_no_alerts_triggered", core_ibex_tb_top.NoAlertsTriggered) | ||
`DV_ASSERT_CTRL("tb_rf_rd_mux_a_onehot", `IBEX_RF_PATH.gen_rdata_mux_check.u_rdata_a_mux.SelIsOnehot_A) | ||
Check warning on line 166 in dv/uvm/core_ibex/tb/core_ibex_tb_top.sv GitHub Actions / verible-lint
|
||
`DV_ASSERT_CTRL("tb_rf_rd_mux_b_onehot", `IBEX_RF_PATH.gen_rdata_mux_check.u_rdata_b_mux.SelIsOnehot_A) | ||
Check warning on line 167 in dv/uvm/core_ibex/tb/core_ibex_tb_top.sv GitHub Actions / verible-lint
|
||
|
||
assign dut.u_ibex_top.u_ibex_core.u_fcov_bind.rf_we_glitch_err = | ||
dut.u_ibex_top.rf_alert_major_internal; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters