cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
406 Views
Registered: ‎09-16-2019

Using MicroBlaze to read data from an RTL module

Hello,

I currently have a block design with an RTL module as part of the design. I also have a MicroBlaze processor in the design. I would like to be able to read data from an output of the RTL module from the MicroBlaze so I can access the data in a C program running on the MicroBlaze. Here is the basic data path (shown in red) I'm trying to implement in the block diagram:

what.png

 

What is the standard approach to accomplish this? 

Thank you

Tags (2)
0 Kudos
Reply
3 Replies
403 Views
Registered: ‎09-16-2019

I am reading UG1119 now as I've read that this is the easiest way to accomplish my goal. 

0 Kudos
Reply
johnmcd
Xilinx Employee
Xilinx Employee
357 Views
Registered: ‎02-01-2008

Either you need to add an axiLite interface (check Vivado Language Templates). Or, add a 32bit in and 32bit out port and connect them to an axi_gpio.

I've attached a simple axiLite regmap that is based on the hdl generated from IP Packager when creating an axiLite slave.

0 Kudos
Reply
356 Views
Registered: ‎09-16-2019

Thank you. I actually came up with a different solution that works for what I'm trying to do. I just added AXI_GPIO modules and connected them to my RTL modules. I tested on my development board and it that approach seems to work fine for my needs. 

0 Kudos
Reply