[otbn, dv] Assertion fixes in otbn_idle_checker
This commit adds minor assetion fixes in otbn_idle_checker as they were
causing false failures.
Signed-off-by: Prajwala Puttappa <prajwalaputtappa@lowrisc.org>
diff --git a/hw/ip/otbn/dv/uvm/sva/otbn_idle_checker.sv b/hw/ip/otbn/dv/uvm/sva/otbn_idle_checker.sv
index 7e9ccd5..ec7e97c 100644
--- a/hw/ip/otbn/dv/uvm/sva/otbn_idle_checker.sv
+++ b/hw/ip/otbn/dv/uvm/sva/otbn_idle_checker.sv
@@ -121,13 +121,13 @@
(idle_o_i == prim_mubi_pkg::MuBi4True))
`ASSERT(NoStartKeyRotationWhenLocked_A,
- (status_q_i == otbn_pkg::StatusLocked) |-> !$rose(keys_busy))
+ (status_q_i == otbn_pkg::StatusLocked) |=> !$rose(keys_busy))
`ASSERT(OnlyKeyRotationWhenRunningOrLocked_A,
keys_busy |-> (running_q || (status_q_i == otbn_pkg::StatusLocked)))
`ASSERT(NotRunningWhenLocked_A,
- !((status_q_i == otbn_pkg::StatusLocked) && running_q))
+ !((status_q_i == otbn_pkg::StatusLocked) && running_d))
`ASSERT(NoMemRdataWhenBusy_A, running_q |-> imem_rdata_bus == 'b0 && dmem_rdata_bus == 'b0)