Altera_Forum
Honored Contributor
12 years agoAdding a library to Quartus II 14 (web) and ModelSim ASE
All:
I'm running Quartus II 14 Web Edition and ModelSim 10.1E (Windows 8.1); both installed without issue and I have been successfully using both. I spent many hours yesterday and today googling, checking this forum, and reading the Mentor Graphics ModelSim Reference Manual (10.1E), trying to learn the steps needed to add new libraries. I've seen pieces of the puzzle supplied, but haven't seen anything similar to a full answer. Ok, so here is what I'm trying to do: as a test, I want to add standard_additions.vhd to the list of available libraries. (Later, I envision adding my own parts library/libraries as I gain experience and develop my own parts.) Here is what I think I've learned: 1. Any library added (at least to ModelSim) must be compiled. 2. The basic workflow is: vlib (create/initialize the library storage locations); vcom (compile the library source into the storage created by vlib). 3. I think there is a refresh/update step, but I'm unclear on exactly how this is done. My first attempts at this were "not very good" :( (I haven't figured out how to make ModelSim (for example) "get out of" the work location into a global location.) I've examined the directory structures of ... /altera/14.0/modelsime_ase/vhdl_src ..., etc. ... /altera/14.0/quartus/library ..., etc. and think that I understand the src and compiled locations of the libraries in ModelSim, and the source-only locations (I think) in quartus. The questions that remain are: 1. Is there a step-by-step tutorial that someone can recommend? So far, finding one has eluded me! 2. Even if I am finally able to successfully add a library to Quartus, how do I ensure that it is compatible with ModelSim (and vice-versa)? I'm assuming I'll use the same source for both, but what is "best practice" here? Thanks much! Dave