Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17247 Discussions

Errors simulating NiosII in ModelSim

Altera_Forum
Honored Contributor II
1,147 Views

I'm trying to work through AN#351 'Simulating NiosII Embedded Processor Designs', using web editions of Quartus II 8.0 and ModelSim 6.1g. I have a Cyclone III so I used the "standard NIOS" from that instead of the suggested StratixII one. Apart from that everything seemed OK. 

 

But when it comes to launch ModelSim and run the 's' macro, I get a very large number of errors similar to those shown below at the end of this message. 

 

Does anyone have any ideas ? 

 

Looks like maybe an environment variable has not been set up properly. 

 

Sample Error: 

# Loading work.test_bench# ** Error: (vsim-19) Failed to access library 'altgxb_ver' at "altgxb_ver".# No such file or directory. (errno = ENOENT)# ** Error: (vsim-19) Failed to access library 'stratixgx_ver' at "
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
450 Views

 

--- Quote Start ---  

I'm trying to work through AN#351 'Simulating NiosII Embedded Processor Designs', using web editions of Quartus II 8.0 and ModelSim 6.1g. I have a Cyclone III so I used the "standard NIOS" from that instead of the suggested StratixII one. Apart from that everything seemed OK. 

 

But when it comes to launch ModelSim and run the 's' macro, I get a very large number of errors similar to those shown below at the end of this message. 

 

Does anyone have any ideas ? 

 

Looks like maybe an environment variable has not been set up properly. 

 

Sample Error: 

# Loading work.test_bench# ** Error: (vsim-19) Failed to access library 'altgxb_ver' at "altgxb_ver".# No such file or directory. (errno = ENOENT)# ** Error: (vsim-19) Failed to access library 'stratixgx_ver' at " 

--- Quote End ---  

 

 

It appears to me that at some place in your simulation there is still references to StratixII devices. So check your entire design if that is really the case. Check your project settings as to what device your project is using. Compile the entire project once (this will tell you if there are any references to the devices other than Cyclone III). If you are not using ModelSim AE, add Cyclone III libraries to the simulator.
0 Kudos
Reply