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

Subversion Repositories System09

[/] [System09/] [trunk/] [mkfiles/] [xilinx_rules.mk] - Diff between revs 127 and 147

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 127 Rev 147
Line 61... Line 61...
TRCE       := $(XILINX_NORMAL)/bin/$(XILINX_PLAT)/trce
TRCE       := $(XILINX_NORMAL)/bin/$(XILINX_PLAT)/trce
IMPACT     := $(XILINX_NORMAL)/bin/$(XILINX_PLAT)/impact
IMPACT     := $(XILINX_NORMAL)/bin/$(XILINX_PLAT)/impact
 
 
# Extract info from Xilinx ISE project for use with command line tools
# Extract info from Xilinx ISE project for use with command line tools
XST_FILE := $(DESIGN_NAME).xst
XST_FILE := $(DESIGN_NAME).xst
PRJ_FILE := $(shell $(AWK) '/^-ifn/ { printf("%s",$$2) }'  $(XST_FILE))
PRJ_FILE := $(shell $(AWK) '/^-ifn/ { printf("%s",$$2) }'  $(XST_FILE) | tr -d "\r")
HDL_FILES := $(subst ",,$(shell $(AWK) '{ print $$3} ' $(PRJ_FILE)))
HDL_FILES := $(subst ",,$(shell $(AWK) '{ print $$3} ' $(PRJ_FILE)))
PART := $(shell $(AWK) '/^-p / { printf("%s",$$2) }' $(XST_FILE))
PART := $(shell $(AWK) '/^-p / { printf("%s",$$2) }' $(XST_FILE) | tr -d "\r")
DEVICE_tmp := $(shell $(AWK) -F - '/^-p / { printf("%s",$$2) }' $(XST_FILE))
DEVICE_tmp := $(shell $(AWK) -F - '/^-p / { printf("%s",$$2) }' $(XST_FILE))
DEVICE := $(subst p ,,$(DEVICE_tmp))
DEVICE := $(subst p ,,$(DEVICE_tmp))
SPEED := $(shell $(AWK) -F - '/^-p / { printf("%s",$$3) }' $(XST_FILE))
SPEED := $(shell $(AWK) -F - '/^-p / { printf("%s",$$3) }' $(XST_FILE))
PACKAGE := $(shell $(AWK) -F - '/^-p / { printf("%s",$$4) }' $(XST_FILE))
PACKAGE := $(shell $(AWK) -F - '/^-p / { printf("%s",$$4) }' $(XST_FILE) | tr -d "\r")
BSD_FILE := $(XILINX)/$(FAMILY)/data/$(DEVICE).bsd
BSD_FILE := $(XILINX)/$(FAMILY)/data/$(DEVICE).bsd
 
 
XSTHDPDIR1 := $(shell $(AWK) '/^set -xsthdpdir / { printf("%s",$$3) }'  $(XST_FILE))
XSTHDPDIR1 := $(shell $(AWK) '/^set -xsthdpdir / { printf("%s",$$3) }'  $(XST_FILE) | tr -d "\r")
XSTHDPDIR := $(subst ",,$(XSTHDPDIR1))
XSTHDPDIR := $(subst ",,$(XSTHDPDIR1))
TMPDIR1 := $(shell $(AWK) '/^set -tmpdir / { printf("%s",$$3) }'  $(XST_FILE))
TMPDIR1 := $(shell $(AWK) '/^set -tmpdir / { printf("%s",$$3) }'  $(XST_FILE) | tr -d "\r")
TMPDIR := $(subst ",,$(TMPDIR1))
TMPDIR := $(subst ",,$(TMPDIR1))
 
 
INTSTYLE         ?= -intstyle silent      # call Xilinx tools in silent mode
INTSTYLE         ?= -intstyle silent      # call Xilinx tools in silent mode
INTSTYLE :=
INTSTYLE :=
XST_FLAGS        ?= $(INTSTYLE)           # most synthesis flags are specified in the .xst file
XST_FLAGS        ?= $(INTSTYLE)           # most synthesis flags are specified in the .xst file

powered by: WebSVN 2.1.0

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