Skip to content

Commit 6d687bf

Browse files
Remove redundant waits in recovery_indirect_fifo_overflow test
Internal-tag: [#95734]
1 parent 42d99c0 commit 6d687bf

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
@@ -7463,7 +7463,6 @@ async def set_err_ctrl(val):
74637463
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
74647464
overflow_data,
74657465
)
7466-
await ClockCycles(tb.clk, 50)
74677466

74687467
prot_err = await get_prot_error()
74697468
dut._log.info(f" PROT_ERROR=0x{prot_err:02X} after overflow with det_en=1")
@@ -7486,7 +7485,6 @@ async def set_err_ctrl(val):
74867485
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
74877486
0x1,
74887487
)
7489-
await ClockCycles(tb.clk, 10)
74907488
await clear_device_status()
74917489

74927490
# Clear error status (W1C)
@@ -7503,7 +7501,6 @@ async def set_err_ctrl(val):
75037501
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
75047502
overflow_data,
75057503
)
7506-
await ClockCycles(tb.clk, 50)
75077504

75087505
prot_err2 = await get_prot_error()
75097506
dut._log.info(f" PROT_ERROR=0x{prot_err2:02X} after overflow with det_en=0")
@@ -7525,7 +7522,6 @@ async def set_err_ctrl(val):
75257522
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
75267523
0x1,
75277524
)
7528-
await ClockCycles(tb.clk, 10)
75297525
await clear_device_status()
75307526

75317527
# Clear error status (W1C)
@@ -7542,7 +7538,6 @@ async def set_err_ctrl(val):
75427538
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
75437539
overflow_data,
75447540
)
7545-
await ClockCycles(tb.clk, 50)
75467541

75477542
prot_err3 = await get_prot_error()
75487543
dut._log.info(f" PROT_ERROR=0x{prot_err3:02X} after overflow with det_en=0")
@@ -7565,7 +7560,6 @@ async def set_err_ctrl(val):
75657560
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
75667561
0x1,
75677562
)
7568-
await ClockCycles(tb.clk, 10)
75697563
await clear_device_status()
75707564

75717565
# Clear error status (W1C)
@@ -7582,7 +7576,6 @@ async def set_err_ctrl(val):
75827576
I3cRecoveryInterface.Command.INDIRECT_FIFO_DATA,
75837577
overflow_data,
75847578
)
7585-
await ClockCycles(tb.clk, 50)
75867579

75877580
prot_err4 = await get_prot_error()
75887581
dut._log.info(f" PROT_ERROR=0x{prot_err4:02X} after overflow with det_en=1")
@@ -7607,7 +7600,6 @@ async def set_err_ctrl(val):
76077600
tb.reg_map.I3C_EC.SECFWRECOVERYIF.INDIRECT_FIFO_CTRL_0.RESET,
76087601
0x1,
76097602
)
7610-
await ClockCycles(tb.clk, 10)
76117603
await clear_device_status()
76127604

76137605
data, pec_ok = await recovery.command_read(

0 commit comments

Comments
 (0)