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

Subversion Repositories layer2

[/] [layer2/] [trunk/] [xilinx/] [Makefile] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 idiolatrie
#------------------------------------------------------------------------------#
2
# Xilinx Makefile                                                              #
3
#------------------------------------------------------------------------------#
4
# Copyright (C) 2012 Mathias Hoertnagl, mathias.hoertnagl@gmail.com            #
5
#                                                                              #
6
# This program is free software; you can redistribute it and/or modify it      #
7
# under the terms of the GNU General Public License as published by the Free   #
8
# Software Foundation; either version 3 of the License, or (at your option)    #
9
# any later version.                                                           #
10
# This program is distributed in the hope that it will be useful, but WITHOUT  #
11
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or        #
12
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for     #
13
# more details.                                                                #
14
# You should have received a copy of the GNU General Public License along with #
15
# this program; if not, see .                    #
16
#------------------------------------------------------------------------------#
17
TOOL_DIR = /cygdrive/c/Xilinx/13.1/ISE_DS/ISE/bin/nt/
18
 
19
XST = $(TOOL_DIR)xst.exe
20
NGDBUILD = $(TOOL_DIR)ngdbuild.exe
21
MAP = $(TOOL_DIR)map.exe
22
PAR = $(TOOL_DIR)par.exe
23
TRCE = $(TOOL_DIR)trce.exe
24
BITGEN = $(TOOL_DIR)bitgen.exe
25
IMPACT = $(TOOL_DIR)impact.exe
26
 
27
upload : layer2.bit
28 5 idiolatrie
        $(IMPACT) -batch upload.cmds
29 4 idiolatrie
 
30 5 idiolatrie
prom : layer2.bit
31
        $(IMPACT) -batch prom.cmds
32 4 idiolatrie
 
33 5 idiolatrie
build :
34 9 idiolatrie
        -@mkdir xst
35
        -@mkdir xst/projnav.tmp
36 4 idiolatrie
        $(XST) -ifn layer2.xst -ofn layer2.syr -intstyle ise
37
        $(NGDBUILD) -intstyle ise -dd ngdbuild -nt timestamp -uc layer2.ucf \
38
                -p xc3s500e-fg320-4 layer2.ngc layer2.ngd
39
        $(MAP) -intstyle ise -p xc3s500e-fg320-4 -cm area -ir off -pr off -c 100 \
40
                -o layer2_map.ncd layer2.ngd layer2.pcf
41
        $(PAR) -w -intstyle ise -ol high -t 1 layer2_map.ncd layer2.ncd layer2.pcf
42
        $(TRCE) -intstyle ise -v 3 -s 4 -n 3 -fastpaths -xml layer2.twx layer2.ncd \
43
                -o layer2.twr layer2.pcf -ucf layer2.ucf
44
        $(BITGEN) -intstyle ise -f layer2.ut layer2.ncd
45
 
46
.PHONY: clean
47
clean :
48
        -@$(RM) *.bgn *.bld *.drc *.cmd_log *.lso *.ncd *.ngc *.ngd *.ngr *.pad \
49
                *.par *.pcf *.ptwx *.stx *.syr *.twr *.twx *.unroutes *.xpi *.xwbt \
50 5 idiolatrie
                *.map *.mrp *.xrpt *.csv *.txt *.xml *.html *.log *.ngm *.prm *.cfi *.sig

powered by: WebSVN 2.1.0

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