Forum Discussion

Jacob11's avatar
Jacob11
Icon for Occasional Contributor rankOccasional Contributor
3 years ago
Solved

Nios 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...
  • Jacob11's avatar
    Jacob11
    3 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