source: Documentation/ReferenceDesigns/InterruptRef_xps_8_2/system_incl.make

Last change on this file was 485, checked in by chunter, 17 years ago

Interrupt reference design demonstrates the correct way to initialize and configure interrupts with the interrupt controller.

File size: 4.9 KB
Line 
1#################################################################
2# Makefile generated by Xilinx Platform Studio
3# Project:C:\localhome\chunter\EDK\interrupt_reference_design\system.xmp
4#################################################################
5
6XILINX_EDK_DIR = C:/EDK
7
8SYSTEM = system
9
10MHSFILE = system.mhs
11
12MSSFILE = system.mss
13
14FPGA_ARCH = virtex2p
15
16DEVICE = xc2vp70ff1517-6
17
18LANGUAGE = vhdl
19
20SEARCHPATHOPT =  -lp C:/localhome/chunter/user_repo/
21
22SUBMODULE_OPT = 
23
24PLATGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(SUBMODULE_OPT)
25
26LIBGEN_OPTIONS = -mhs $(MHSFILE) -p $(DEVICE) $(SEARCHPATHOPT)
27
28VPGEN_OPTIONS = -p $(DEVICE) $(SEARCHPATHOPT)
29
30INTERRUPTTESTRBETA_OUTPUT_DIR = interruptTestrBeta
31INTERRUPTTESTRBETA_OUTPUT = $(INTERRUPTTESTRBETA_OUTPUT_DIR)/executable.elf
32
33MICROBLAZE_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop.elf
34PPC405_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc405/ppc_bootloop.elf
35PPC440_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc440/ppc440_bootloop.elf
36BOOTLOOP_DIR = bootloops
37
38PPC405_0_BOOTLOOP = $(BOOTLOOP_DIR)/ppc405_0.elf
39
40PPC405_1_BOOTLOOP = $(BOOTLOOP_DIR)/ppc405_1.elf
41
42BRAMINIT_ELF_FILES =  $(INTERRUPTTESTRBETA_OUTPUT) 
43BRAMINIT_ELF_FILE_ARGS =   -pe ppc405_0 $(INTERRUPTTESTRBETA_OUTPUT) 
44
45ALL_USER_ELF_FILES = $(INTERRUPTTESTRBETA_OUTPUT) 
46
47SIM_CMD = vsim
48
49BEHAVIORAL_SIM_SCRIPT = simulation/behavioral/$(SYSTEM).do
50
51STRUCTURAL_SIM_SCRIPT = simulation/structural/$(SYSTEM).do
52
53TIMING_SIM_SCRIPT = simulation/timing/$(SYSTEM).do
54
55DEFAULT_SIM_SCRIPT = $(BEHAVIORAL_SIM_SCRIPT)
56
57MIX_LANG_SIM_OPT = -mixed yes
58
59SIMGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_FILE_ARGS) $(MIX_LANG_SIM_OPT)  -s mti
60
61
62LIBRARIES =  \
63       ppc405_0/lib/libxil.a  \
64       ppc405_1/lib/libxil.a
65VPEXEC = virtualplatform/vpexec.exe
66
67LIBSCLEAN_TARGETS = ppc405_0_libsclean ppc405_1_libsclean
68
69PROGRAMCLEAN_TARGETS = interruptTestrBeta_programclean
70
71CORE_STATE_DEVELOPMENT_FILES = 
72
73WRAPPER_NGC_FILES = implementation/ppc405_0_wrapper.ngc \
74implementation/ppc405_1_wrapper.ngc \
75implementation/jtagppc_0_wrapper.ngc \
76implementation/reset_block_wrapper.ngc \
77implementation/iocm_wrapper.ngc \
78implementation/iocm_cntlr_wrapper.ngc \
79implementation/isocm_bram_wrapper.ngc \
80implementation/docm_wrapper.ngc \
81implementation/docm_cntlr_wrapper.ngc \
82implementation/dsocm_bram_wrapper.ngc \
83implementation/plb_wrapper.ngc \
84implementation/opb_wrapper.ngc \
85implementation/plb2opb_wrapper.ngc \
86implementation/leds_4bit_wrapper.ngc \
87implementation/push_buttons_4bit_wrapper.ngc \
88implementation/rs232_wrapper.ngc \
89implementation/plb_bram_if_cntlr_1_wrapper.ngc \
90implementation/plb_bram_if_cntlr_1_bram_wrapper.ngc \
91implementation/opb_intc_0_wrapper.ngc \
92implementation/dcm_0_wrapper.ngc \
93implementation/opb_timer_0_wrapper.ngc
94
95POSTSYN_NETLIST = implementation/$(SYSTEM).ngc
96
97SYSTEM_BIT = implementation/$(SYSTEM).bit
98
99DOWNLOAD_BIT = implementation/download.bit
100
101SYSTEM_ACE = implementation/$(SYSTEM).ace
102
103UCF_FILE = data/system.ucf
104
105BMM_FILE = implementation/$(SYSTEM).bmm
106
107BITGEN_UT_FILE = etc/bitgen.ut
108
109XFLOW_OPT_FILE = etc/fast_runtime.opt
110XFLOW_DEPENDENCY = __xps/xpsxflow.opt $(XFLOW_OPT_FILE)
111
112XPLORER_DEPENDENCY = __xps/xplorer.opt
113XPLORER_OPTIONS = -p $(DEVICE) -uc $(SYSTEM).ucf -bm $(SYSTEM).bmm -max_runs 7
114
115FPGA_IMP_DEPENDENCY = $(BMM_FILE) $(POSTSYN_NETLIST) $(UCF_FILE) $(BITGEN_UT_FILE) $(XFLOW_DEPENDENCY)
116
117#################################################################
118# SOFTWARE APPLICATION INTERRUPTTESTRBETA
119#################################################################
120
121INTERRUPTTESTRBETA_SOURCES = src/interruptTester.c
122
123INTERRUPTTESTRBETA_HEADERS = 
124
125INTERRUPTTESTRBETA_CC = powerpc-eabi-gcc
126INTERRUPTTESTRBETA_CC_SIZE = powerpc-eabi-size
127INTERRUPTTESTRBETA_CC_OPT = -O2
128INTERRUPTTESTRBETA_CFLAGS = 
129INTERRUPTTESTRBETA_CC_SEARCH = # -B
130INTERRUPTTESTRBETA_LIBPATH = -L./ppc405_0/lib/ # -L
131INTERRUPTTESTRBETA_INCLUDES = -I./ppc405_0/include/ # -I
132INTERRUPTTESTRBETA_LFLAGS = # -l
133INTERRUPTTESTRBETA_LINKER_SCRIPT = interruptTestrBeta_linker_script.ld
134INTERRUPTTESTRBETA_LINKER_SCRIPT_FLAG = -Wl,-T -Wl,$(INTERRUPTTESTRBETA_LINKER_SCRIPT) 
135INTERRUPTTESTRBETA_CC_DEBUG_FLAG = # -[g|gstabs]
136INTERRUPTTESTRBETA_CC_PROFILE_FLAG = # -pg
137INTERRUPTTESTRBETA_CC_GLOBPTR_FLAG= # -msdata=eabi
138INTERRUPTTESTRBETA_CC_START_ADDR_FLAG=  #  # -Wl,-defsym -Wl,_START_ADDR=
139INTERRUPTTESTRBETA_CC_STACK_SIZE_FLAG=  #  # -Wl,-defsym -Wl,_STACK_SIZE=
140INTERRUPTTESTRBETA_CC_HEAP_SIZE_FLAG=  #  # -Wl,-defsym -Wl,_HEAP_SIZE=
141INTERRUPTTESTRBETA_OTHER_CC_FLAGS= $(INTERRUPTTESTRBETA_CC_GLOBPTR_FLAG)  \
142                  $(INTERRUPTTESTRBETA_CC_START_ADDR_FLAG) $(INTERRUPTTESTRBETA_CC_STACK_SIZE_FLAG) $(INTERRUPTTESTRBETA_CC_HEAP_SIZE_FLAG)  \
143                  $(INTERRUPTTESTRBETA_LINKER_SCRIPT_FLAG) $(INTERRUPTTESTRBETA_CC_DEBUG_FLAG) $(INTERRUPTTESTRBETA_CC_PROFILE_FLAG) 
Note: See TracBrowser for help on using the repository browser.