Forum Discussion

SteveRiley's avatar
SteveRiley
Icon for New Contributor rankNew Contributor
3 years ago
Solved

Modelsim - greybox netlist file

I followed the quick start guide and the example project (ModelSim* - Intel® FPGA Edition
Simulation Quick-Start) and it work fine as outlined.
Using this as a template on a different project, the Greybox netlist files (ip_name.v) are missing from the ip directory. They were included in the example project.

How are the Greybox netlist files created (residing in the ip directory) to follow the detailed outlined in the Quick-Start guide?

  • SteveRiley's avatar
    SteveRiley
    3 years ago

    In the above, I did not regenerate the library (launching the simulation library compiler). After doing so, the correct path names were present and the simulator was properly launched. Now that I have Modelsim running, I need to figure out why the generated IP's simulation files are not working. Example is a simple PLL, where the clock out is not toggling.

21 Replies

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

    Sheng,

    Trying your method of not including the "greybox".v files in the Modelsim script file, it appears that Modelsim does attempt to open a simulation file, but the subdirectory for the file Modelsim attempts to read does not exist. See below:

    The directory: ../qdr_d_ddio/altera_gpio_core20_191/ was never created by the IP generator. The directory ../qdr_d_ddio/altera_gpio_core20_2000 was created.

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

      In the above, I did not regenerate the library (launching the simulation library compiler). After doing so, the correct path names were present and the simulator was properly launched. Now that I have Modelsim running, I need to figure out why the generated IP's simulation files are not working. Example is a simple PLL, where the clock out is not toggling.

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

      Forgot to add Kudo's. Thanks to both of you for your help.