|
CIRCT 24.0.0git
|

Public Member Functions | |
| __init__ (self, AcceleratorConnection conn, acc, int width) | |
| int | expected (self, int offset) |
| int | accepted_count (self) |
| None | issue (self, List[Tuple[int, int]] reads) |
| None | check_responses (self, List[Tuple[int, int]] reads) |
Public Attributes | |
| width = width | |
| tuple | stride = (width + 7) // 8 |
| req = dut.ports[esiaccel.AppID("req")] | |
| gate = dut.ports[esiaccel.AppID("gate")] | |
| resp = dut.ports[esiaccel.AppID("resp")] | |
| accepted = dut.ports[esiaccel.AppID("accepted")] | |
| mem = hostmem.allocate(nbytes) | |
| data = _pattern(nbytes) | |
Definition at line 70 of file test_hostmem_read.py.
| tests.integration.test_hostmem_read._Dut.__init__ | ( | self, | |
| AcceleratorConnection | conn, | ||
| acc, | |||
| int | width ) |
Definition at line 72 of file test_hostmem_read.py.
| int tests.integration.test_hostmem_read._Dut.accepted_count | ( | self | ) |
Definition at line 95 of file test_hostmem_read.py.
References accepted.
| None tests.integration.test_hostmem_read._Dut.check_responses | ( | self, | |
| List[Tuple[int, int]] | reads ) |
Definition at line 105 of file test_hostmem_read.py.
References tests.integration.test_hostmem_read._as_int(), expected(), esiaccel.bsp.xrt.AXI_Lite_Read_Resp.resp, and resp.
| int tests.integration.test_hostmem_read._Dut.expected | ( | self, | |
| int | offset ) |
Definition at line 90 of file test_hostmem_read.py.
References circt::arc::runtime::FmtDescriptor::SmallLiteral.data, circt::FirRegLowering::RegCondition.data, circt::pretty::Token.data, circt::synth::Signal.data, CosimMMIO::MMIOCmd.data, DCTuple.data, esi::BitVector.data, esi::MessageData.data, esi::Segment.data, esiaccel.bsp.common.ESI_Manifest_ROM.data, esiaccel.bsp.xrt.AXI_Lite_Read_Resp.data, esiaccel.bsp.xrt.MMIOAxiReadWriteDemux.data, esiaccel.bsp.xrt.MMIOIntermediateCmd.data, HandshakeWire.data, InputHandshake.data, OutputHandshake.data, PipelineLowering::StageArgs.data, SerialCoordOutputFrame.data, StreamingAddResult.data, data, stride, circt::arc::runtime::FmtDescriptor::LiteralFmt.width, circt::bmc::BMCTrace::Signal.width, circt::datapath::CompressorTree.width, circt::esi::detail::ESIHWBuilder.width, circt::FirRegLowering::RegLowerInfo.width, circt::ScopedDebugPassLogger.width, esi::BitVectorType.width, LazyKoggeStonePrefixTree.width, and width.
Referenced by check_responses().
| None tests.integration.test_hostmem_read._Dut.issue | ( | self, | |
| List[Tuple[int, int]] | reads ) |
Definition at line 98 of file test_hostmem_read.py.
| tests.integration.test_hostmem_read._Dut.accepted = dut.ports[esiaccel.AppID("accepted")] |
Definition at line 79 of file test_hostmem_read.py.
Referenced by accepted_count().
| tests.integration.test_hostmem_read._Dut.data = _pattern(nbytes) |
Definition at line 87 of file test_hostmem_read.py.
Referenced by expected().
| tests.integration.test_hostmem_read._Dut.gate = dut.ports[esiaccel.AppID("gate")] |
Definition at line 77 of file test_hostmem_read.py.
| tests.integration.test_hostmem_read._Dut.mem = hostmem.allocate(nbytes) |
Definition at line 86 of file test_hostmem_read.py.
Referenced by issue().
| tests.integration.test_hostmem_read._Dut.req = dut.ports[esiaccel.AppID("req")] |
Definition at line 76 of file test_hostmem_read.py.
Referenced by issue().
| tests.integration.test_hostmem_read._Dut.resp = dut.ports[esiaccel.AppID("resp")] |
Definition at line 78 of file test_hostmem_read.py.
Referenced by check_responses().
| tests.integration.test_hostmem_read._Dut.stride = (width + 7) // 8 |
Definition at line 74 of file test_hostmem_read.py.
Referenced by expected(), and issue().
| tests.integration.test_hostmem_read._Dut.width = width |
Definition at line 73 of file test_hostmem_read.py.
Referenced by expected().