Line 28... |
Line 28... |
#===================================================================
|
#===================================================================
|
|
|
MKFRAGS := ../../mkfiles
|
MKFRAGS := ../../mkfiles
|
export MKFRAGS
|
export MKFRAGS
|
|
|
|
BRAM_TYPE := b16
|
|
export BRAM_TYPE
|
|
|
#===================================================================
|
#===================================================================
|
# User-modifiable variables
|
# User-modifiable variables
|
#
|
#
|
# This name must match the name of the design in Xilinx ISE (case
|
# This name must match the name of the design in Xilinx ISE (case
|
# sensitive).
|
# sensitive).
|
DESIGN_NAME := my_system09
|
DESIGN_NAME := system09
|
#
|
#
|
# Constraint file (unfortunately it cannot be extracted from ISE)
|
# Constraint file (unfortunately it cannot be extracted from ISE)
|
UCF_FILE := my_system09.ucf
|
UCF_FILE := system09.ucf
|
#
|
#
|
# Technology family (unfortunately it cannot be extracted from ISE)
|
# Technology family (unfortunately it cannot be extracted from ISE)
|
FAMILY := spartan3
|
FAMILY := spartan3
|
|
|
# List of ROM VHDL files
|
# List of ROM VHDL files
|
.PHONY: roms
|
.PHONY: roms
|
roms:
|
roms:
|
|
@$(MAKE) -C ../../Tools/as09
|
|
@$(MAKE) -C ../../Tools/s19tovhd
|
@$(MAKE) -C ../../src/sys09bug sys09xes.vhd
|
@$(MAKE) -C ../../src/sys09bug sys09xes.vhd
|
@$(MAKE) -C ../../src/Flex9 flex9ide.vhd
|
@$(MAKE) -C ../../src/Flex9 flex9ide.vhd
|
|
|
#===================================================================
|
#===================================================================
|
# You should not need to edit anything below this line
|
# You should not need to edit anything below this line
|
|
|
# XESS Tools
|
# XESS Tools
|
XSLOAD := C:/Progra~1/XSTOOLs/xsload.exe
|
ifeq "$(findstring CYGWIN_NT,$(shell uname -s))" "CYGWIN_NT"
|
|
XESSPATH := $(shell cygpath "$(XSTOOLS_BIN_DIR)")
|
|
else
|
|
XESSPATH := $(XSTOOLS_BIN_DIR)
|
|
endif
|
|
XSLOAD := "$(XESSPATH)/xsload.exe"
|
|
|
include ../../mkfiles/xilinx_rules.mk
|
include ../../mkfiles/xilinx_rules.mk
|
|
|
#===================================================================
|
#===================================================================
|
# TARGETS
|
# TARGETS
|
Line 120... |
Line 130... |
@$(ECHO) " impact - Download the bitstream to the FPGA via iMPACT"
|
@$(ECHO) " impact - Download the bitstream to the FPGA via iMPACT"
|
@$(ECHO)
|
@$(ECHO)
|
@$(ECHO) " For project maintenance:"
|
@$(ECHO) " For project maintenance:"
|
@$(ECHO) " help - Print this help text"
|
@$(ECHO) " help - Print this help text"
|
@$(ECHO) " clean - Clean up the ISE files"
|
@$(ECHO) " clean - Clean up the ISE files"
|
|
@$(ECHO) " cleanall - Clean up the ISE files and the Tools directories"
|
@$(ECHO) ""
|
@$(ECHO) ""
|
|
|
.PHONY: clean
|
.PHONY: clean
|
clean:
|
clean:
|
-$(MAKE) -C ../../src/sys09bug clean
|
-$(MAKE) -C ../../src/sys09bug clean
|
-$(MAKE) -C ../../src/Flex9 clean
|
-$(MAKE) -C ../../src/Flex9 clean
|
-$(RM) *.ncd *.ngc *.ngd *.twr *.bit *.mcs *.stx *.ucf.untf *.mrp
|
-$(RM) *.ncd *.ngc *.ngd *.twr *.bit *.mcs *.stx *.ucf.untf *.mrp *.ptwx *_map.map
|
-$(RM) *.ncl *.ngm *.prm *_pad.txt *.twx *.log *.syr *.par *.exo *.xpi
|
-$(RM) *.ncl *.ngm *.prm *_pad.txt *.twx *.log *.syr *.par *.exo *.xpi *.xrpt *.xml
|
-$(RM) *.cmd_log *.ngr *.bld *_summary.html *.nc1 *.pcf *.bgn
|
-$(RM) *.cmd_log *.ngr *.xwbt *.bld *_envsettings.html *_summary.html *.nc1 *.pcf *.bgn tmp.ut
|
-$(RM) *.pad *.placed_ncd_tracker *.routed_ncd_tracker *_pad.csv *.drc
|
-$(RM) *.pad *.placed_ncd_tracker *.routed_ncd_tracker *_pad.csv *.drc
|
-$(RM) *.pad_txt $(DESIGN_NAME)_impact.cmd *.unroutes
|
-$(RM) *.pad_txt $(DESIGN_NAME)_impact.cmd *.unroutes $(DESIGN_NAME)_vhdl.prj
|
-$(RMDIR) _ngo _xmsgs
|
-$(RMDIR) iseconfig _ngo _xmsgs xst xlnx_auto_0_xdb xst_tmp_dirs
|
|
|
|
.PHONY: cleanall
|
|
cleanall: clean
|
|
-$(MAKE) -C ../../Tools/as09 clean
|
|
-$(MAKE) -C ../../Tools/s19tovhd clean
|
|
|