quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): (vlog-2163) Macro `<protected> is un
When compiling the sim lib file quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v which is included with my Quartus Prime Pro 24.3, I see this failure:
# vlog -reportprogress 300 -sv -suppress 13338 /data/opt/intelFPGA_pro/24.1/quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v
# ** Error: /data/opt/intelFPGA_pro/24.1/quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): (vlog-2163) Macro `<protected> is undefined.
# ** Error: /data/opt/intelFPGA_pro/24.1/quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): (vlog-2163) Macro `<protected> is undefined.
# ** Error: /data/opt/intelFPGA_pro/24.1/quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): (vlog-2163) Macro `<protected> is undefined.
# ** Error: /data/opt/intelFPGA_pro/24.1/quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): (vlog-2163) Macro `<protected> is undefined.
# ** Error: (vlog-13069) /data/opt/intelFPGA_pro/24.1/quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): syntax error in protected region.
#
# ** Error: /data/opt/intelFPGA_pro/24.1/quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): (vlog-13205) Syntax error found in the scope following '<protected>'. Is there a missing '::'?
I get this failure in Questa Base 2024 and Modelsim DE 2022.
Could you help to resolve this problem, please?
Hello Sheng,
This appears to most likely be a problem with my computer: I am running Ubuntu 22.04.
The files compile fine if I install questa in a docker container running Ubuntu 22.04, just not on my desktop. I wondered if it might be a difference in gcc, but gcc -v returns the same thing on the bad computer and on the docker container: gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04).
I will ask Siemens if there is anything that might cause this to go wrong.
Can you give any insight on what's on line 40? This and the other _ncrypyt.v files from Quartus and Quartus Pro behave the same way (e.g. fiftyfivenm_atoms_ncrypt.v, cyclonev_atoms_ncrypt.v), but all of my plaintext source files work OK.
Thanks,
Gavin