ise_flow.bat
来自「ISE MIG1.6 生成的DDR SDRAM控制器代码(含TESHBENCH)」· Batch 代码 · 共 50 行
BAT
50 行
@echo off
rem echo foundation_ise
goto foundation_iseTool
:foundation_iseTool
echo insidexst
md ..\synth\__projnav > ise_flow_results.txt
md ..\synth\xst\work >> ise_flow_results.txt
xst -ifn xst_run.txt -ofn mem_interface_top.syr -intstyle ise >> ise_flow_results.txt
ngdbuild -intstyle ise -dd ../synth/_ngo -nt timestamp -uc mem_interface_top.ucf -p xc4vsx35-ff668-12 mem_interface_top.ngc mem_interface_top.ngd >> ise_flow_results.txt
map.exe >> ise_flow_results.txt
map -intstyle ise -p xc4vsx35-ff668-12 -timing -ol high -t 1 -cm area -ignore_keep_hierarchy -pr b -k 4 -o mem_interface_top_map.ncd mem_interface_top.ngd mem_interface_top.pcf
par.exe >> ise_flow_results.txt
par -w -intstyle ise -pl high -rl high -t 1 mem_interface_top_map.ncd mem_interface_top.ncd mem_interface_top.pcf
trce -intstyle ise -e 3 -l 3 -s -12 -xml mem_interface_top mem_interface_top.ncd -o mem_interface_top.twr mem_interface_top.pcf >> ise_flow_results.txt
bitgen -intstyle ise -f mem_interface_top.ut mem_interface_top.ncd
goto end
:synplicityTool
echo insidsynplicity
synplify_pro -batch ../synth/script.tcl
set XIL_ROUTE_ENABLE_DATA_CAPTURE=1
ngdbuild -intstyle ise -dd _ngo -nt timestamp -uc mem_interface_top.ucf -p xc4vsx35-ff668-12 "../synth/mem_interface_top.edf" mem_interface_top.ngd >> ise_flow_results.txt
map -intstyle ise -p xc4vsx35-ff668-12 -timing -ol high -t 1 -cm area -ignore_keep_hierarchy -pr b -k 4 -o mem_interface_top_map.ncd mem_interface_top.ngd mem_interface_top.pcf >> ise_flow_results.txt
par -w -intstyle ise -pl high -rl high -t 1 mem_interface_top_map.ncd mem_interface_top.ncd mem_interface_top.pcf >> ise_flow_results.txt
trce -intstyle ise -e 3 -l 3 -s -12 -xml mem_interface_top mem_interface_top.ncd -o mem_interface_top.twr mem_interface_top.pcf
bitgen -intstyle ise -f mem_interface_top.ut mem_interface_top.ncd
goto end
:Tool
echo "Synthesis tool not specified. default is xst"
pause
md ..\synth\__projnav > ise_flow_results.txt
md ..\synth\xst\work >> ise_flow_results.txt
xst -ifn xst_run.txt -ofn mem_interface_top.syr -intstyle ise >> ise_flow_results.txt
ngdbuild -intstyle ise -dd ../synth/_ngo -nt timestamp -uc mem_interface_top.ucf -p xc4vsx35-ff668-12 mem_interface_top.ngc mem_interface_top.ngd >> ise_flow_results.txt
map.exe >> ise_flow_results.txt
map -intstyle ise -p xc4vsx35-ff668-12 -timing -ol high -t 1 -cm area -ignore_keep_hierarchy -pr b -k 4 -o mem_interface_top_map.ncd mem_interface_top.ngd mem_interface_top.pcf
par.exe >> ise_flow_results.txt
par -w -intstyle ise -pl high -rl high -t 1 mem_interface_top_map.ncd mem_interface_top.ncd mem_interface_top.pcf
trce -intstyle ise -e 3 -l 3 -s -12 -xml mem_interface_top mem_interface_top.ncd -o mem_interface_top.twr mem_interface_top.pcf >> ise_flow_results.txt
bitgen -intstyle ise -f mem_interface_top.ut mem_interface_top.ncd
:end
echo done!
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?