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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [actel/] [ordb1a3pe1500/] [Makefile.inc] - Blame information for rev 868

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

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

powered by: WebSVN 2.1.0

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