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

Subversion Repositories etherlab

[/] [etherlab/] [trunk/] [xilinx/] [Makefile] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 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 : etherlab.bit
28
        $(IMPACT) -batch upload.cmds
29
 
30
build :
31
        -@mkdir xst
32
        -@mkdir xst/projnav.tmp
33
        $(XST) -ifn etherlab.xst -ofn etherlab.syr -intstyle ise
34
        $(NGDBUILD) -intstyle ise -dd ngdbuild -nt timestamp -uc etherlab.ucf \
35
                -p xc3s500e-fg320-4 etherlab.ngc etherlab.ngd
36
        $(MAP) -intstyle ise -p xc3s500e-fg320-4 -cm area -ir off -pr off -c 100 \
37
                -o etherlab_map.ncd etherlab.ngd etherlab.pcf
38
        $(PAR) -w -intstyle ise -ol high -t 1 etherlab_map.ncd etherlab.ncd etherlab.pcf
39
        $(TRCE) -intstyle ise -v 3 -s 4 -n 3 -fastpaths -xml etherlab.twx etherlab.ncd \
40
                -o etherlab.twr etherlab.pcf -ucf etherlab.ucf
41
        $(BITGEN) -intstyle ise -f etherlab.ut etherlab.ncd
42
 
43
.PHONY: clean
44
clean :
45
        -@$(RM) *.bgn *.bld *.drc *.cmd_log *.lso *.ncd *.ngc *.ngd *.ngr *.pad \
46
                *.par *.pcf *.ptwx *.stx *.syr *.twr *.twx *.unroutes *.xpi *.xwbt \
47
                *.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.