Forum Discussion
sstrell
Super Contributor
11 months agoThe names don't seem to match (clk_clk in Pin Planner vs. clk_clk_in from the exported interface column in PD). Go to the Generate menu in PD and select Show Instantiation Template (even though you are not instantiating the system) to verify that the name for the signal is correct.
Also, instead of relying on a signal level for testing this in your code, you may want to count clock ticks in the processor (nticks). Nios software development documentation can help with this.
Asifa
New Contributor
11 months agoThe name of the signal is correct. I have attached the Instantiation template picture of PD. And still, I am struggling with the low clock speed toggling of the GPIO pins.