Testbench cleanup for cocotb 2.0

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-09-06 22:52:18 -07:00
parent 6c15d7d57d
commit 7136dddd0a
8 changed files with 28 additions and 92 deletions

View File

@@ -285,7 +285,7 @@ def cycle_pause():
return itertools.cycle([1, 1, 1, 0])
if cocotb.SIM_NAME:
if getattr(cocotb, 'top', None) is not None:
for test in [run_test_write, run_test_read]: