Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

How to fix "the design unit was not found" in modelsim simulation?

hi,all

When i simulate "PCI Express in Qsys Example Designs"the example, i encountered the problem "error loading disign". I command this steps

1.download the pack "C4gx_pcie_Qsys_msgdma", and unpack the zip file.

2. use QSYS to open the project, modify the testbench to "Stand BFM" item and use verilog in generate tab.

3.generatre the files successfully.

4.change directory to "...\testbench\mentor"

5 type "do msim_setup.tcl" in modelsim command line.

6 command "ld_debug"

So the problem is appearing like this "Error: (vsim-3033) ./..//q_sys_tb/simulation/submodules/q_sys_altmemddr_0_phy_alt_mem_phy.v(2759): Instantiation of 'cycloneiii_ddio_out' failed. The design unit was not found."

Would anybody like to help me to fix the problem? Thanks

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hey there,

    Im not sure what the solution to your problem, but this article here might help:

    (I cant post a URL because Im so new to the forums, but search these forums for "How to add path to Modelsim to correct "the design unit was not found"?")

    Regards,

    Nathan
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Seem like it does not compile one of the libary files...can you check whether the msim_setup.tcl compile cycloneiii_atom_models?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Im just an intern here for a few more weeks, but I can give it a shot.

    Which device design files are you using?