Forum Discussion
Jacob11
Occasional Contributor
4 years agoNios II PIO Stimulus input signals for simulation with Modelsim/questasim
Hi guys,
It is my first post, so apologies if I leave out something important.
I have created a very simple Nios II environment with 2 buttons button as a PIO input width 2, and leds as a PIO o...
- 4 years ago
Hello Sheng. Thank you for the response.
I solved it. The code is fine, but providing stimulus signals needs to be done in modelsim with the FORCE command.
http://www.pldworld.com/_hdl/2/_ref/se_html/manual_html/c_vcmds87.html
I was able to create a macro file(.do) which switches this stimulus repeatedly during the simulation.
Thank you,
Jacob
ShengN_altera
Super Contributor
4 years agoHi Jacob,
Also can use forever, always or repeat statements in testbench just in case you don't want to use FORCE command.
Btw glad to hear that your issue has been resolved. I'll now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Thank you.
Best Regards,
Sheng