URL
https://opencores.org/ocsvn/System09/System09/trunk
Subversion Repositories System09
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 29 to Rev 30
- ↔ Reverse comparison
Rev 29 → Rev 30
/branches/mkfiles_rev1/rtl/System09_Xess_XSA-3S1000/Makefile
74,6 → 74,8
@$(ECHO) "PACKAGE = '$(PACKAGE)'" |
@$(ECHO) "UCF_FILE = '$(UCF_FILE)'" |
@$(ECHO) "BSD_FILE = '$(BSD_FILE)'" |
@$(ECHO) "XSTHDPDIR = '$(XSTHDPDIR)'" |
@$(ECHO) "TMPDIR = '$(TMPDIR)'" |
|
bit: roms $(DESIGN_NAME).bit |
|
/branches/mkfiles_rev1/mkfiles/xilinx_rules.mk
46,6 → 46,11
PACKAGE := $(shell $(AWK) -F - '/^-p / { printf("%s",$$4) }' $(XST_FILE)) |
BSD_FILE := $(XILINX)/$(FAMILY)/data/$(DEVICE).bsd |
|
XSTHDPDIR1 := $(shell $(AWK) '/^set -xsthdpdir / { printf("%s",$$3) }' $(XST_FILE)) |
XSTHDPDIR := $(subst ",,$(XSTHDPDIR1)) |
TMPDIR1 := $(shell $(AWK) '/^set -tmpdir / { printf("%s",$$3) }' $(XST_FILE)) |
TMPDIR := $(subst ",,$(TMPDIR1)) |
|
INTSTYLE ?= -intstyle silent # call Xilinx tools in silent mode |
INTSTYLE := |
XST_FLAGS ?= $(INTSTYLE) # most synthesis flags are specified in the .xst file |
59,13 → 64,26
|
BITGEN_OPTIONS_FILE ?= $(DESIGN_NAME).ut |
|
|
#=================================================================== |
# Make sure tmpdirs are created |
$(XSTHDPDIR): |
$(ECHO) "XSTHDPDIR = $(XSTHDPDIR)" |
$(MKDIR) $(XSTHDPDIR) |
|
$(TMPDIR): |
$(ECHO) "TMPDIR = $(TMPDIR)" |
$(MKDIR) $(TMPDIR) |
|
xst_tmp_dirs: $(XSTHDPDIR) $(TMPDIR) |
|
#=================================================================== |
# TRANSLATE RULES |
|
# RULE: .xst => .ngc |
# Synthesize the HDL files into an NGC file. This rule is triggered if |
# any of the HDL files are changed or the synthesis options are changed. |
$(DESIGN_NAME).ngc: $(HDL_FILES) $(XST_FILE) |
$(DESIGN_NAME).ngc: $(HDL_FILES) $(XST_FILE) xst_tmp_dirs |
@$(ECHO) |
@$(ECHO) "======= Synthesis - XST ============================" |
$(XST) $(XST_FLAGS) -ifn $(XST_FILE) -ofn $(DESIGN_NAME).syr |