diff --git a/tb/axis_baser_tx_64/test_axis_baser_tx_64.py b/tb/axis_baser_tx_64/test_axis_baser_tx_64.py index 1f522429b..8a746b98d 100644 --- a/tb/axis_baser_tx_64/test_axis_baser_tx_64.py +++ b/tb/axis_baser_tx_64/test_axis_baser_tx_64.py @@ -136,9 +136,12 @@ async def run_test_alignment(dut, payload_data=None, ifg=12): tb.dut.ifg_delay.value = ifg + await tb.reset() + for length in range(60, 92): - await tb.reset() + for k in range(10): + await RisingEdge(dut.clk) test_frames = [payload_data(length) for k in range(10)] start_lane = [] diff --git a/tb/axis_xgmii_tx_32/test_axis_xgmii_tx_32.py b/tb/axis_xgmii_tx_32/test_axis_xgmii_tx_32.py index 460043805..458c24f8b 100644 --- a/tb/axis_xgmii_tx_32/test_axis_xgmii_tx_32.py +++ b/tb/axis_xgmii_tx_32/test_axis_xgmii_tx_32.py @@ -121,9 +121,12 @@ async def run_test_alignment(dut, payload_data=None, ifg=12): tb.dut.ifg_delay.value = ifg + await tb.reset() + for length in range(60, 92): - await tb.reset() + for k in range(10): + await RisingEdge(dut.clk) test_frames = [payload_data(length) for k in range(10)] start_lane = [] diff --git a/tb/axis_xgmii_tx_64/test_axis_xgmii_tx_64.py b/tb/axis_xgmii_tx_64/test_axis_xgmii_tx_64.py index 10d8fa837..f80623a4e 100644 --- a/tb/axis_xgmii_tx_64/test_axis_xgmii_tx_64.py +++ b/tb/axis_xgmii_tx_64/test_axis_xgmii_tx_64.py @@ -125,9 +125,12 @@ async def run_test_alignment(dut, payload_data=None, ifg=12): tb.dut.ifg_delay.value = ifg + await tb.reset() + for length in range(60, 92): - await tb.reset() + for k in range(10): + await RisingEdge(dut.clk) test_frames = [payload_data(length) for k in range(10)] start_lane = [] diff --git a/tb/eth_mac_10g/test_eth_mac_10g.py b/tb/eth_mac_10g/test_eth_mac_10g.py index f78e24dee..85b794dd3 100644 --- a/tb/eth_mac_10g/test_eth_mac_10g.py +++ b/tb/eth_mac_10g/test_eth_mac_10g.py @@ -230,9 +230,12 @@ async def run_test_tx_alignment(dut, payload_data=None, ifg=12): tb.xgmii_source.ifg = ifg tb.dut.ifg_delay.value = ifg + await tb.reset() + for length in range(60, 92): - await tb.reset() + for k in range(10): + await RisingEdge(dut.tx_clk) test_frames = [payload_data(length) for k in range(10)] start_lane = [] diff --git a/tb/eth_mac_10g_fifo/test_eth_mac_10g_fifo.py b/tb/eth_mac_10g_fifo/test_eth_mac_10g_fifo.py index 09e1150c7..5d71bcce1 100644 --- a/tb/eth_mac_10g_fifo/test_eth_mac_10g_fifo.py +++ b/tb/eth_mac_10g_fifo/test_eth_mac_10g_fifo.py @@ -195,9 +195,12 @@ async def run_test_tx_alignment(dut, payload_data=None, ifg=12): tb.xgmii_source.ifg = ifg tb.dut.ifg_delay.value = ifg + await tb.reset() + for length in range(60, 92): - await tb.reset() + for k in range(10): + await RisingEdge(dut.tx_clk) test_frames = [payload_data(length) for k in range(10)] start_lane = [] diff --git a/tb/eth_mac_phy_10g/test_eth_mac_phy_10g.py b/tb/eth_mac_phy_10g/test_eth_mac_phy_10g.py index 769de6fae..15a7ed501 100644 --- a/tb/eth_mac_phy_10g/test_eth_mac_phy_10g.py +++ b/tb/eth_mac_phy_10g/test_eth_mac_phy_10g.py @@ -204,9 +204,12 @@ async def run_test_tx_alignment(dut, payload_data=None, ifg=12): tb.serdes_source.ifg = ifg tb.dut.ifg_delay.value = ifg + await tb.reset() + for length in range(60, 92): - await tb.reset() + for k in range(10): + await RisingEdge(dut.tx_clk) test_frames = [payload_data(length) for k in range(10)] start_lane = [] diff --git a/tb/eth_mac_phy_10g_fifo/test_eth_mac_phy_10g_fifo.py b/tb/eth_mac_phy_10g_fifo/test_eth_mac_phy_10g_fifo.py index aa6d8220c..7c85a624a 100644 --- a/tb/eth_mac_phy_10g_fifo/test_eth_mac_phy_10g_fifo.py +++ b/tb/eth_mac_phy_10g_fifo/test_eth_mac_phy_10g_fifo.py @@ -216,9 +216,12 @@ async def run_test_tx_alignment(dut, payload_data=None, ifg=12): tb.serdes_source.ifg = ifg tb.dut.ifg_delay.value = ifg + await tb.reset() + for length in range(60, 92): - await tb.reset() + for k in range(10): + await RisingEdge(dut.tx_clk) test_frames = [payload_data(length) for k in range(10)] start_lane = []