cocotb_wrapper.axi.AxiStreamSource#
- class cocotb_wrapper.axi.AxiStreamSource(bus_prefix, tdata_width_bits, clk, rst, reset_active_level)[source]#
A wrapper class around cocotbext-axi AXI-Stream source.
Todo
Add a usage example.
- Parameters:
- __init__(bus_prefix, tdata_width_bits, clk, rst, reset_active_level)[source]#
Initialize an instance.
Methods
disable()Disable the AXI-Stream source.
enable()Enable the AXI-Stream source.
set_pause_generator(generator)Toggle pauses on the bus given a generator function.
setup(dut)Setup the AXI-Stream source.
write(frame_data[, event])Write an AXI-Stream frame.