URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [xilinx/] [s3adsp1800/] [Makefile.inc] - Rev 638
Compare with Previous | Blame | View Log
# Makefile fragment with some variables global to this board board# Expects BOARD_ROOT to be setFPGA_VENDOR=xilinxBOARD_NAME=s3adsp1800BOARD=$(FPGA_VENDOR)/$(BOARD_NAME)DESIGN_NAME=orpsoc# Doc:# http://www.xilinx.com/support/documentation/boards_and_kits/ug454_sp3a_dsp_start_ug.pdf# Path down to root of projectPROJECT_ROOT=$(BOARD_ROOT)/../../..SYNTHESIS_TOOL=xstexport BOARDinclude $(PROJECT_ROOT)/scripts/make/Makefile-misc.incinclude $(PROJECT_ROOT)/scripts/make/Makefile-board-paths.incinclude $(PROJECT_ROOT)/scripts/make/Makefile-board-tops.incinclude $(PROJECT_ROOT)/scripts/make/Makefile-board-definesparse.inc# Check that the Xilinx scripts have been sourcedifndef XILINX$(error The XILINX environment variable was not set, \please run: 'source /path/to/xilinx_ise/settings{32|64}.sh')endif# Backend directories# This one is the board build's backend dir.BOARD_BACKEND_DIR=$(BOARD_ROOT)/backendBOARD_BACKEND_VERILOG_DIR=$(BOARD_BACKEND_DIR)/rtl/verilogBOARD_BACKEND_BIN_DIR=$(BOARD_BACKEND_DIR)/bin# Technology backend (vendor-specific)TECHNOLOGY_BACKEND_DIR=$(BOARD_ROOT)/../backend# This path is for the technology libraryTECHNOLOGY_LIBRARY_VERILOG_DIR=$(XILINX)/verilog# Bootrom setup# BootROM code, which generates a verilog array select valuesBOOTROM_FILE=bootrom.vBOOTROM_SW_DIR=$(BOARD_SW_DIR)/bootromBOOTROM_SRC=$(shell ls $(BOOTROM_SW_DIR)/* | grep -v $(BOOTROM_FILE))BOOTROM_VERILOG=$(BOOTROM_SW_DIR)/$(BOOTROM_FILE)bootrom: $(BOOTROM_VERILOG)$(BOOTROM_VERILOG): $(BOOTROM_SRC)$(Q)echo; echo "\t### Generating bootup ROM ###"; echo$(Q)$(MAKE) -C $(BOOTROM_SW_DIR) $(BOOTROM_FILE)clean-bootrom:$(Q)echo; echo "\t### Cleaning bootup ROM ###"; echo$(Q)$(MAKE) -C $(BOOTROM_SW_DIR) cleaninclude $(PROJECT_ROOT)/scripts/make/Makefile-board-rtlmodules.inc# "Backend" source file stuff (PLL, RAM macro models.)BOARD_BACKEND_VERILOG_SRC=$(shell ls $(BOARD_BACKEND_VERILOG_DIR)/*.v )# Backend tool path# BACKEND_TECHNOLOGY_VERILOG_SRC should be set if we need to compile specific# libraries, as in the Actel and Altera case, and left empty for Xilinx who# allow us to simply pass the path with the -y option because they have each# bit of the tech library in individual files, and in which case this variable# should be left unset.# Keep this variable emptyBACKEND_TECHNOLOGY_VERILOG_SRC=
