Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

EDA Simulation Libray Compiler errors when compiling "altera_lnsim_for_vhdl.sv"

I want to compile simulation libraries for both RTL and gate-level simulation. Errors occur when compiling file "altera_lnsim_for_vhdl.sv" .

I am sure that the file does exist. Is there any errors in it?

ModelSim : SE 6.5c

Quartus: 11.0 SP1 Full Version

Error Messages:

Error:# ** Error: c:/altera/11.0/quartus/eda/sim_lib/mentor/altera_lnsim_for_vhdl.sv(26): Missing '`pragma protect ????_block encoding'

Error:# ** Error: c:/altera/11.0/quartus/eda/sim_lib/mentor/altera_lnsim_for_vhdl.sv(27): Pragma protect keyword expected

Error:# ** Error: c:/altera/11.0/quartus/eda/sim_lib/mentor/altera_lnsim_for_vhdl.sv(30): A key_method must be specified.

Error:# ** Error: c:/altera/11.0/quartus/eda/sim_lib/mentor/altera_lnsim_for_vhdl.sv(30): near ",": syntax error, unexpected ',', expecting "class"

Info:# 1

Info: Library compilation terminated due to error in compilation( D:/modeltech_6.5c/win32/vlog failed. )

Error: Compilation was NOT successful. 4 errors, 0 warnings

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    just a guess...

    the file in question contains the line:

    `pragma protect encrypt_agent = "Model Technology", encrypt_agent_info = "6.6c"
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I checked the file and found that:

    LINE27: `pragma protect encrypt_agent = "Model Technology", encrypt_agent_info = "6.6c"

    ModelSim 6.6c needed.....