OpenCores
URL https://opencores.org/ocsvn/pcie_sg_dma/pcie_sg_dma/trunk

Subversion Repositories pcie_sg_dma

[/] [pcie_sg_dma/] [branches/] [Virtex6/] [ML605_ISE13.3/] [ipcore_dir_ISE13.3/] [v6_pcie_v1_7_x4/] [implement/] [implement.sh] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 barabba
#!/bin/sh
2
 
3
# Clean up the results directory
4
rm -rf results
5
mkdir results
6
 
7
#Synthesize the Wrapper Files
8
echo 'Synthesizing example design with XST';
9
xst -ifn xilinx_pcie_2_0_ep_v6.cmd -ofn xilinx_pcie_2_0_ep_v6.log
10
 
11
cp xilinx_pcie_2_0_ep_v6.log xst.srp
12
 
13
 
14
if [ -f xilinx_pcie_2_0_ep_v6.ngc ]; then netgen -sim -ofmt vhdl -w -tm xilinx_pcie_2_0_ep_v6 xilinx_pcie_2_0_ep_v6.ngc
15
fi
16
cp xilinx_pcie_2_0_ep_v6.ngc ./results/
17
 
18
 
19
rm -rf *.mgo xlnx_auto_0_xdb xlnx_auto_0.ise netlist.lst smart
20
 
21
 
22
 
23
cd results
24
 
25
echo 'Running ngdbuild'
26
ngdbuild -verbose -uc ../../example_design/xilinx_pcie_2_0_ep_v6_04_lane_gen1_xc6vlx240t-ff1156-1_ML605.ucf xilinx_pcie_2_0_ep_v6.ngc -sd .
27
 
28
 
29
echo 'Running map'
30
map -u -timing -ol high -xe c -o mapped.ncd \
31
  -t 1 \
32
  xilinx_pcie_2_0_ep_v6.ngd \
33
  mapped.pcf
34
 
35
echo 'Running par'
36
par -ol high -xe c -w mapped.ncd \
37
  routed.ncd \
38
  mapped.pcf
39
 
40
echo 'Running trce'
41
trce -u -v 100 \
42
  routed.ncd \
43
  mapped.pcf
44
 
45
#echo 'Running design through netgen'
46
netgen -sim -ofmt vhdl -w -tm xilinx_pcie_2_0_ep_v6 routed.ncd
47
 
48
echo 'Running design through bitgen'
49
bitgen -w routed.ncd
50
 
51
echo 'Generating PROM file for programming'
52
promgen -w -p mcs -x xcf128x -data_width 16 -o ./ML605.mcs -u 0 ./routed.bit

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.