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

Subversion Repositories mod_mult_exp

[/] [mod_mult_exp/] [trunk/] [syn/] [XC3ES500/] [mod_exp/] [Makefile] - Blame information for rev 5

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 gajos
PROJECT=mont-exp
2
 
3
RM=/bin/rm -rf
4
CP=/bin/cp
5
 
6
PLATFORM=xc3s500e-fg320-5
7
 
8
XILINX_DIR="D:/Programy/Xilinx/14.2/ISE_DS/ISE/bin/nt64/"
9
XST_DIR=$(XILINX_DIR)"xst.exe"
10
NGDBUILD_DIR=$(XILINX_DIR)"ngdbuild.exe"
11
MAP=$(XILINX_DIR)"map.exe"
12
PAR=$(XILINX_DIR)"par.exe"
13
TRCE=$(XILINX_DIR)"trce.exe"
14
BITGEN=$(XILINX_DIR)"bitgen.exe"
15
 
16
clean: clean_postgen
17
        $(RM) "./out/"*.*
18
        $(RM) "./log/"*.*
19
        $(RM) "./out/"
20
        $(RM) "./log/"
21
 
22
clean_postgen:
23
        $(RM) "./_xmsgs"
24
        $(RM) "./_ngo"
25
        $(RM) "./xlnx_auto_0_xdb"
26
        $(RM) "./xst"
27
        $(RM) *_vhdl.prj *.bgn *.bld *.csv *.drc *.lso *.map *.mrp *.ncd *.ngc *.ngd *.ngm *.ngr *.pad *.par *.pcf *.ptwx *.syr *.twr *.twx *.unroutes *.xpi *.xwbt
28
 
29
synthesize: clean
30
        mkdir "./xst"
31
        mkdir "./xst/projnav.tmp"
32
        mkdir "./out/"
33
        mkdir "./log/"
34
 
35
        $(XST_DIR) -intstyle ise -ifn "./ModExp$(word).xst" -ofn "./ModExp.syr"
36
 
37
translate: synthesize
38
        $(NGDBUILD_DIR) -intstyle ise -dd _ngo -sd "../../../rtl/vhdl/mod_exp/blockMemory$(word)" -nt timestamp -i -p $(PLATFORM) "ModExp.ngc" ModExp.ngd
39
 
40
map: translate
41
        $(MAP) -intstyle ise -p $(PLATFORM) -cm area -ir off -pr off -c 100 -o ModExp_map.ncd ModExp.ngd ModExp.pcf
42
 
43
par: map
44
        $(PAR) -w -intstyle ise -ol high -t 1 ModExp_map.ncd ModExp.ncd ModExp.pcf
45
 
46
trce: par
47
        $(TRCE) -intstyle ise -v 3 -s 4 -n 3 -fastpaths -xml ModExp.twx ModExp.ncd -o ModExp.twr ModExp.pcf
48
 
49
bitgen: trce
50
        $(BITGEN) -intstyle ise -f ModExp.ut ModExp.ncd
51
 
52
postgen:
53
        mv *.log ./log
54
        mv *.xrpt ./log
55
        mv *.txt ./log
56
        mv *.xml ./log
57
        mv *.html ./log
58
        mv *.bit ./out

powered by: WebSVN 2.1.0

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