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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [xilinx/] [s3adsp1800/] [Makefile.inc] - Blame information for rev 815

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 568 julius
# Makefile fragment with some variables global to this board board
2
# Expects BOARD_ROOT to be set
3
 
4
FPGA_VENDOR=xilinx
5
BOARD_NAME=s3adsp1800
6
BOARD=$(FPGA_VENDOR)/$(BOARD_NAME)
7
DESIGN_NAME=orpsoc
8
 
9
# Doc:
10
# http://www.xilinx.com/support/documentation/boards_and_kits/ug454_sp3a_dsp_start_ug.pdf
11
 
12
# Path down to root of project
13
PROJECT_ROOT=$(BOARD_ROOT)/../../..
14
 
15
SYNTHESIS_TOOL=xst
16
 
17
export BOARD
18
 
19
include $(PROJECT_ROOT)/scripts/make/Makefile-misc.inc
20
include $(PROJECT_ROOT)/scripts/make/Makefile-board-paths.inc
21
include $(PROJECT_ROOT)/scripts/make/Makefile-board-tops.inc
22
include $(PROJECT_ROOT)/scripts/make/Makefile-board-definesparse.inc
23
 
24 638 stekern
# Check that the Xilinx scripts have been sourced
25
ifndef XILINX
26
$(error The XILINX environment variable was not set, \
27
please run: 'source /path/to/xilinx_ise/settings{32|64}.sh')
28 568 julius
endif
29
 
30
# Backend directories
31
# This one is the board build's backend dir.
32
BOARD_BACKEND_DIR=$(BOARD_ROOT)/backend
33
BOARD_BACKEND_VERILOG_DIR=$(BOARD_BACKEND_DIR)/rtl/verilog
34
BOARD_BACKEND_BIN_DIR=$(BOARD_BACKEND_DIR)/bin
35
# Technology backend (vendor-specific)
36
TECHNOLOGY_BACKEND_DIR=$(BOARD_ROOT)/../backend
37
# This path is for the technology library
38 638 stekern
TECHNOLOGY_LIBRARY_VERILOG_DIR=$(XILINX)/verilog
39 568 julius
 
40
# Bootrom setup
41
# BootROM code, which generates a verilog array select values
42
BOOTROM_FILE=bootrom.v
43
BOOTROM_SW_DIR=$(BOARD_SW_DIR)/bootrom
44
BOOTROM_SRC=$(shell ls $(BOOTROM_SW_DIR)/* | grep -v $(BOOTROM_FILE))
45
BOOTROM_VERILOG=$(BOOTROM_SW_DIR)/$(BOOTROM_FILE)
46
 
47
bootrom: $(BOOTROM_VERILOG)
48
 
49
$(BOOTROM_VERILOG): $(BOOTROM_SRC)
50
        $(Q)echo; echo "\t### Generating bootup ROM ###"; echo
51
        $(Q)$(MAKE) -C $(BOOTROM_SW_DIR) $(BOOTROM_FILE)
52
 
53
clean-bootrom:
54
        $(Q)echo; echo "\t### Cleaning bootup ROM ###"; echo
55
        $(Q)$(MAKE) -C $(BOOTROM_SW_DIR) clean
56
 
57
include $(PROJECT_ROOT)/scripts/make/Makefile-board-rtlmodules.inc
58
 
59
# "Backend" source file stuff (PLL, RAM macro models.)
60
BOARD_BACKEND_VERILOG_SRC=$(shell ls $(BOARD_BACKEND_VERILOG_DIR)/*.v )
61
 
62
# Backend tool path
63
 
64
# BACKEND_TECHNOLOGY_VERILOG_SRC should be set if we need to compile specific
65
# libraries, as in the Actel and Altera case, and left empty for Xilinx who
66
# allow us to simply pass the path with the -y option because they have each
67
# bit of the tech library in individual files, and in which case this variable
68
# should be left unset.
69
 
70
# Keep this variable empty
71
BACKEND_TECHNOLOGY_VERILOG_SRC=
72
 

powered by: WebSVN 2.1.0

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