Forum Discussion
23 Replies
- SKuma36
Occasional Contributor
Hi, Our hardware controller has AXI Master interface, hence we are using the AXI bridge to connect to the Avalon interface of the on-chip memory. Do you see any issue with this? Rgds, sunil - KennyT_altera
Super Contributor
The bridge that you are using uses AHB, which means there are 3 conversion happening avalon -> AHB -> axi
Are you sure you using the correct bridge?
As mention, can you remove the bridge temporally to make the test so that we can Isolate those issue are comming out from the bridge.
- SKuma36
Occasional Contributor
Hi, Our controller has both AHB slave as well as AXI Master interface. So the bridge component that we created in the QSYS system has both AHB and AXI interfaces. AHB interface is used to access our Controller’s internal registers from NIOS II processor. AXI interface is used to access the on-chip memory from our controller AHB interface works fine, we are able to read/write to our Controller’s internal registers from NIOS II processor. The issue is seen with AXI interface, when we do a read access to on-chip memory from our controller, we are not getting back the data properly. So removing the bridge will not help in our testing. Do you have any other suggestion on how to connect the AXI interface form our controller to the Avalon interface of the on-chip memory? Rgds, sunil- SKuma36
Occasional Contributor
Hi,
I've captured the system connectivity details between NIOS II CPU and our Custom IP controller in the attached diagram. Could you pl. check and let us know if anything needs to be corrected?
rgds,
sunil
- KennyT_altera
Super Contributor
I can see that your axi slave is exported out from the qsys. Which means your controller is a standalone design? Can you try to make your controller to put in the qsys design?
- KennyT_altera
Super Contributor
The reason to do that is to let the qsys to decide whether addition adapter need to be added. By exporting out the interface, qsys will not be identify what is happening outside.
- SKuma36
Occasional Contributor
Hi, Our controller is a huge design with hundreds of modules. How to put it inside the Qsys design? Could you pl. give us some idea? Rgds, sunil - SKuma36
Occasional Contributor
Hi, Thanks, will go through the youtube video. But to connect NIOS II CPU & On-chip memory with our standalone controller design, we created one bridge component in QSYS. Pl. refer to the attached diagram. Will this not work? Rgds, sunil - KennyT_altera
Super Contributor
It should be fine, what you need to check is the interconnect whether it is make sense.
You can refer to https://www.youtube.com/watch?v=LdD2B1x-5vo
It teaches you how to check the interconnect.
- SKuma36
Occasional Contributor
Hi, I went through both the youtube videos. As per the first video only, we had created a bridge component and instantiated in the QSYS design. The second video talks about the interconnect components being used. I did check the same in our design, could see various components being used to convert from Avalon to AHB as well as Avalon to AXI interfaces. I’m not sure what to check exactly in this as I am not familiar with these interconnect components. Is there anything specific I need to check? Rgds, sunil