Skip to content

Commit a1e8c57

Browse files
committed
verification: cocotb: top: lib_i3c_top: test_ibi: Adjusted names of refuse_retry and pending_read_notification tests
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
1 parent 133d210 commit a1e8c57

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

verification/cocotb/top/lib_i3c_top/test_ibi.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ async def test_ibi_accept_partial_no_repeat(dut):
294294

295295
await tb.teardown()
296296

297-
async def _test_ibi_refuse_retry(dut, retry_num):
297+
async def _refuse_retry(dut, retry_num):
298298
"""
299299
Sec 5.1.6.2 item 2: Refuse IBI sweep over all retry_num values.
300300
Counts exact bus-level attempts via NACK counting.
@@ -378,9 +378,9 @@ async def _test_ibi_refuse_retry(dut, retry_num):
378378

379379

380380
# Use TestFactory to parameterize over all retry values
381-
tf_retry = TestFactory(_test_ibi_refuse_retry)
381+
tf_retry = TestFactory(_refuse_retry)
382382
tf_retry.add_option("retry_num", list(range(8)))
383-
tf_retry.generate_tests(prefix="test_ibi_refuse_retry_sweep_")
383+
tf_retry.generate_tests(prefix="test_ibi")
384384

385385

386386
# =============================================================================
@@ -686,7 +686,7 @@ async def test_ibi_initiation_bus_available_vs_start(dut):
686686

687687
await tb.teardown()
688688

689-
async def _test_ibi_pending_read_notification(dut, read_len, ibi_extra_bytes=0):
689+
async def _pending_read_notification(dut, read_len, ibi_extra_bytes=0):
690690
"""
691691
Sec 5.1.6.2.2: IBI with Pending Read Notification MDB (IGI=101),
692692
followed by Private Read to consume data.
@@ -745,10 +745,10 @@ async def _test_ibi_pending_read_notification(dut, read_len, ibi_extra_bytes=0):
745745
await ClockCycles(tb.clk, 10)
746746

747747

748-
tf_prn = TestFactory(_test_ibi_pending_read_notification)
748+
tf_prn = TestFactory(_pending_read_notification)
749749
tf_prn.add_option("read_len", [0, 1, 4])
750750
tf_prn.add_option("ibi_extra_bytes", [0, 3])
751-
tf_prn.generate_tests(prefix="test_ibi_pending_read_notification_")
751+
tf_prn.generate_tests(prefix="test_ibi")
752752

753753

754754
# =============================================================================

0 commit comments

Comments
 (0)