mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
[fpv] Only include double fault prediction logic where RVFI exists
This commit is contained in:
parent
b736680ddb
commit
d8b00f0b17
1 changed files with 4 additions and 1 deletions
|
@ -1167,7 +1167,9 @@ module ibex_top import ibex_pkg::*; #(
|
|||
// data_err_i relevant to both reads and writes. Check it isn't X on any response.
|
||||
`ASSERT_KNOWN_IF(IbexDataRErrPayloadX, data_err_i, data_rvalid_i)
|
||||
|
||||
// Tracking logic and predictor for double_fault_seen_o output
|
||||
`ifdef RVFI
|
||||
// Tracking logic and predictor for double_fault_seen_o output, relies on RVFI so only include
|
||||
// it where RVFI is available.
|
||||
|
||||
// Returns 1'b1 if the provided instruction decodes to one that would write the sync_exc_bit of
|
||||
// the CPUCTRLSTS CSR
|
||||
|
@ -1243,6 +1245,7 @@ module ibex_top import ibex_pkg::*; #(
|
|||
// If double_fault_seen_o is asserted we should see predict one occurring within a bounded time
|
||||
`ASSERT(DoubleFaultPulseOnlyOnDoubleFault,
|
||||
double_fault_seen_o |-> ##[0:DoubleFaultSeenLatency] double_fault_seen_predicted)
|
||||
`endif // RVFI
|
||||
`endif
|
||||
|
||||
`ASSERT_KNOWN(IbexIrqX, {irq_software_i, irq_timer_i, irq_external_i, irq_fast_i, irq_nm_i})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue