- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
We are investigating simulating NIOSII with Modelsim. We are using Quartus II 10.1sp1 web edition , modelsim ASE (Starter). I have created a NIOSII with SOPC and generated the sim file (through SOPC). Then I use ECLIPSE to generate a flashing LED. (It work on hardware). I am then trying to run configuration => Modelsim Configuration Modelsim ASE opens, but when I use the "s" command (Loads all design files into modelsim work library) , I was missing ALTERA_MF, SGATE, 220MODEL , I have included them (I found them on my computer at C:\altera\10.1sp1\modelsim_ase\altera\vhdl\) Now the tool seems happy with those lib added , but the Library lpm is not found .I have tried to add the path C:\altera\10.1sp1\quartus\libraries\vhdl\lpm (this is the only place on my computer that I can find the folder lpm). The tools tells me the lib is not available. The folder is there , with only one file in it : lpm_pack.vhd) 1) Why are all the file not included in my sim folder created by SOPC ? I can see others related simulation files in there but not Altera_mf...) 2) Any idea how I can keep going ? Is it related to the fact I am using the free version of the tools ? (Modesim starter , Quartus web ). Thanks a lot for your help. Regards BenoitLink Copied
10 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
look for a folder in the modelsim directory called 220model. That is the LPM library for modelsim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Tricky
Thanks for your reply. 220MODEL is included in my library path (add new lib...). I know there is files starting with lpm in there but none are lpm only. (lpm_abs, lpm_add_sub...) I have an on_chip_mem that refer to Library lpm : on_chip_mem.vhd (generated by SOPC) Library lpm use lpm.all; Modeslim tells me he cannot find it. : Library lpm not found. Regards Benoit- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when you map to the directory, you need to name the library as lpm, not 220model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot Tricky
It does the trick. Regards Ben- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ben,
I'm having the same problem as you concerning the lpm library not found. Could you please tell me the exact commands or steps you did to map to the lpm library? I'm trying to use Tricky's advice of renaming 220model to lpm but no luck so far. --- Quote Start --- Thanks a lot Tricky It does the trick. Regards Ben --- Quote End ---- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in modelsim - right click in the libraries window
goto new -> library select map to an existing library. Library name LPM find the 220model directory.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello mate,
Am using modelsim, but i still can't find the 220model folder..... any help please- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
The folder should be there (under your modelsim folder) x:\ ..\modelsim_ase\altera\vhdl\220model- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
its the modelsim pe student version......... i still cant find it mate.......... you said you installed it separately?.........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Modelsim_ase (Altera edition ) , all library are pre-compiled.
If I remember well (I use PE a long time ago with Xilinx ) , for PE you need to recompile the lib. The source of those lib should be under your altera folder: x:\ \altera\ \quartus\eda\sim_lib You compile them for the specific modelsim version you are using. I Can't remember the exact command (compile + mapping..) , but you should be able to find info if you Google it. Ben
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page