We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I implemented an AXI Slave based on the documentation:
from cocotbext.axi import AxiBus, AxiSlave, MemoryRegion axi_slave = AxiSlave(AxiBus.from_prefix(dut, "m_axi"), dut.clk, dut.rst) region = MemoryRegion(2**axi_slave.read_if.address_width) axi_slave.target = region
However it did not work for me, the axi_slave target was None. I invoked AxiSlave function inside a class and I did:
from cocotbext.axi import AxiBus, AxiSlave, MemoryRegion class Test(): .... self.region = MemoryRegion(2**32) self.axi_slave = AxiSlave(AxiBus.from_prefix(dut, "m_axi"), dut.clk, dut.rst, target=self.region)
Maybe you want to consider this issue on the documentation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I implemented an AXI Slave based on the documentation:
However it did not work for me, the axi_slave target was None. I invoked AxiSlave function inside a class and I did:
Maybe you want to consider this issue on the documentation.
The text was updated successfully, but these errors were encountered: