mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Adjust testbench timeouts
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
4798f2162d
commit
2f881e154a
@ -301,7 +301,7 @@ async def dma_block_read_bench(tb, dev, addr, mask, size, stride, count):
|
|||||||
# start
|
# start
|
||||||
await dev_pf0_bar0.write_dword(0x001000, 1)
|
await dev_pf0_bar0.write_dword(0x001000, 1)
|
||||||
|
|
||||||
for k in range(100):
|
for k in range(1000):
|
||||||
await Timer(1000, 'ns')
|
await Timer(1000, 'ns')
|
||||||
run = await dev_pf0_bar0.read_dword(0x001000)
|
run = await dev_pf0_bar0.read_dword(0x001000)
|
||||||
status = await dev_pf0_bar0.read_dword(0x000000)
|
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
|
# start
|
||||||
await dev_pf0_bar0.write_dword(0x001100, 1)
|
await dev_pf0_bar0.write_dword(0x001100, 1)
|
||||||
|
|
||||||
for k in range(100):
|
for k in range(1000):
|
||||||
await Timer(1000, 'ns')
|
await Timer(1000, 'ns')
|
||||||
run = await dev_pf0_bar0.read_dword(0x001100)
|
run = await dev_pf0_bar0.read_dword(0x001100)
|
||||||
status = await dev_pf0_bar0.read_dword(0x000000)
|
status = await dev_pf0_bar0.read_dword(0x000000)
|
||||||
|
@ -249,7 +249,7 @@ async def dma_block_read_bench(tb, dev, addr, mask, size, stride, count):
|
|||||||
# start
|
# start
|
||||||
await dev_pf0_bar0.write_dword(0x001000, 1)
|
await dev_pf0_bar0.write_dword(0x001000, 1)
|
||||||
|
|
||||||
for k in range(100):
|
for k in range(1000):
|
||||||
await Timer(1000, 'ns')
|
await Timer(1000, 'ns')
|
||||||
run = await dev_pf0_bar0.read_dword(0x001000)
|
run = await dev_pf0_bar0.read_dword(0x001000)
|
||||||
status = await dev_pf0_bar0.read_dword(0x000000)
|
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
|
# start
|
||||||
await dev_pf0_bar0.write_dword(0x001100, 1)
|
await dev_pf0_bar0.write_dword(0x001100, 1)
|
||||||
|
|
||||||
for k in range(100):
|
for k in range(1000):
|
||||||
await Timer(1000, 'ns')
|
await Timer(1000, 'ns')
|
||||||
run = await dev_pf0_bar0.read_dword(0x001100)
|
run = await dev_pf0_bar0.read_dword(0x001100)
|
||||||
status = await dev_pf0_bar0.read_dword(0x000000)
|
status = await dev_pf0_bar0.read_dword(0x000000)
|
||||||
|
@ -342,7 +342,7 @@ async def dma_block_read_bench(tb, dev, addr, mask, size, stride, count):
|
|||||||
# start
|
# start
|
||||||
await dev_pf0_bar0.write_dword(0x001000, 1)
|
await dev_pf0_bar0.write_dword(0x001000, 1)
|
||||||
|
|
||||||
for k in range(100):
|
for k in range(1000):
|
||||||
await Timer(1000, 'ns')
|
await Timer(1000, 'ns')
|
||||||
run = await dev_pf0_bar0.read_dword(0x001000)
|
run = await dev_pf0_bar0.read_dword(0x001000)
|
||||||
status = await dev_pf0_bar0.read_dword(0x000000)
|
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
|
# start
|
||||||
await dev_pf0_bar0.write_dword(0x001100, 1)
|
await dev_pf0_bar0.write_dword(0x001100, 1)
|
||||||
|
|
||||||
for k in range(100):
|
for k in range(1000):
|
||||||
await Timer(1000, 'ns')
|
await Timer(1000, 'ns')
|
||||||
run = await dev_pf0_bar0.read_dword(0x001100)
|
run = await dev_pf0_bar0.read_dword(0x001100)
|
||||||
status = await dev_pf0_bar0.read_dword(0x000000)
|
status = await dev_pf0_bar0.read_dword(0x000000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user