I have a Zedboard and I have loaded a Linux OS on it. I'm wondering how I can implement an AXI master custom IP to write to memory-mapped registers (e.g. for configuration purpose). I tried to implement an AXI master IP block to write the specific registers through the GPIO slave interface on the PS. I provided target address and value to be written in the Verilog code for the IP. The write event is initiated by pressing a button on the board. Currently, when I press the button, the OS goes into a deadlock state. My questions are as follows:
(1) Can I use the AXI master IP and GPIO connection to write to a memory-mapped register? Do I need to also implement an interrupt (I'm guessing missing an interrupt mechanism is my problem but not sure)?
(2) Do I actually have to use a DMA controller to fulfill the task instead of using the GPIO slave interface?
In any case, does anyone have a tutorial for how to implement an AXI master custom IP to write to memory-mapped registers? I've found a lot about AXI slave IP but can't find something about AXI master IP. Thanks in advance.
Question
soha
Hi,
I have a Zedboard and I have loaded a Linux OS on it. I'm wondering how I can implement an AXI master custom IP to write to memory-mapped registers (e.g. for configuration purpose). I tried to implement an AXI master IP block to write the specific registers through the GPIO slave interface on the PS. I provided target address and value to be written in the Verilog code for the IP. The write event is initiated by pressing a button on the board. Currently, when I press the button, the OS goes into a deadlock state. My questions are as follows:
(1) Can I use the AXI master IP and GPIO connection to write to a memory-mapped register? Do I need to also implement an interrupt (I'm guessing missing an interrupt mechanism is my problem but not sure)?
(2) Do I actually have to use a DMA controller to fulfill the task instead of using the GPIO slave interface?
In any case, does anyone have a tutorial for how to implement an AXI master custom IP to write to memory-mapped registers? I've found a lot about AXI slave IP but can't find something about AXI master IP. Thanks in advance.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.