Hi,
Basically I have a block design where a MicroBlaze is connected to an AXI GPIO. Then, the AXI GPIO drives the inputs (except the clock of course) of a custom PWM generator I made.
In Vitis, I made C code that writes to the GPIO in order to set the inputs of my PWM generator. However, it seems that nothing is happening. I directed the output of the PWM to an LED in order to see if it is working. I can never see the LED 'on'. Even if out of reset, the pwm is supposed to be at high.
I think the main problem is relating to the AXI GPIO. I found the following link where someone suggests the AXI GPIO can only drive top level I/Os. https://electronics.stackexchange.com/questions/677156/how-to-place-connections-between-microblaze-and-custom-rtl-modules-in-vivado
Also, I checked the AXI GPIO product guide : AXI GPIO v2.0 Product Guide (PG144) • Viewer • AMD Adaptive Computing Documentation Portal (xilinx.com)
It says :
Can anyone confirm that my idea of using the GPIO to control an RTL module is indeed wrong?
If it is wrong, how can I do the functionality I want, I assume maybe create an AXI interface for my PWM generator?