02-27-2020 06:33 AM
I am trying to write something from PL to AXI_reg peripheral and then read it though the ARM and do further processing in SDK.
i have no idea how to do that.
i followed a tutorial.
But it didnt work.
if anyone can point me in the right direction.
thanks in advance for any help
02-28-2020 02:17 AM
Hello @osmaan_khan , tutorial you linked must work! For accessing the Custom AXI IP register you need to create a slave AXI IP, goto its register and connect it with your wire. What are the error you get at following the tutorial linked by you? You might have attached the screenshot or error details here!
Here are few good reference for learning about "creating basic IP with HDL and adding it on VIVADO IP ripo".
For VHDL: Check Section 4A "Creating IP in VHDL" of Zynq Book Tutorials, and you can also download the source files from the website.
For Verilog: Creating custom IP in Verilog : Tutorial
Hope these helps! If it solves your issue then accept it as solution!
02-28-2020 03:43 AM
thats the thing. It does not give out ay errors at all.
i mean if i write a constant value to these registers.It works fine.
But if i tie it to the input wire,nothing gets written on it.
02-28-2020 03:45 AM
Let's hope Xilinx fixes the IP created by "Create and Package new IP" soon. For the past three years, the AXI slaves created that way have had a bug within them that will hang your design. (i.e. two requests received + a little bit of backpressure -> only one response generated)
02-28-2020 03:51 AM
02-28-2020 04:10 AM
I cant share the code.But ,i ll tell you whats happening.
I get 8 inputs from the PL.and i want to write them to a register an then read them back to ARM and do further processing in C.
But,when i perform memory read in XSCT cosnsole ,noting is written on those locations.
I have confirmed that the inputs are available with the help of ILA.But,it never gets to the slave regs.
Thanks guys for the quick responses.I ll post back if i fix it.
02-28-2020 04:15 AM