Forum Discussion
Can't simulate alt_dual_boot in ModelSim-Altera (Quartus 19.1)
- 5 years ago
Hi Armin,
You need to workaround by adding Verilog library above the VHDL library.
In the .do file of your project, add the lpm verilog library. To do this, search for the line that starts with vsim, add "-L lpm_ver" right before all the other libraries (you can see them in the same line as "-L altera -L lpm" etc.)
I hope this helps!
Nurina
Hi Armin,
Can you clarify what you mean- do you mean if there's a way we can include libraries in the simulation setup script just like how we do on NativeLink?
Thanks,
Nurina
- ArminSch5 years ago
New Contributor
Nuria,
probably I have a wrong understanding of NativeLink: my understanding is that NativeLink generates the required compilation script on-the-fly based on the actual included IPs, sources, etc.
As I have to manually add "-L lpm_ver" to the vsim command line, I can no longer use NativeLink but rather have to manually copy the generated script, edit it, and specify it as the compilation script.
My question is: is there any way to let NativeLink know that "-L lpm_ver" is required additionally in the vsim command line?
-armin