微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 板主求救,有关modelsim 与ISE的仿真

板主求救,有关modelsim 与ISE的仿真

时间:10-02 整理:3721RD 点击:
modelsim is the 5.7d version
--======================================================
vlib simprim
vmap simprimD:/Xilinx/vhdl/src/simprims
vcom -work simprim D:/Xilinx/vhdl/src/simprims/simprim_Vcomponents.vhd
vcom -work simprim D:/Xilinx/vhdl/src/simprims/simprim_Vpackage.vhd
vcom -work simprim D:/Xilinx/vhdl/src/simprims/simprim_VITAL.vhd
vcom -work simprim D:/Xilinx/vhdl/src/simprims/simprim_SMODEL.vhd
--=================================================================
generate the simprim library, it succeed
--=================================================================
vlib unisim
vmap unisimD:/Xilinx/vhdl/src/unisims
vcom -work unisimD:/Xilinx/vhdl/src/unisims/unisim_VCOMP.vhd
vcom -work unisimD:/Xilinx/vhdl/src/unisims/unisim_VPKG.vhd
vcom -work unisimD:/Xilinx/vhdl/src/unisims/unisim_VITAL.vhd
vcom -work unisimD:/Xilinx/vhdl/src/unisims/unisim_SMODEL.vhd
--==============================================================
generate the unisim library, but it failed

板主求救,有关modelsim 与ISE的仿真
how the modelsim to induce the synplify library

板主求救,有关modelsim 与ISE的仿真
你可以试试直接把unisim当work库来编译,做完后把库的名字改成unisim,然后修改一下ini文件的映射就可以了。这个坛子里有不少关于库的编译的帖子,你可以翻翻看,方法有很多种。
你楼上那个帖子说要包括synplify的库是什么意思?综合器的库对于仿真意义不是太大。

板主求救,有关modelsim 与ISE的仿真

vlib $lib_dir
vmap simprim $lib_dir
vlog-worksimprim $source_dir/glbl.v
vlog-worksimprim $source_dir/top_translate.v
vlog-worksimprim $time_dir/timescale.v
vlog-worksimprim $sti_dir/tb.v
vlog-worksimprim $sti_dir/inrom_sti.v
vlog-worksimprim $sti_dir/waveform.v
--error imply ================================
# ** Warning: (vsim-PLI-3003) waveform.v(31): [TOFD] - System task or function '$log' is not defined.
#Region: /u_wave
# ** Error: (vsim-3043) top_translate.v(1945): Unresolved reference to 'glbl' in glbl.GSR.
#Region: /top
# ** Error: (vsim-3043) top_translate.v(2136): Unresolved reference to 'glbl' in glbl.GTS.
#Region: /top

板主求救,有关modelsim 与ISE的仿真
modelsim支持的verilog系统函数是有限的$log不一定支持,这个可以查modelsim的帮助列表。
glbl的问题可以查看精华区关于后仿真的帖子。

板主求救,有关modelsim 与ISE的仿真
sdf and .edif
how to simulation
can you tell me the script?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top