Forum Discussion
23 Replies
- KennyT_altera
Super Contributor
Thanks for your screenshot attached,
can you remove the AXI interface first and check on the signal tap? This will help to narrow down whether the problem is coming from the AXI.
- 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
- KennyT_altera
Super Contributor
You can follow this youtube https://www.youtube.com/watch?v=v6rhbVABlo8
- KennyT_altera
Super Contributor
Can u send us some screenshot on the failure? Where do you see the improper data when u read access the on chip ram.
- SKuma36
Occasional Contributor
Hi, I've attached the QSYS connectivity details, SOPCINFO file and SignalTap snapshot file showing the read access from the onchip memory via AXI interface. Also I have shared below the code snippet used for onchip memory write. In the SignalTap snapshot, you can see we are receiving same data (E5F6A2B3A1B2C3D4) for two clock cycles. But the expected data is E5F6A2B3A1B2C3D4 and A3B4C5D6C4D5E6F7. Code snippet: //ON-CHIP Memory write temp=0x1000; IOWR_32DIRECT(0x00000000,temp,0xa1b2c3d4); temp=0x1004; IOWR_32DIRECT(0x00000000,temp,0xe5f6a2b3); temp=0x1008; IOWR_32DIRECT(0x00000000,temp,0xc4d5e6f7); temp=0x100c; IOWR_32DIRECT(0x00000000,temp,0xa3b4c5d6); rgds, sunil - KennyT_altera
Super Contributor
Did you attached the signal tap snapshot? I cant see it from my side. Btw, you have all your timing close right?
- SKuma36
Occasional Contributor
- SKuma36
Occasional Contributor
Hi, PFA the SignalTap snapshot. BTW, the bitstream is timing closed. Also I have shared the QSYS connectivity diagram. Could you pl. check and confirm if the connections are fine? Rgds, sunil - KennyT_altera
Super Contributor
I did not receive any diagram from the Qsys, I have send you the request seperately, you can check your inbox.
- SKuma36
Occasional Contributor
- SKuma36
Occasional Contributor
Hi, How do I share the files? Do I need to reply to this mail or login to community forums? Rgds, sunil - SKuma36
Occasional Contributor
Hi, I have attached the following files along with this mail. Pl. check if you are able to receive it. 1. SOPCINFO file 2. SignalTap snapshot 3. Qsys system connectivity diagram Rgds, sunil - KennyT_altera
Super Contributor
Also, why do you want to add an AXI bridge? Both of the NIOS and RAM are using the avalon interface.