Forum Discussion
Altera_Forum
Honored Contributor
10 years agoActually, I pulled up a Riviera Pro simulation I'm running(in Q15.0) and it's added this way:
vlog $USER_DEFINED_COMPILE_OPTIONS "$QUARTUS_INSTALL_DIR/eda/sim_lib/altera_lnsim.sv" -work altera_lnsim So maybe as the message says of adding -v2k5. Seems strange. Just a guess. And to totally confuse you, I did a search on altera_lnsim.v, and in a 13.1 version of the simulation section of the Quartus handbook, I found: VCS and VCS MX Guidelines The following guidelines apply to simulating Quartus II designs in the VCS or VCS MX software: ■ Do not specify the -v option for altera_lnsim.sv because it defines a systemverilog package. ■ Add -verilog and +verilog2001ext+.v options to make sure all .v files are compiled as verilog 2001 files, and all other files are compiled as systemverilog I know this is for a different simulator, but thought I'd mention it.