Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

cycloneii_asmiblock not found

Altera_Forum
Honored Contributor II
1,639 Views

I'm using a Cyclone 3 FPGA (small one). I used the MegaWizard to create the ALTASMI_PARALLEL component. I want to use this so I can program the EPCS4 serial memory from my external CPU. 

I need to simulate my logic that is used to write data in and out to the ASMI block. The logic synthesizes correctly, but when I send it out to Modelsim to see how it works I get the following error: 

 

** Error: (vsim-3033) C:/altera_designs/fpga_factory_config/asmi.v(330): Instantiation of 'cycloneii_asmiblock' failed. The design unit was not found. 

 

So what is missing? Where can I find cycloneii_asmiblock?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
911 Views

I see where the cycloneii_asmiblock is in the libraries. Now all I need to figure out is how to use Nativelink to tell it to use that library. 

I see the -L cycloneiii_ver reference in the verilog.do file in my design. But it keeps getting overwritten by Quartus all the time. I tried putting the library reference into the Settings for Libraries and Simulation > Nativelink Settings, but nothing seems to work. 

 

Anyone have experience with using a library that is outside of your design (and not one of the defaults it uses)?
0 Kudos
Altera_Forum
Honored Contributor II
911 Views

I am not fully aware of how you have set this up. I use a stand alone version of modelsim. I have to compile all the libs into modelsim to get my simulations working. This involves compiling all the quartus eda libs into modelsim. I have attached a script that I found on the altera website. You just need to change the file extension to .tcl and run it from within modelsim when you have your project open. You run it from 'tools' > TCL >execute macro.  

 

You also need to edit the tcl file to set the path to where your quartus version lives. I think its on the first or second line of the file 

 

When you simulate your design ' start simulation', go to the 'others' tab and type in the 'other vsim option' box  

 

-L cycloneii 

 

This is how I would do it 

 

C
0 Kudos
Reply