I have been using ISE10.1.03. for simulation.
After upgrading to ISE 13.1, I am receiving the following error in ModelSim.
All 13.1 simulation libraries have been successfully compiled with CompXlib.
How can I resolve this?
This error occurs because the old (10.1.03i) glbl.v was compiled and loaded.
PLL_LOCKG is defined in the 13.1 glbl.v, but not in the old one.
If you are using a simulation DO script generated by Coregen, make sure that your $XILINX environment variable points to the desired version.
NOTE: Starting from 12.1, the installer does not set global environment variables as it previously did.
If $XILINX is referenced as part of the pathname of glbl.v, (for example $env(XILINX)/verilog/src/glbl.v), you will have to either manually modify $XILINX to 13.1 or replace it with the full name in the simulation script.