Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Argh, that's a horrible thing to do :) Do you rebuild the lpm library, and altera_mf library, etc., every time you run Modelsim? No of course you don't. How then does Modelsim Altera know about these libraries ... through the magic of library mappings. Think of Modelsim libraries as shared object libraries, like a DLL or .so file. When you build a C program or C++ program, you link against the shared library, you do not build it each time. The same analogy holds for Modelsim libraries (whether the language be VHDL or Verilog - VHDL just happens to be more specific about their use). --- Quote End --- Why? Of course I do not recompile every .DLL (most often we do not have the source anyway ...) I too like the CC_Data_Types as the name of the library better, but I can live with the work-surrogate, as the package in question is only predefined types, procedures and functions and not 'actual' RTL. Normally I do timing simulation anyhow (using the internal Quartus simulator or now ModelSim) but I figured that RTL simulation might run faster so I tried to solve the 'missing package'. As we don't have to do a full compile for RTL simulation I might switch to another editor (very probably Sigasi) and then use the script method to run ModelSim. Regards, Josy