-
-
Notifications
You must be signed in to change notification settings - Fork 214
/
build.bat
45 lines (37 loc) · 2.36 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
echo "---------------------------------------------------------------"
echo " Generating Xilinx IP Core 1/7 ... "
echo "---------------------------------------------------------------"
coregen -p ipcore_dir -b ipcore_dir/s6_pcie_v2_4.xco
echo "---------------------------------------------------------------"
echo " Generating Xilinx IP Core 2/7 ... "
echo "---------------------------------------------------------------"
coregen -p ipcore_dir -b ipcore_dir/fifo_256_32.xco
echo "---------------------------------------------------------------"
echo " Generating Xilinx IP Core 3/7 ... "
echo "---------------------------------------------------------------"
coregen -p ipcore_dir -b ipcore_dir/fifo_64_32.xco
echo "---------------------------------------------------------------"
echo " Generating Xilinx IP Core 4/7 ... "
echo "---------------------------------------------------------------"
coregen -p ipcore_dir -b ipcore_dir/fifo_34_34_deep.xco
echo "---------------------------------------------------------------"
echo " Generating Xilinx IP Core 5/7 ... "
echo "---------------------------------------------------------------"
coregen -p ipcore_dir -b ipcore_dir/fifo_34_34.xco
echo "---------------------------------------------------------------"
echo " Generating Xilinx IP Core 6/7 ... "
echo "---------------------------------------------------------------"
coregen -p ipcore_dir -b ipcore_dir/fifo_32_64.xco
echo "---------------------------------------------------------------"
echo " Generating Xilinx IP Core 7/7 ... "
echo "---------------------------------------------------------------"
coregen -p ipcore_dir -b ipcore_dir/fifo_32_32_deep.xco
echo "---------------------------------------------------------------"
echo " BUILDING PROJECT ... "
echo "---------------------------------------------------------------"
xtclsh pcileech_sp605.tcl rebuild_project
echo "---------------------------------------------------------------"
echo " GENERATE MCS FILE ... "
echo "---------------------------------------------------------------"
promgen -w -p mcs -c FF -o pcileech -s 8192 -u 0000 pcileech_top.bit -spi