Were installed Xilinx ISE 14.7 and Modelsim10.1a
Modelsim10.1a Download: https://pan.baidu.com/share/link?shareid=72194&uk=1795984406
Co-simulation steps
Select the project, right click and choose Design Properties, and then modify the Modelsim-SE Mixed in the simulator Simulator:
View section, select Simulation, click on the top project file, double-click Simulator Behavioral Model invoke modelsim co-simulation:
Emerging issues
Question 1
点击Simulate Behavioral Model后提示以下错误:
Model Technology’s vsim executable cannot be found by Project Navigator.Please go to the ‘Edit’menu,select’preferences’and then select the ‘Integrated tools’tab.Using this dialog select the ModelSim executable that you wish to use for simulation .Then try this Process again.
解决方法:
需要指定modelsim的安装位置。
在ISE中打开Edit/Preferences/Ise General/Integrated Tools/ Model Tech Simulator,
选择modelsim路径, 例如 D:\modeltech_10.1a\win32\modelsim.exe,问题解决。
问题2
点击Simulate Behavioral Model后提示以下错误:
解决方法:
(1)点击开始,Xilinx ISE Design Suite 14.7/EDK Tools/Compile Simulation Libraries。一直点击next,编译的library输出目录是: D:\Xilinx\14.7\ISE_DS\EDK ,编译需要比较长的时间。
编译开始:
编译完成:
(2)从Process菜单,选择Process Properties…,设置Compiled Libraey Directory:
(3)复制 D:/Xilinx/14.7/ISE_DS/EDK/modelsim.ini里的[Library]节中的下列行到 D:/modeltech_10.1a/modelsim.ini 里的 [Library] 节下:
secureip = D:\Xilinx\14.7\ISE_DS\EDK/secureip
unisim = D:\Xilinx\14.7\ISE_DS\EDK/unisim
unimacro = D:\Xilinx\14.7\ISE_DS\EDK/unimacro
unisims_ver = D:\Xilinx\14.7\ISE_DS\EDK/unisims_ver
unimacro_ver = D:\Xilinx\14.7\ISE_DS\EDK/unimacro_ver
simprim = D:\Xilinx\14.7\ISE_DS\EDK/simprim
simprims_ver = D:\Xilinx\14.7\ISE_DS\EDK/simprims_ver
xilinxcorelib = D:\Xilinx\14.7\ISE_DS\EDK/xilinxcorelib
xilinxcorelib_ver = D:\Xilinx\14.7\ISE_DS\EDK/xilinxcorelib_ver
uni9000_ver = D:\Xilinx\14.7\ISE_DS\EDK/uni9000_ver
cpld = D:\Xilinx\14.7\ISE_DS\EDK/cpld
cpld_ver = D:\Xilinx\14.7\ISE_DS\EDK/cpld_ver
edk = D:\Xilinx\14.7\ISE_DS\EDK/edk
问题3
ISE通过双击Simulator Behavioral Model调用modelsim进行仿真时出现以下错误:
Unable to checkout a viewer license necessary for use of the ModelSim graphical user interface. Vsim is closing.
** Solution: ** Modelsim can not open two windows, this error is due to have opened a window simulation, so the solution is to close the emulation window is already open.
Question 4
When Modelsim simulation, enter the run, you can run the simulation, but can not look at wave waveform window.
Solution:
This is the optimization problem. Click on the toolbar "simulate" button to bring up the start smulation window, the window hook before Enable optimization project lowermost optimization bar removed, and then select the emulation file, click OK, then everything is normal.