首先下载ISE12.x版本的库编译补丁compxlib_modelsim_10.zip
1.使用命令行
1》windows cmd命令下进入$env(XILINX)\bin\nt($env(XILINX)表示xilinx安装的目录)
2》cmd运行下列命令
compxlib -s mti_se -arch all -l all -dir d:\xilinx_libs -w
2.使用Simulation Library Compilation Wizard工具
第一项中的cfg文件选择编译补丁里面的cfg文件