1 |
586 |
jeremybenn |
#################################################################
|
2 |
|
|
# Makefile generated by Xilinx Platform Studio
|
3 |
|
|
# Project:C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\PPC440_Xilinx_Virtex5_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/11.1/EDK
|
11 |
|
|
NON_CYG_XILINX_EDK_DIR = C:/devtools/Xilinx/11.1/EDK
|
12 |
|
|
|
13 |
|
|
SYSTEM = system
|
14 |
|
|
|
15 |
|
|
MHSFILE = system.mhs
|
16 |
|
|
|
17 |
|
|
MSSFILE = system.mss
|
18 |
|
|
|
19 |
|
|
FPGA_ARCH = virtex5
|
20 |
|
|
|
21 |
|
|
DEVICE = xc5vfx70tff1136-1
|
22 |
|
|
|
23 |
|
|
LANGUAGE = vhdl
|
24 |
|
|
|
25 |
|
|
SEARCHPATHOPT =
|
26 |
|
|
|
27 |
|
|
SUBMODULE_OPT =
|
28 |
|
|
|
29 |
|
|
PLATGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(SUBMODULE_OPT) -msg __xps/ise/xmsgprops.lst
|
30 |
|
|
|
31 |
|
|
LIBGEN_OPTIONS = -mhs $(MHSFILE) -p $(DEVICE) $(SEARCHPATHOPT) -msg __xps/ise/xmsgprops.lst
|
32 |
|
|
|
33 |
|
|
OBSERVE_PAR_OPTIONS = -error yes
|
34 |
|
|
|
35 |
|
|
RTOSDEMO_OUTPUT_DIR = RTOSDemo
|
36 |
|
|
RTOSDEMO_OUTPUT = $(RTOSDEMO_OUTPUT_DIR)/executable.elf
|
37 |
|
|
|
38 |
|
|
MICROBLAZE_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop.elf
|
39 |
|
|
PPC405_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc405/ppc_bootloop.elf
|
40 |
|
|
PPC440_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc440/ppc440_bootloop.elf
|
41 |
|
|
BOOTLOOP_DIR = bootloops
|
42 |
|
|
|
43 |
|
|
PPC440_0_BOOTLOOP = $(BOOTLOOP_DIR)/ppc440_0.elf
|
44 |
|
|
|
45 |
|
|
BRAMINIT_ELF_FILES = $(PPC440_0_BOOTLOOP)
|
46 |
|
|
BRAMINIT_ELF_FILE_ARGS = -pe ppc440_0 $(PPC440_0_BOOTLOOP)
|
47 |
|
|
|
48 |
|
|
ALL_USER_ELF_FILES = $(RTOSDEMO_OUTPUT)
|
49 |
|
|
|
50 |
|
|
SIM_CMD = vsim
|
51 |
|
|
|
52 |
|
|
BEHAVIORAL_SIM_SCRIPT = simulation/behavioral/$(SYSTEM)_setup.do
|
53 |
|
|
|
54 |
|
|
STRUCTURAL_SIM_SCRIPT = simulation/structural/$(SYSTEM)_setup.do
|
55 |
|
|
|
56 |
|
|
TIMING_SIM_SCRIPT = simulation/timing/$(SYSTEM)_setup.do
|
57 |
|
|
|
58 |
|
|
DEFAULT_SIM_SCRIPT = $(BEHAVIORAL_SIM_SCRIPT)
|
59 |
|
|
|
60 |
|
|
MIX_LANG_SIM_OPT = -mixed no
|
61 |
|
|
|
62 |
|
|
SIMGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_FILE_ARGS) $(MIX_LANG_SIM_OPT) -msg __xps/ise/xmsgprops.lst -sd implementation/ -s mti -X C:/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
LIBRARIES = \
|
66 |
|
|
ppc440_0/lib/libxil.a
|
67 |
|
|
|
68 |
|
|
LIBSCLEAN_TARGETS = ppc440_0_libsclean
|
69 |
|
|
|
70 |
|
|
PROGRAMCLEAN_TARGETS = RTOSDemo_programclean
|
71 |
|
|
|
72 |
|
|
CORE_STATE_DEVELOPMENT_FILES =
|
73 |
|
|
|
74 |
|
|
WRAPPER_NGC_FILES = implementation/ppc440_0_wrapper.ngc \
|
75 |
|
|
implementation/plb_v46_0_wrapper.ngc \
|
76 |
|
|
implementation/xps_bram_if_cntlr_1_wrapper.ngc \
|
77 |
|
|
implementation/xps_bram_if_cntlr_1_bram_wrapper.ngc \
|
78 |
|
|
implementation/rs232_uart_1_wrapper.ngc \
|
79 |
|
|
implementation/leds_8bit_wrapper.ngc \
|
80 |
|
|
implementation/leds_positions_wrapper.ngc \
|
81 |
|
|
implementation/push_buttons_5bit_wrapper.ngc \
|
82 |
|
|
implementation/dip_switches_8bit_wrapper.ngc \
|
83 |
|
|
implementation/iic_eeprom_wrapper.ngc \
|
84 |
|
|
implementation/sram_wrapper.ngc \
|
85 |
|
|
implementation/pcie_bridge_wrapper.ngc \
|
86 |
|
|
implementation/ppc440_0_splb0_wrapper.ngc \
|
87 |
|
|
implementation/ethernet_mac_wrapper.ngc \
|
88 |
|
|
implementation/ddr2_sdram_wrapper.ngc \
|
89 |
|
|
implementation/sysace_compactflash_wrapper.ngc \
|
90 |
|
|
implementation/clock_generator_0_wrapper.ngc \
|
91 |
|
|
implementation/jtagppc_cntlr_inst_wrapper.ngc \
|
92 |
|
|
implementation/proc_sys_reset_0_wrapper.ngc \
|
93 |
|
|
implementation/xps_intc_0_wrapper.ngc
|
94 |
|
|
|
95 |
|
|
POSTSYN_NETLIST = implementation/$(SYSTEM).ngc
|
96 |
|
|
|
97 |
|
|
SYSTEM_BIT = implementation/$(SYSTEM).bit
|
98 |
|
|
|
99 |
|
|
DOWNLOAD_BIT = implementation/download.bit
|
100 |
|
|
|
101 |
|
|
SYSTEM_ACE = implementation/$(SYSTEM).ace
|
102 |
|
|
|
103 |
|
|
UCF_FILE = data/system.ucf
|
104 |
|
|
|
105 |
|
|
BMM_FILE = implementation/$(SYSTEM).bmm
|
106 |
|
|
|
107 |
|
|
BITGEN_UT_FILE = etc/bitgen.ut
|
108 |
|
|
|
109 |
|
|
XFLOW_OPT_FILE = etc/fast_runtime.opt
|
110 |
|
|
XFLOW_DEPENDENCY = __xps/xpsxflow.opt $(XFLOW_OPT_FILE)
|
111 |
|
|
|
112 |
|
|
XPLORER_DEPENDENCY = __xps/xplorer.opt
|
113 |
|
|
XPLORER_OPTIONS = -p $(DEVICE) -uc $(SYSTEM).ucf -bm $(SYSTEM).bmm -max_runs 7
|
114 |
|
|
|
115 |
|
|
FPGA_IMP_DEPENDENCY = $(BMM_FILE) $(POSTSYN_NETLIST) $(UCF_FILE) $(XFLOW_DEPENDENCY)
|
116 |
|
|
|
117 |
|
|
SDK_EXPORT_DIR = SDK/SDK_Export/hw
|
118 |
|
|
SYSTEM_HW_HANDOFF = $(SDK_EXPORT_DIR)/$(SYSTEM).xml
|
119 |
|
|
SYSTEM_HW_HANDOFF_BIT = $(SDK_EXPORT_DIR)/$(SYSTEM).bit
|
120 |
|
|
SYSTEM_HW_HANDOFF_BMM = $(SDK_EXPORT_DIR)/$(SYSTEM)_bd.bmm
|
121 |
|
|
SYSTEM_HW_HANDOFF_DEP = $(SYSTEM_HW_HANDOFF) $(SYSTEM_HW_HANDOFF_BIT) $(SYSTEM_HW_HANDOFF_BMM)
|
122 |
|
|
|
123 |
|
|
#################################################################
|
124 |
|
|
# SOFTWARE APPLICATION RTOSDEMO
|
125 |
|
|
#################################################################
|
126 |
|
|
|
127 |
|
|
RTOSDEMO_SOURCES = /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/BlockQ.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/blocktim.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/comtest.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/countsem.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/death.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/dynamic.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/flash.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/GenQTest.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/integer.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/QPeek.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/recmutex.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../Common/Minimal/semtest.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../../Source/tasks.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../../Source/list.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../../Source/queue.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../../Source/croutine.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../../Source/portable/GCC/PPC440_Xilinx/portasm.S /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../../Source/portable/GCC/PPC440_Xilinx/port.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/../../../Source/portable/MemMang/heap_2.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/flop/flop-reg-test.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/flop/flop.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/partest/partest.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/serial/serial.c /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/main.c
|
128 |
|
|
|
129 |
|
|
RTOSDEMO_HEADERS =
|
130 |
|
|
|
131 |
|
|
RTOSDEMO_CC = powerpc-eabi-gcc
|
132 |
|
|
RTOSDEMO_CC_SIZE = powerpc-eabi-size
|
133 |
|
|
RTOSDEMO_CC_OPT = -O0
|
134 |
|
|
RTOSDEMO_CFLAGS = -D GCC_PPC440 -mregnames
|
135 |
|
|
RTOSDEMO_CC_SEARCH = # -B
|
136 |
|
|
RTOSDEMO_LIBPATH = -L./ppc440_0/lib/ # -L
|
137 |
|
|
RTOSDEMO_INCLUDES = -I./ppc440_0/include/ -I../../Source/include -I../Common/include -I./RTOSDemo -I./RTOSDemo/flop
|
138 |
|
|
RTOSDEMO_LFLAGS = # -l
|
139 |
|
|
RTOSDEMO_LINKER_SCRIPT = /cygdrive/c/E/Dev/FreeRTOS/WorkingCopy3/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/RTOSDemo_linker_script.ld
|
140 |
|
|
RTOSDEMO_LINKER_SCRIPT_FLAG = -Wl,-T -Wl,$(RTOSDEMO_LINKER_SCRIPT)
|
141 |
|
|
RTOSDEMO_CC_DEBUG_FLAG = -g
|
142 |
|
|
RTOSDEMO_CC_PROFILE_FLAG = # -pg
|
143 |
|
|
RTOSDEMO_CC_GLOBPTR_FLAG= # -msdata=eabi
|
144 |
|
|
RTOSDEMO_CC_INFERRED_FLAGS= -mcpu=440
|
145 |
|
|
RTOSDEMO_CC_START_ADDR_FLAG= # # -Wl,-defsym -Wl,_START_ADDR=
|
146 |
|
|
RTOSDEMO_CC_STACK_SIZE_FLAG= # # -Wl,-defsym -Wl,_STACK_SIZE=
|
147 |
|
|
RTOSDEMO_CC_HEAP_SIZE_FLAG= # # -Wl,-defsym -Wl,_HEAP_SIZE=
|
148 |
|
|
RTOSDEMO_OTHER_CC_FLAGS= $(RTOSDEMO_CC_GLOBPTR_FLAG) \
|
149 |
|
|
$(RTOSDEMO_CC_START_ADDR_FLAG) $(RTOSDEMO_CC_STACK_SIZE_FLAG) $(RTOSDEMO_CC_HEAP_SIZE_FLAG) \
|
150 |
|
|
$(RTOSDEMO_CC_INFERRED_FLAGS) \
|
151 |
|
|
$(RTOSDEMO_LINKER_SCRIPT_FLAG) $(RTOSDEMO_CC_DEBUG_FLAG) $(RTOSDEMO_CC_PROFILE_FLAG)
|