Trying to recompile sim libraries for MAX 10 under quartus 21.1
I saw another question, essentially the same question but different hardware, relating to recompiling the sim libraries to perform simulation. Anytime you recompile these libraries, it reaches down into protected IP and appears to get "Macro `<protected> is undefined" finally followed by a syntax error. The files I get this on appear in the $(QUARTUS_ROOTDIR)/eda/sim_lib/mentor/fiftyfivenm_atoms_ncrypt.v file. I suspect, however, since there are MORE files in this directory which contain protected IP, that I will ALSO get this error for those (and have when I moved the above file as a test), on those files as well. So how do I either EXCLUDE protected IP from this compilation, or get Quartus to figure out how to use the protected IP?
I'm running Quartus 21.1 (it also happens on the latest Quartus, so this isn't the problem as far as I can tell, and I am using 21.1 because it was the last version that seemed to officially support the MAX10) on Ubuntu 20.04. I've tried the latest version of the simulation tools combined with this version of Quartus as well, but it appears that protected IP can't be ignored and can't be simulated? Maybe there is someone who can point me in a direction where I can get a resolution to this, because I can't even simulate a trivial single AND gate without resolving this. I believe the command that is failing is the following:
vlog -work fiftyfivenm_ver -vlog0lcompat path_to_fiftyfivenm_atoms_ncrypt.v
It then says Macro `<protected> is undefined (two times)
then: syntax error in protected region
then: Syntax error found in the scope following `<protected>' Is there a missing '::'?
I can't provide the project here as the system I'm using Quartus on *IS NOT* connected to the internet. So please don't ask. Besides, I suspect there is something wrong with the setup since I can't simulate even a signal AND gate design plucked down with the schematic editor (so the tool wrote all of the code here and it STILL doesn't work).
Regards.