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

Subversion Repositories layer2

[/] [layer2/] [trunk/] [xilinx/] [Makefile] - Diff between revs 5 and 9

Only display areas with differences | Details | Blame | View Log

Rev 5 Rev 9
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Xilinx Makefile                                                              #
# Xilinx Makefile                                                              #
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Copyright (C) 2012 Mathias Hoertnagl, mathias.hoertnagl@gmail.com            #
# Copyright (C) 2012 Mathias Hoertnagl, mathias.hoertnagl@gmail.com            #
#                                                                              #
#                                                                              #
# This program is free software; you can redistribute it and/or modify it      #
# This program is free software; you can redistribute it and/or modify it      #
# under the terms of the GNU General Public License as published by the Free   #
# under the terms of the GNU General Public License as published by the Free   #
# Software Foundation; either version 3 of the License, or (at your option)    #
# Software Foundation; either version 3 of the License, or (at your option)    #
# any later version.                                                           #
# any later version.                                                           #
# This program is distributed in the hope that it will be useful, but WITHOUT  #
# This program is distributed in the hope that it will be useful, but WITHOUT  #
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or        #
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or        #
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for     #
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for     #
# more details.                                                                #
# more details.                                                                #
# You should have received a copy of the GNU General Public License along with #
# You should have received a copy of the GNU General Public License along with #
# this program; if not, see .                    #
# this program; if not, see .                    #
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
TOOL_DIR = /cygdrive/c/Xilinx/13.1/ISE_DS/ISE/bin/nt/
TOOL_DIR = /cygdrive/c/Xilinx/13.1/ISE_DS/ISE/bin/nt/
XST = $(TOOL_DIR)xst.exe
XST = $(TOOL_DIR)xst.exe
NGDBUILD = $(TOOL_DIR)ngdbuild.exe
NGDBUILD = $(TOOL_DIR)ngdbuild.exe
MAP = $(TOOL_DIR)map.exe
MAP = $(TOOL_DIR)map.exe
PAR = $(TOOL_DIR)par.exe
PAR = $(TOOL_DIR)par.exe
TRCE = $(TOOL_DIR)trce.exe
TRCE = $(TOOL_DIR)trce.exe
BITGEN = $(TOOL_DIR)bitgen.exe
BITGEN = $(TOOL_DIR)bitgen.exe
IMPACT = $(TOOL_DIR)impact.exe
IMPACT = $(TOOL_DIR)impact.exe
upload : layer2.bit
upload : layer2.bit
        $(IMPACT) -batch upload.cmds
        $(IMPACT) -batch upload.cmds
prom : layer2.bit
prom : layer2.bit
        $(IMPACT) -batch prom.cmds
        $(IMPACT) -batch prom.cmds
build :
build :
 
        -@mkdir xst
 
        -@mkdir xst/projnav.tmp
        $(XST) -ifn layer2.xst -ofn layer2.syr -intstyle ise
        $(XST) -ifn layer2.xst -ofn layer2.syr -intstyle ise
        $(NGDBUILD) -intstyle ise -dd ngdbuild -nt timestamp -uc layer2.ucf \
        $(NGDBUILD) -intstyle ise -dd ngdbuild -nt timestamp -uc layer2.ucf \
                -p xc3s500e-fg320-4 layer2.ngc layer2.ngd
                -p xc3s500e-fg320-4 layer2.ngc layer2.ngd
        $(MAP) -intstyle ise -p xc3s500e-fg320-4 -cm area -ir off -pr off -c 100 \
        $(MAP) -intstyle ise -p xc3s500e-fg320-4 -cm area -ir off -pr off -c 100 \
                -o layer2_map.ncd layer2.ngd layer2.pcf
                -o layer2_map.ncd layer2.ngd layer2.pcf
        $(PAR) -w -intstyle ise -ol high -t 1 layer2_map.ncd layer2.ncd layer2.pcf
        $(PAR) -w -intstyle ise -ol high -t 1 layer2_map.ncd layer2.ncd layer2.pcf
        $(TRCE) -intstyle ise -v 3 -s 4 -n 3 -fastpaths -xml layer2.twx layer2.ncd \
        $(TRCE) -intstyle ise -v 3 -s 4 -n 3 -fastpaths -xml layer2.twx layer2.ncd \
                -o layer2.twr layer2.pcf -ucf layer2.ucf
                -o layer2.twr layer2.pcf -ucf layer2.ucf
        $(BITGEN) -intstyle ise -f layer2.ut layer2.ncd
        $(BITGEN) -intstyle ise -f layer2.ut layer2.ncd
.PHONY: clean
.PHONY: clean
clean :
clean :
        -@$(RM) *.bgn *.bld *.drc *.cmd_log *.lso *.ncd *.ngc *.ngd *.ngr *.pad \
        -@$(RM) *.bgn *.bld *.drc *.cmd_log *.lso *.ncd *.ngc *.ngd *.ngr *.pad \
                *.par *.pcf *.ptwx *.stx *.syr *.twr *.twx *.unroutes *.xpi *.xwbt \
                *.par *.pcf *.ptwx *.stx *.syr *.twr *.twx *.unroutes *.xpi *.xwbt \
 
 

powered by: WebSVN 2.1.0

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