Line | |
---|
1 | |
---|
2 | rem Clean up the results directory |
---|
3 | rmdir /S /Q results |
---|
4 | mkdir results |
---|
5 | |
---|
6 | rem Synthesize the VHDL Wrapper Files |
---|
7 | |
---|
8 | |
---|
9 | echo 'Synthesizing example design with XST'; |
---|
10 | xst -ifn xst.scr |
---|
11 | copy mem8k8_top.ngc .\results\ |
---|
12 | |
---|
13 | |
---|
14 | rem Copy the netlist generated by Coregen |
---|
15 | echo 'Copying files from the netlist directory to the results directory' |
---|
16 | copy ..\..\mem8k8.ngc results\ |
---|
17 | |
---|
18 | |
---|
19 | rem Copy the constraints files generated by Coregen |
---|
20 | echo 'Copying files from constraints directory to results directory' |
---|
21 | copy ..\example_design\mem8k8_top.ucf results\ |
---|
22 | |
---|
23 | cd results |
---|
24 | |
---|
25 | echo 'Running ngdbuild' |
---|
26 | ngdbuild -p xc7a100t-csg324-3 mem8k8_top |
---|
27 | |
---|
28 | echo 'Running map' |
---|
29 | map mem8k8_top -o mapped.ncd -pr i |
---|
30 | |
---|
31 | echo 'Running par' |
---|
32 | par mapped.ncd routed.ncd |
---|
33 | |
---|
34 | echo 'Running trce' |
---|
35 | trce -e 10 routed.ncd mapped.pcf -o routed |
---|
36 | |
---|
37 | echo 'Running design through bitgen' |
---|
38 | bitgen -w routed |
---|
39 | |
---|
40 | echo 'Running netgen to create gate level VHDL model' |
---|
41 | netgen -ofmt vhdl -sim -tm mem8k8_top -pcf mapped.pcf -w routed.ncd routed.vhd |
---|
Note: See
TracBrowser
for help on using the repository browser.