From 330d6f41fc8622cb5c02923ef6baf28740b7f19d Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Mon, 14 Aug 2023 16:59:14 -0700 Subject: [PATCH] Send more data in stress tests Signed-off-by: Alex Forencich --- tb/axis_async_fifo/test_axis_async_fifo.py | 2 +- tb/axis_async_fifo_adapter/test_axis_async_fifo_adapter.py | 2 +- tb/axis_fifo/test_axis_fifo.py | 2 +- tb/axis_fifo_adapter/test_axis_fifo_adapter.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tb/axis_async_fifo/test_axis_async_fifo.py b/tb/axis_async_fifo/test_axis_async_fifo.py index cf5448e64..8952edb04 100644 --- a/tb/axis_async_fifo/test_axis_async_fifo.py +++ b/tb/axis_async_fifo/test_axis_async_fifo.py @@ -498,7 +498,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None): test_frames = [] - for k in range(128): + for k in range(512): length = random.randint(1, byte_lanes*16) test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length)) test_frame = AxiStreamFrame(test_data) diff --git a/tb/axis_async_fifo_adapter/test_axis_async_fifo_adapter.py b/tb/axis_async_fifo_adapter/test_axis_async_fifo_adapter.py index 1a17e2808..80d4157e1 100644 --- a/tb/axis_async_fifo_adapter/test_axis_async_fifo_adapter.py +++ b/tb/axis_async_fifo_adapter/test_axis_async_fifo_adapter.py @@ -495,7 +495,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None): test_frames = [] - for k in range(128): + for k in range(512): length = random.randint(1, byte_lanes*16) test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length)) test_frame = AxiStreamFrame(test_data) diff --git a/tb/axis_fifo/test_axis_fifo.py b/tb/axis_fifo/test_axis_fifo.py index 026b34f00..63d9f98a9 100644 --- a/tb/axis_fifo/test_axis_fifo.py +++ b/tb/axis_fifo/test_axis_fifo.py @@ -284,7 +284,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None): test_frames = [] - for k in range(128): + for k in range(512): length = random.randint(1, byte_lanes*16) test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length)) test_frame = AxiStreamFrame(test_data) diff --git a/tb/axis_fifo_adapter/test_axis_fifo_adapter.py b/tb/axis_fifo_adapter/test_axis_fifo_adapter.py index f82b61951..2178970a8 100644 --- a/tb/axis_fifo_adapter/test_axis_fifo_adapter.py +++ b/tb/axis_fifo_adapter/test_axis_fifo_adapter.py @@ -284,7 +284,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None): test_frames = [] - for k in range(128): + for k in range(512): length = random.randint(1, byte_lanes*16) test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length)) test_frame = AxiStreamFrame(test_data)