In certain cores, the statement:
is missing, and, as such, my simulator errors and states that it is missing libraries. What can I do?
The uselib command is not part of the Verilog Language Reference Manual (LRM), and, as such, it did not allow for complete industry simulator support, so it was removed from EDK IP cores.
To work around this issue, you will need to manually enforce a library search order.For ModelSim, use the "-L" flag to add the libraries when you call the simulator,similar to the following:
vsim -L xilinxcorelib_ver -L unisims_ver -L secureip (...)
This issue should not occur when simulation libraries have been pre-compiled by the compxlib utility.