mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-09 17:08:38 -08:00
example/ADM_PCIE_9V3: Testbench cleanup
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -46,7 +46,8 @@ class TB:
|
|||||||
self.qsfp_sources = []
|
self.qsfp_sources = []
|
||||||
self.qsfp_sinks = []
|
self.qsfp_sinks = []
|
||||||
|
|
||||||
for ch in list(dut.qsfp_0_mac_inst.ch)+list(dut.qsfp_1_mac_inst.ch):
|
for inst in [dut.qsfp_0_mac_inst, dut.qsfp_1_mac_inst]:
|
||||||
|
for ch in inst.ch:
|
||||||
cocotb.start_soon(Clock(ch.ch_inst.tx_clk, 2.56, units="ns").start())
|
cocotb.start_soon(Clock(ch.ch_inst.tx_clk, 2.56, units="ns").start())
|
||||||
cocotb.start_soon(Clock(ch.ch_inst.rx_clk, 2.56, units="ns").start())
|
cocotb.start_soon(Clock(ch.ch_inst.rx_clk, 2.56, units="ns").start())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user