From 2f881e154aaf3c6a75d93ba78262bd5437f32f2d Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Thu, 22 Jun 2023 19:16:09 -0700 Subject: [PATCH] Adjust testbench timeouts Signed-off-by: Alex Forencich --- .../example_core_pcie_ptile/test_example_core_pcie_ptile.py | 4 ++-- .../tb/example_core_pcie_s10/test_example_core_pcie_s10.py | 4 ++-- .../tb/example_core_pcie_us/test_example_core_pcie_us.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/common/tb/example_core_pcie_ptile/test_example_core_pcie_ptile.py b/example/common/tb/example_core_pcie_ptile/test_example_core_pcie_ptile.py index 6668724fe..5fe252662 100644 --- a/example/common/tb/example_core_pcie_ptile/test_example_core_pcie_ptile.py +++ b/example/common/tb/example_core_pcie_ptile/test_example_core_pcie_ptile.py @@ -301,7 +301,7 @@ async def dma_block_read_bench(tb, dev, addr, mask, size, stride, count): # start await dev_pf0_bar0.write_dword(0x001000, 1) - for k in range(100): + for k in range(1000): await Timer(1000, 'ns') run = await dev_pf0_bar0.read_dword(0x001000) status = await dev_pf0_bar0.read_dword(0x000000) @@ -366,7 +366,7 @@ async def dma_block_write_bench(tb, dev, addr, mask, size, stride, count): # start await dev_pf0_bar0.write_dword(0x001100, 1) - for k in range(100): + for k in range(1000): await Timer(1000, 'ns') run = await dev_pf0_bar0.read_dword(0x001100) status = await dev_pf0_bar0.read_dword(0x000000) diff --git a/example/common/tb/example_core_pcie_s10/test_example_core_pcie_s10.py b/example/common/tb/example_core_pcie_s10/test_example_core_pcie_s10.py index 92fa6e5d9..42ecf1924 100644 --- a/example/common/tb/example_core_pcie_s10/test_example_core_pcie_s10.py +++ b/example/common/tb/example_core_pcie_s10/test_example_core_pcie_s10.py @@ -249,7 +249,7 @@ async def dma_block_read_bench(tb, dev, addr, mask, size, stride, count): # start await dev_pf0_bar0.write_dword(0x001000, 1) - for k in range(100): + for k in range(1000): await Timer(1000, 'ns') run = await dev_pf0_bar0.read_dword(0x001000) status = await dev_pf0_bar0.read_dword(0x000000) @@ -314,7 +314,7 @@ async def dma_block_write_bench(tb, dev, addr, mask, size, stride, count): # start await dev_pf0_bar0.write_dword(0x001100, 1) - for k in range(100): + for k in range(1000): await Timer(1000, 'ns') run = await dev_pf0_bar0.read_dword(0x001100) status = await dev_pf0_bar0.read_dword(0x000000) diff --git a/example/common/tb/example_core_pcie_us/test_example_core_pcie_us.py b/example/common/tb/example_core_pcie_us/test_example_core_pcie_us.py index 832d58508..68775d8e1 100644 --- a/example/common/tb/example_core_pcie_us/test_example_core_pcie_us.py +++ b/example/common/tb/example_core_pcie_us/test_example_core_pcie_us.py @@ -342,7 +342,7 @@ async def dma_block_read_bench(tb, dev, addr, mask, size, stride, count): # start await dev_pf0_bar0.write_dword(0x001000, 1) - for k in range(100): + for k in range(1000): await Timer(1000, 'ns') run = await dev_pf0_bar0.read_dword(0x001000) status = await dev_pf0_bar0.read_dword(0x000000) @@ -407,7 +407,7 @@ async def dma_block_write_bench(tb, dev, addr, mask, size, stride, count): # start await dev_pf0_bar0.write_dword(0x001100, 1) - for k in range(100): + for k in range(1000): await Timer(1000, 'ns') run = await dev_pf0_bar0.read_dword(0x001100) status = await dev_pf0_bar0.read_dword(0x000000)