cocotb_wrapper.axi.AxiLiteRam#
- class cocotb_wrapper.axi.AxiLiteRam(bus_prefix, clk, rst, reset_active_level, size)[source]#
A Wrapper around cocotbext-axi AXI-Lite RAM.
Todo
Add a usage example.
Methods
disable()Disable the AXI-Lite RAM.
enable()Enable the AXI-Lite RAM.
hexdump(address, length[, prefix])Dump the content of the RAM to the stdout.
read(address, length)Read length bytes from address.
set_backpressure_generator(generator)Toggle pauses on the read bus lanes given a generator function.
set_idle_generator(generator)Toggle pauses on the write bus lanes given a generator function.
setup(dut)Setup the AXI-Lite RAM.
write(address, data)Write data to the address.