1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Adjust testbench timeouts

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich 2023-06-22 19:16:09 -07:00
parent 4798f2162d
commit 2f881e154a
3 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)