从ISE生成ModelSim仿真模型
标签:
isemodelsimnetgen |
在「从ISE中执行ModelSim仿真的过程」的第一图上的下拉选项上,有可进行仿真的Behavioral、Post-Translate、Post-Map、Post_Route四种方式可选。
http://s6/mw690/82fdcd93gx6DvVWBrQpb5&690
在选择View的Implementation视图时,就可以选择生成这四种仿真的模型:
http://s8/mw690/82fdcd93gx6DAU18Cd917&690
其生成的仿真文件目录为工程下的netgen(参见:有关NetGen生成的仿真模型):
生成仿真模型时执行的命令行语句可从工程目录下的扩展名为.cmd_log文件中看出,具体的例见下:
▶.Generate Post-Synthesis Simulation Model
▶.Generate Post-Translate Simulation Model
▶.Generate Post-Map Simulation Model
▶.Generate Post-Place & Route Simulation Model
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
后一篇:有关NetGen生成的仿真模型

加载中…