1 |
586 |
jeremybenn |
#################################################################
|
2 |
|
|
# Makefile generated by Xilinx Platform Studio
|
3 |
|
|
# Project:C:\E\Dev\FreeRTOS\WorkingCopy2\Demo\PPC405_FPU_Xilinx_Virtex4_GCC\system.xmp
|
4 |
|
|
#
|
5 |
|
|
# WARNING : This file will be re-generated every time a command
|
6 |
|
|
# to run a make target is invoked. So, any changes made to this
|
7 |
|
|
# file manually, will be lost when make is invoked next.
|
8 |
|
|
#################################################################
|
9 |
|
|
|
10 |
|
|
XILINX_EDK_DIR = /cygdrive/c/devtools/Xilinx/10.1/EDK
|
11 |
|
|
NON_CYG_XILINX_EDK_DIR = C:/devtools/Xilinx/10.1/EDK
|
12 |
|
|
|
13 |
|
|
SYSTEM = system
|
14 |
|
|
|
15 |
|
|
MHSFILE = system.mhs
|
16 |
|
|
|
17 |
|
|
MSSFILE = system.mss
|
18 |
|
|
|
19 |
|
|
FPGA_ARCH = virtex4
|
20 |
|
|
|
21 |
|
|
DEVICE = xc4vfx12ff668-10
|
22 |
|
|
|
23 |
|
|
LANGUAGE = vhdl
|
24 |
|
|
|
25 |
|
|
SEARCHPATHOPT =
|
26 |
|
|
|
27 |
|
|
SUBMODULE_OPT =
|
28 |
|
|
|
29 |
|
|
PLATGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(SUBMODULE_OPT)
|
30 |
|
|
|
31 |
|
|
LIBGEN_OPTIONS = -mhs $(MHSFILE) -p $(DEVICE) $(SEARCHPATHOPT)
|
32 |
|
|
|
33 |
|
|
VPGEN_OPTIONS = -p $(DEVICE) $(SEARCHPATHOPT)
|
34 |
|
|
|
35 |
|
|
MANAGE_FASTRT_OPTIONS = -reduce_fanout no
|
36 |
|
|
|
37 |
|
|
OBSERVE_PAR_OPTIONS = -error yes
|
38 |
|
|
|
39 |
|
|
RTOSDEMO_OUTPUT_DIR = RTOSDemo
|
40 |
|
|
RTOSDEMO_OUTPUT = $(RTOSDEMO_OUTPUT_DIR)/executable.elf
|
41 |
|
|
|
42 |
|
|
MICROBLAZE_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop.elf
|
43 |
|
|
PPC405_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc405/ppc_bootloop.elf
|
44 |
|
|
PPC440_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc440/ppc440_bootloop.elf
|
45 |
|
|
BOOTLOOP_DIR = bootloops
|
46 |
|
|
|
47 |
|
|
PPC405_0_BOOTLOOP = $(BOOTLOOP_DIR)/ppc405_0.elf
|
48 |
|
|
|
49 |
|
|
BRAMINIT_ELF_FILES =
|
50 |
|
|
BRAMINIT_ELF_FILE_ARGS =
|
51 |
|
|
|
52 |
|
|
ALL_USER_ELF_FILES = $(RTOSDEMO_OUTPUT)
|
53 |
|
|
|
54 |
|
|
SIM_CMD = vsim
|
55 |
|
|
|
56 |
|
|
BEHAVIORAL_SIM_SCRIPT = simulation/behavioral/$(SYSTEM)_setup.do
|
57 |
|
|
|
58 |
|
|
STRUCTURAL_SIM_SCRIPT = simulation/structural/$(SYSTEM)_setup.do
|
59 |
|
|
|
60 |
|
|
TIMING_SIM_SCRIPT = simulation/timing/$(SYSTEM)_setup.do
|
61 |
|
|
|
62 |
|
|
DEFAULT_SIM_SCRIPT = $(BEHAVIORAL_SIM_SCRIPT)
|
63 |
|
|
|
64 |
|
|
MIX_LANG_SIM_OPT = -mixed yes
|
65 |
|
|
|
66 |
|
|
SIMGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_FILE_ARGS) $(MIX_LANG_SIM_OPT) -s mti -X C:/E/Dev/FreeRTOS/WorkingCopy2/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/ -E C:/E/Dev/FreeRTOS/WorkingCopy2/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
LIBRARIES = \
|
70 |
|
|
ppc405_0/lib/libxil.a
|
71 |
|
|
VPEXEC = virtualplatform/vpexec.exe
|
72 |
|
|
|
73 |
|
|
LIBSCLEAN_TARGETS = ppc405_0_libsclean
|
74 |
|
|
|
75 |
|
|
PROGRAMCLEAN_TARGETS = RTOSDemo_programclean
|
76 |
|
|
|
77 |
|
|
CORE_STATE_DEVELOPMENT_FILES =
|
78 |
|
|
|
79 |
|
|
WRAPPER_NGC_FILES = implementation/ppc405_0_wrapper.ngc \
|
80 |
|
|
implementation/jtagppc_0_wrapper.ngc \
|
81 |
|
|
implementation/plb_wrapper.ngc \
|
82 |
|
|
implementation/rs232_uart_wrapper.ngc \
|
83 |
|
|
implementation/leds_4bit_wrapper.ngc \
|
84 |
|
|
implementation/leds_positions_wrapper.ngc \
|
85 |
|
|
implementation/sysace_compactflash_wrapper.ngc \
|
86 |
|
|
implementation/sram_wrapper.ngc \
|
87 |
|
|
implementation/sram_util_bus_split_0_wrapper.ngc \
|
88 |
|
|
implementation/clock_generator_0_wrapper.ngc \
|
89 |
|
|
implementation/proc_sys_reset_0_wrapper.ngc \
|
90 |
|
|
implementation/xps_intc_0_wrapper.ngc \
|
91 |
|
|
implementation/fcb_v10_0_wrapper.ngc \
|
92 |
|
|
implementation/apu_fpu_0_wrapper.ngc
|
93 |
|
|
|
94 |
|
|
POSTSYN_NETLIST = implementation/$(SYSTEM).ngc
|
95 |
|
|
|
96 |
|
|
SYSTEM_BIT = implementation/$(SYSTEM).bit
|
97 |
|
|
|
98 |
|
|
DOWNLOAD_BIT = implementation/download.bit
|
99 |
|
|
|
100 |
|
|
SYSTEM_ACE = implementation/$(SYSTEM).ace
|
101 |
|
|
|
102 |
|
|
UCF_FILE = data/system.ucf
|
103 |
|
|
|
104 |
|
|
BMM_FILE = implementation/$(SYSTEM).bmm
|
105 |
|
|
|
106 |
|
|
BITGEN_UT_FILE = etc/bitgen.ut
|
107 |
|
|
|
108 |
|
|
XFLOW_OPT_FILE = etc/fast_runtime.opt
|
109 |
|
|
XFLOW_DEPENDENCY = __xps/xpsxflow.opt $(XFLOW_OPT_FILE)
|
110 |
|
|
|
111 |
|
|
XPLORER_DEPENDENCY = __xps/xplorer.opt
|
112 |
|
|
XPLORER_OPTIONS = -p $(DEVICE) -uc $(SYSTEM).ucf -bm $(SYSTEM).bmm -max_runs 7
|
113 |
|
|
|
114 |
|
|
FPGA_IMP_DEPENDENCY = $(BMM_FILE) $(POSTSYN_NETLIST) $(UCF_FILE) $(BITGEN_UT_FILE) $(XFLOW_DEPENDENCY)
|
115 |
|
|
|
116 |
|
|
#################################################################
|
117 |
|
|
# SOFTWARE APPLICATION RTOSDEMO
|
118 |
|
|
#################################################################
|
119 |
|
|
|
120 |
|
|
RTOSDEMO_SOURCES = RTOSDemo/../../Common/Minimal/BlockQ.c RTOSDemo/../../Common/Minimal/blocktim.c RTOSDemo/../../Common/Minimal/comtest.c RTOSDemo/../../Common/Minimal/countsem.c RTOSDemo/../../Common/Minimal/death.c RTOSDemo/../../Common/Minimal/dynamic.c RTOSDemo/../../Common/Minimal/flash.c RTOSDemo/../../Common/Minimal/GenQTest.c RTOSDemo/../../Common/Minimal/integer.c RTOSDemo/../../Common/Minimal/QPeek.c RTOSDemo/../../Common/Minimal/recmutex.c RTOSDemo/../../Common/Minimal/semtest.c RTOSDemo/../../../Source/tasks.c RTOSDemo/../../../Source/list.c RTOSDemo/../../../Source/queue.c RTOSDemo/../../../Source/portable/GCC/PPC405_Xilinx/port.c RTOSDemo/main.c RTOSDemo/serial/serial.c RTOSDemo/partest/partest.c RTOSDemo/../../../Source/portable/GCC/PPC405_Xilinx/portasm.S RTOSDemo/../../../Source/portable/MemMang/heap_2.c RTOSDemo/flop/flop.c RTOSDemo/flop/flop-reg-test.c
|
121 |
|
|
|
122 |
|
|
RTOSDEMO_HEADERS = RTOSDemo/FreeRTOSConfig.h
|
123 |
|
|
|
124 |
|
|
RTOSDEMO_CC = powerpc-eabi-gcc
|
125 |
|
|
RTOSDEMO_CC_SIZE = powerpc-eabi-size
|
126 |
|
|
RTOSDEMO_CC_OPT = -O0
|
127 |
|
|
RTOSDEMO_CFLAGS = -I./RTOSDemo/flop -I../../Source/portable/GCC/PPC405_Xilinx -I./ppc405_0/include/ -IRTOSDemo/ -I. -I./RTOSDemo/ -I../Common/include/ -I../../Source/include/ -I./ppc405_0/include/ -I./ppc405_0/include -D GCC_PPC405 -mregnames
|
128 |
|
|
RTOSDEMO_CC_SEARCH = # -B
|
129 |
|
|
RTOSDEMO_LIBPATH = -L./ppc405_0/lib/ # -L
|
130 |
|
|
RTOSDEMO_INCLUDES = -I./ppc405_0/include/ -IRTOSDemo/ # -I
|
131 |
|
|
RTOSDEMO_LFLAGS = # -l
|
132 |
|
|
RTOSDEMO_LINKER_SCRIPT = RTOSDemo/RTOSDemo_linker_script.ld
|
133 |
|
|
RTOSDEMO_LINKER_SCRIPT_FLAG = -Wl,-T -Wl,$(RTOSDEMO_LINKER_SCRIPT)
|
134 |
|
|
RTOSDEMO_CC_DEBUG_FLAG = -g
|
135 |
|
|
RTOSDEMO_CC_PROFILE_FLAG = # -pg
|
136 |
|
|
RTOSDEMO_CC_GLOBPTR_FLAG= # -msdata=eabi
|
137 |
|
|
RTOSDEMO_CC_INFERRED_FLAGS= -mfpu=sp_full
|
138 |
|
|
RTOSDEMO_CC_START_ADDR_FLAG= # # -Wl,-defsym -Wl,_START_ADDR=
|
139 |
|
|
RTOSDEMO_CC_STACK_SIZE_FLAG= # # -Wl,-defsym -Wl,_STACK_SIZE=
|
140 |
|
|
RTOSDEMO_CC_HEAP_SIZE_FLAG= # # -Wl,-defsym -Wl,_HEAP_SIZE=
|
141 |
|
|
RTOSDEMO_OTHER_CC_FLAGS= $(RTOSDEMO_CC_GLOBPTR_FLAG) \
|
142 |
|
|
$(RTOSDEMO_CC_START_ADDR_FLAG) $(RTOSDEMO_CC_STACK_SIZE_FLAG) $(RTOSDEMO_CC_HEAP_SIZE_FLAG) \
|
143 |
|
|
$(RTOSDEMO_CC_INFERRED_FLAGS) \
|
144 |
|
|
$(RTOSDEMO_LINKER_SCRIPT_FLAG) $(RTOSDEMO_CC_DEBUG_FLAG) $(RTOSDEMO_CC_PROFILE_FLAG)
|