Skip to content

Commit d81bff7

Browse files
Remove redundant waits in recovery_indirect_fifo_overflow test
Internal-tag: [#95734]
1 parent 8c48677 commit d81bff7

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

verification/cocotb/top/lib_i3c_top/test_recovery.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7506,7 +7506,6 @@ async def set_err_ctrl(val):
75067506
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
75077507
overflow_data,
75087508
)
7509-
await ClockCycles(tb.clk, 50)
75107509

75117510
prot_err = await get_prot_error()
75127511
dut._log.info(f" PROT_ERROR=0x{prot_err:02X} after overflow with det_en=1")
@@ -7529,7 +7528,6 @@ async def set_err_ctrl(val):
75297528
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
75307529
0x1,
75317530
)
7532-
await ClockCycles(tb.clk, 10)
75337531
await clear_device_status()
75347532

75357533
# Clear error status (W1C)
@@ -7546,7 +7544,6 @@ async def set_err_ctrl(val):
75467544
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
75477545
overflow_data,
75487546
)
7549-
await ClockCycles(tb.clk, 50)
75507547

75517548
prot_err2 = await get_prot_error()
75527549
dut._log.info(f" PROT_ERROR=0x{prot_err2:02X} after overflow with det_en=0")
@@ -7568,7 +7565,6 @@ async def set_err_ctrl(val):
75687565
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
75697566
0x1,
75707567
)
7571-
await ClockCycles(tb.clk, 10)
75727568
await clear_device_status()
75737569

75747570
# Clear error status (W1C)
@@ -7585,7 +7581,6 @@ async def set_err_ctrl(val):
75857581
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
75867582
overflow_data,
75877583
)
7588-
await ClockCycles(tb.clk, 50)
75897584

75907585
prot_err3 = await get_prot_error()
75917586
dut._log.info(f" PROT_ERROR=0x{prot_err3:02X} after overflow with det_en=0")
@@ -7608,7 +7603,6 @@ async def set_err_ctrl(val):
76087603
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
76097604
0x1,
76107605
)
7611-
await ClockCycles(tb.clk, 10)
76127606
await clear_device_status()
76137607

76147608
# Clear error status (W1C)
@@ -7625,7 +7619,6 @@ async def set_err_ctrl(val):
76257619
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
76267620
overflow_data,
76277621
)
7628-
await ClockCycles(tb.clk, 50)
76297622

76307623
prot_err4 = await get_prot_error()
76317624
dut._log.info(f" PROT_ERROR=0x{prot_err4:02X} after overflow with det_en=1")
@@ -7650,7 +7643,6 @@ async def set_err_ctrl(val):
76507643
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
76517644
0x1,
76527645
)
7653-
await ClockCycles(tb.clk, 10)
76547646
await clear_device_status()
76557647

76567648
data, pec_ok = await recovery.command_read(

0 commit comments

Comments
 (0)