I'm trying to add a prebuilt PWM peripheral to the FPGA fabric in Qsys and control it through a C program in the FPGA Monitor University Proram. The goal is to run a bare-metal system without Linux.
For some reason everything I try seems to be failing... I could use some pointers to get me started in the right direction.
Is this prebuilt PWM peripheral done in Platform Designer level?
Do you have a software library for this PWM?
If it is through Platform Designer, we should make sure this custom component is functional and there is no timing violation in Quartus project.
Furthermore, we can use SignalTap tool to debug in details what is happening between this IP and Nios II.