fix stablility assert

This commit is contained in:
2026-10-06 01:10:02 -04:00
parent 9faf4c7dd1
commit e575c25c9f
+2 -4
View File
@@ -467,8 +467,6 @@ module cpu_tb_top;
STABLE_WHEN_DISABLED :
assert property (@(posedge clk) disable iff (rst)
(!cpu_if.en_cpu || !cpu_if.cpu_active) |=> ($stable(
dut.register_crossbar
)))
else assertion_fail("register file/pc changed while cpu inactive");
!cpu_if.cpu_active |=> $stable(dut.register_crossbar))
else assertion_fail("register file changed while cpu inactive");
endmodule : cpu_tb_top