CIRCT 24.0.0git
Loading...
Searching...
No Matches
test_hostmem_read.py File Reference

Go to the source code of this file.

Classes

class  tests.integration.test_hostmem_read._Dut
class  tests.integration.test_hostmem_read.TestHostMemReadOneOutstanding
class  tests.integration.test_hostmem_read.TestHostMemReadFourOutstanding
class  tests.integration.test_hostmem_read.TestHostMemRead8
class  tests.integration.test_hostmem_read.TestHostMemRead512
class  tests.integration.test_hostmem_read.TestHostMemRead2048
class  tests.integration.test_hostmem_read.TestHostMemRead4096

Namespaces

namespace  tests
namespace  tests.integration
namespace  tests.integration.test_hostmem_read

Functions

 tests.integration.test_hostmem_read.read_frame_log (monkeypatch)
bytes tests.integration.test_hostmem_read._pattern (int num_bytes)
int tests.integration.test_hostmem_read._as_int (v)
int tests.integration.test_hostmem_read._wait_for_accepted (_Dut dut, int target, float timeout_s=30)
 tests.integration.test_hostmem_read._check_frames (expected_reads, bus_width)
None tests.integration.test_hostmem_read._run (AcceleratorConnection conn, int max_outstanding, int bus_width=64)

Variables

list tests.integration.test_hostmem_read.ELEMENT_WIDTHS = [24, 32, 96]
list tests.integration.test_hostmem_read.GATED_READS
list tests.integration.test_hostmem_read.STREAMED_READS = [(i * 7 % 50, 1 + i % 3) for i in range(24)]
int tests.integration.test_hostmem_read.BUFFER_ELEMENTS = 4096