-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
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
How to interface with a VHDL module with Axi4 #311
Comments
Hi, Seems like you need to use the BlackBox feature : also, in the blackbox you can "normalize" the name of the axi signal via the Axi4SpecRenamer tool val myAxiBus = Axi4SpecRenamer(slave(Axi4Shared(axi_config))) |
I looked at Axi4SpecRenamer but I don't fully understand how it maps signals. To me, it seems to work by making assumptions about the original signal name. But what if the signal aren't named exactly like it assumed them to be ? Isn't there a way to connect signals like you would do it in VHDL: Edit: I guess what's troubling me is that my VHDL module already has an AXI interface and I don't understand how I should map it. |
Yes, you can define and then connect every in out one by one, you can also define a SpinalHDL AXI interface, and force the name of the signals one by one (myAxi.ar.address.setName("rawrr") |
Hi, I have a module written in VHDL which has an Axi4 interface and I would like to interface it with the Axi4 class of the SpinalHDL so I can use it inside the Vex. My question is: what are the steps I need to follow to do this ? As of now I created a SpinalHDL wrapper around the VHDL module. Then I created a class which instantiates this module and now I am trying to connect the VHDL ports to the corresponding class ports:
How can I say for instance that the writeData ports will be connected to the register-file ?
The text was updated successfully, but these errors were encountered: