Forum Discussion

Lisze's avatar
Lisze
Icon for New Contributor rankNew Contributor
2 days ago

Problem in running Questa with Testbench

I have saved the testbench within the Addern.v file (attached). I can launch Questa from Quartus. But there are no inputs and outputs in the Objects window in Questa, as shown below:

 

Please advice what went wrong. Thank you.

 

3 Replies

  • As a starting point, I recommend following the steps and example design provided in the user guide to familiarize yourself with the simulation flow:

    https://docs.altera.com/r/docs/703090/21.1/questa-intel-fpga-edition-quick-start-intel-quartus-prime-standard-edition/questa-intel-fpga-edition-simulation-quick-start-intel-quartus-prime-standard-edition?contentId=Ji3cTMv3yN78urty1lwAVw

    Once you have the example design running successfully, try applying the same flow to your own project. This will help verify that the simulation environment is set up correctly and make it easier to identify any project-specific issues.
     

    Regards,
    Richard Tan

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    What steps have you followed in Quartus to get to this point?  Script generation, etc.

    And there's no file attached to see what your testbench looks like.

    If you're doing it manually, you have to manually add objects after compiling in Questa.

    • Lisze's avatar
      Lisze
      Icon for New Contributor rankNew Contributor

      I use testbench script in Addern.v (attached). I thought I have attached it earlier. I'm sorry.