加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

从ISE生成ModelSim仿真模型

(2013-10-18 10:05:41)
标签:

ise

modelsim

netgen

在「从ISE中执行ModelSim仿真的过程」的第一图上的下拉选项上,有可进行仿真的Behavioral、Post-Translate、Post-Map、Post_Route四种方式可选。
http://s6/mw690/82fdcd93gx6DvVWBrQpb5&690

在选择View的Implementation视图时,就可以选择生成这四种仿真的模型:
http://s8/mw690/82fdcd93gx6DAU18Cd917&690



其生成的仿真文件目录为工程下的netgen(参见:有关NetGen生成的仿真模型):
模拟类型 输出目录 输出目录下生成文件 工程目录下生成文件

Generate Post-Synthesis Simulation Model netgen/synthesis xxx_synthesis.vhd
xxx_synthesis.nlf
xxx.ngc
Generate Post-Translate Simulation Model netgen/translate xxx_translate.vhd
xxx_translate.nlf
xxx.ngd
Generate Post-Map Simulation Model netgen/map xxx_map.vhd
xxx_map.sdf
xxx_map.nlf
xxx.ncd
Generate Post-Place & Route Simulation Model netgen/par xxx_timesim.vhd
xxx_timesim.sdf
xxx_timesim.nlf
xxx.ncd


生成仿真模型时执行的命令行语句可从工程目录下的扩展名为.cmd_log文件中看出,具体的例见下:
▶.Generate Post-Synthesis Simulation Model
①.xst -intstyle ise -ifn "C:/project_dir/xx_xxxxx.xst" -ofn "C:/project_dir/xx_xxxxx.syr" 

②.netgen -intstyle ise -ar Structure -tm xx_xxxxx -w -dir netgen/synthesis -ofmt vhdl -sim xx_xxxxx.ngc xx_xxxxx_synthesis.vhd

▶.Generate Post-Translate Simulation Model
①.ngdbuild -intstyle ise -dd _ngo -nt timestamp -i -p xc3s200-ft256-4 xx_xxxxx.ngc xx_xxxxx.ngd

②.netgen -intstyle ise -rpw 100 -tpw 0 -ar Structure -tm xx_xxxxx -w -dir netgen/translate -ofmt vhdl -sim xx_xxxxx.ngd xx_xxxxx_translate.vhd

▶.Generate Post-Map Simulation Model
①.map -intstyle ise -p xc3s200-ft256-4 -cm area -ir off -pr off -c 100 -o xx_xxxxx_map.ncd xx_xxxxx.ngd xx_xxxxx.pcf

②.netgen -intstyle ise -s 4 -pcf xx_xxxxx.pcf -rpw 100 -tpw 0 -ar Structure -tm xx_xxxxx -w -dir netgen/map -ofmt vhdl -sim xx_xxxxx_map.ncd xx_xxxxx_map.vhd

▶.Generate Post-Place & Route Simulation Model
①.par -w -intstyle ise -ol high -t 1 xx_xxxxx_map.ncd xx_xxxxx.ncd xx_xxxxx.pcf

②.trce -intstyle ise -v 3 -s 4 -n 3 -fastpaths -xml xx_xxxxx.twx xx_xxxxx.ncd -o xx_xxxxx.twr xx_xxxxx.pcf

③.netgen -intstyle ise -s 4 -pcf xx_xxxxx.pcf -rpw 100 -tpw 0 -ar Structure -tm xx_xxxxx -insert_pp_buffers true -w -dir netgen/par -ofmt vhdl -sim xx_xxxxx.ncd xx_xxxxx_timesim.vhd

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有