AR# 17903


ModelSim (SE/PE) - Verilog Swift ModelSim: "System task or function '$lm_model' is not defined"


When simulating my design containing Swift models in Verilog, the following message occurs:

"System task or function '$lm_model' is not defined"


This message occurs because the veriuser variable needs to be set in the "modelsim.ini" file. To fix this issue, uncomment out the veriuser variable in the "model.ini" file and set it to the following:

veriuser = $MODEL_TECH/libswiftpli.dll

For more details on setting up Swift models, see (Xilinx Answer 14019).
AR# 17903
Date 01/16/2012
Status Archive
Type General Article
People Also Viewed