mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-14 18:58:40 -08:00
Testbench cleanup for cocotb 2.0
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -134,7 +134,7 @@ def cycle_en():
|
||||
return itertools.cycle([0, 0, 0, 1])
|
||||
|
||||
|
||||
if cocotb.SIM_NAME:
|
||||
if getattr(cocotb, 'top', None) is not None:
|
||||
|
||||
for test in [run_test_rx, run_test_tx]:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user