Forum Discussion
quartus/eda/sim_lib/mentor/cyclone10gx_hssi_atoms_ncrypt.v(40): (vlog-2163) Macro `<protected> is un
- 1 year ago
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
I tried a bit more debugging on this, on the particular computer I was using, the active-diretcory setup was causing problems for the user I was logged in as. The problem was when logged in as an AD user, winbind libraries were getting called: libwinbind-client.so.0.
I ended up using docker to fix things. For me, letting docker use my x server was OK, so this worked for me:
xhost +local:docker
docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix...
with the above, I can still use Questa in interactive mode.