1 |
2 |
smanz |
#################################################################
|
2 |
|
|
# Makefile generated by Xilinx Platform Studio
|
3 |
|
|
# Project:/home/smanz/Diplomarbeit/main/trunk/mjpeg/system.xmp
|
4 |
|
|
#################################################################
|
5 |
|
|
|
6 |
|
|
XILINX_EDK_DIR = /opt/xilinx/EDK
|
7 |
|
|
|
8 |
|
|
SYSTEM = system
|
9 |
|
|
|
10 |
|
|
MHSFILE = system.mhs
|
11 |
|
|
|
12 |
|
|
MSSFILE = system.mss
|
13 |
|
|
|
14 |
|
|
FPGA_ARCH = virtex2p
|
15 |
|
|
|
16 |
|
|
DEVICE = xc2vp30ff896-7
|
17 |
|
|
|
18 |
|
|
LANGUAGE = vhdl
|
19 |
|
|
|
20 |
|
|
SEARCHPATHOPT = -lp /home/smanz/xilinx-vhdl/lib/ -lp edk_user_repository/ -lp /home/smanz/Diplomarbeit/main/trunk/viewer/edk_user_repository/
|
21 |
|
|
|
22 |
|
|
SUBMODULE_OPT =
|
23 |
|
|
|
24 |
|
|
PLATGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(SUBMODULE_OPT)
|
25 |
|
|
|
26 |
|
|
LIBGEN_OPTIONS = -mhs $(MHSFILE) -p $(DEVICE) $(SEARCHPATHOPT)
|
27 |
|
|
|
28 |
|
|
VPGEN_OPTIONS = -p $(DEVICE) $(SEARCHPATHOPT)
|
29 |
|
|
|
30 |
|
|
TESTAPP_MEMORY_OUTPUT_DIR = TestApp_Memory
|
31 |
|
|
TESTAPP_MEMORY_OUTPUT = $(TESTAPP_MEMORY_OUTPUT_DIR)/executable.elf
|
32 |
|
|
|
33 |
|
|
TESTAPP_PERIPHERAL_OUTPUT_DIR = TestApp_Peripheral
|
34 |
|
|
TESTAPP_PERIPHERAL_OUTPUT = $(TESTAPP_PERIPHERAL_OUTPUT_DIR)/executable.elf
|
35 |
|
|
|
36 |
|
|
MICROBLAZE_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop.elf
|
37 |
|
|
PPC405_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc405/ppc_bootloop.elf
|
38 |
|
|
PPC440_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc440/ppc440_bootloop.elf
|
39 |
|
|
BOOTLOOP_DIR = bootloops
|
40 |
|
|
|
41 |
|
|
PPC405_0_BOOTLOOP = $(BOOTLOOP_DIR)/ppc405_0.elf
|
42 |
|
|
|
43 |
|
|
PPC405_1_BOOTLOOP = $(BOOTLOOP_DIR)/ppc405_1.elf
|
44 |
|
|
|
45 |
|
|
BRAMINIT_ELF_FILES = $(TESTAPP_PERIPHERAL_OUTPUT)
|
46 |
|
|
BRAMINIT_ELF_FILE_ARGS = -pe ppc405_0 $(TESTAPP_PERIPHERAL_OUTPUT)
|
47 |
|
|
|
48 |
|
|
ALL_USER_ELF_FILES = $(TESTAPP_MEMORY_OUTPUT) $(TESTAPP_PERIPHERAL_OUTPUT)
|
49 |
|
|
|
50 |
|
|
SIM_CMD = vsim
|
51 |
|
|
|
52 |
|
|
BEHAVIORAL_SIM_SCRIPT = simulation/behavioral/$(SYSTEM).do
|
53 |
|
|
|
54 |
|
|
STRUCTURAL_SIM_SCRIPT = simulation/structural/$(SYSTEM).do
|
55 |
|
|
|
56 |
|
|
TIMING_SIM_SCRIPT = simulation/timing/$(SYSTEM).do
|
57 |
|
|
|
58 |
|
|
DEFAULT_SIM_SCRIPT = $(BEHAVIORAL_SIM_SCRIPT)
|
59 |
|
|
|
60 |
|
|
MIX_LANG_SIM_OPT = -mixed yes
|
61 |
|
|
|
62 |
|
|
SIMGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_FILE_ARGS) $(MIX_LANG_SIM_OPT) -s mti
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
LIBRARIES = \
|
66 |
|
|
ppc405_0/lib/libxil.a \
|
67 |
|
|
ppc405_1/lib/libxil.a
|
68 |
|
|
VPEXEC = virtualplatform/vpexec
|
69 |
|
|
|
70 |
|
|
LIBSCLEAN_TARGETS = ppc405_0_libsclean ppc405_1_libsclean
|
71 |
|
|
|
72 |
|
|
PROGRAMCLEAN_TARGETS = TestApp_Memory_programclean TestApp_Peripheral_programclean
|
73 |
|
|
|
74 |
|
|
CORE_STATE_DEVELOPMENT_FILES = /home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_checkff_fifo.vhd \
|
75 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_check_FF.vhd \
|
76 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_dequant_multiplier.vhd \
|
77 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_dequantize.vhd \
|
78 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_dezigzag.vhd \
|
79 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_header.vhd \
|
80 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_ht_nr_of_symbols.vhd \
|
81 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_ht_tables.vhd \
|
82 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_huffman.vhd \
|
83 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_idct_core_12.vhd \
|
84 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_idct.vhd \
|
85 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_input_fifo.vhd \
|
86 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_qt_sr.vhd \
|
87 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_upsampling.vhd \
|
88 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg.vhd \
|
89 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/jpeg_YCbCr2RGB.vhd \
|
90 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/vga_memory.vhd \
|
91 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/vga_signals.vhd \
|
92 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/vga.vhd \
|
93 |
|
|
/home/smanz/Diplomarbeit/main/trunk/mjpeg/pcores/myipif/hdl/vhdl/myipif.vhd
|
94 |
|
|
|
95 |
|
|
WRAPPER_NGC_FILES = implementation/ppc405_0_wrapper.ngc \
|
96 |
|
|
implementation/jtagppc_0_wrapper.ngc \
|
97 |
|
|
implementation/reset_block_wrapper.ngc \
|
98 |
|
|
implementation/plb_wrapper.ngc \
|
99 |
|
|
implementation/opb_wrapper.ngc \
|
100 |
|
|
implementation/plb2opb_wrapper.ngc \
|
101 |
|
|
implementation/rs232_uart_1_wrapper.ngc \
|
102 |
|
|
implementation/ddr_512mb_64mx64_rank2_row13_col10_cl2_5_wrapper.ngc \
|
103 |
|
|
implementation/plb_bram_if_cntlr_1_wrapper.ngc \
|
104 |
|
|
implementation/plb_bram_if_cntlr_1_bram_wrapper.ngc \
|
105 |
|
|
implementation/sysclk_inv_wrapper.ngc \
|
106 |
|
|
implementation/clk90_inv_wrapper.ngc \
|
107 |
|
|
implementation/ddr_clk90_inv_wrapper.ngc \
|
108 |
|
|
implementation/dcm_0_wrapper.ngc \
|
109 |
|
|
implementation/dcm_1_wrapper.ngc \
|
110 |
|
|
implementation/myipif_0_wrapper.ngc \
|
111 |
|
|
implementation/ppc405_1_wrapper.ngc
|
112 |
|
|
|
113 |
|
|
POSTSYN_NETLIST = implementation/$(SYSTEM).ngc
|
114 |
|
|
|
115 |
|
|
SYSTEM_BIT = implementation/$(SYSTEM).bit
|
116 |
|
|
|
117 |
|
|
DOWNLOAD_BIT = implementation/download.bit
|
118 |
|
|
|
119 |
|
|
SYSTEM_ACE = implementation/$(SYSTEM).ace
|
120 |
|
|
|
121 |
|
|
UCF_FILE = data/system.ucf
|
122 |
|
|
|
123 |
|
|
BMM_FILE = implementation/$(SYSTEM).bmm
|
124 |
|
|
|
125 |
|
|
BITGEN_UT_FILE = etc/bitgen.ut
|
126 |
|
|
|
127 |
|
|
XFLOW_OPT_FILE = etc/fast_runtime.opt
|
128 |
|
|
XFLOW_DEPENDENCY = __xps/xpsxflow.opt $(XFLOW_OPT_FILE)
|
129 |
|
|
|
130 |
|
|
XPLORER_DEPENDENCY = __xps/xplorer.opt
|
131 |
|
|
XPLORER_OPTIONS = -p $(DEVICE) -uc $(SYSTEM).ucf -bm $(SYSTEM).bmm -max_runs 7
|
132 |
|
|
|
133 |
|
|
FPGA_IMP_DEPENDENCY = $(BMM_FILE) $(POSTSYN_NETLIST) $(UCF_FILE) $(BITGEN_UT_FILE) $(XFLOW_DEPENDENCY)
|
134 |
|
|
|
135 |
|
|
#################################################################
|
136 |
|
|
# SOFTWARE APPLICATION TESTAPP_MEMORY
|
137 |
|
|
#################################################################
|
138 |
|
|
|
139 |
|
|
TESTAPP_MEMORY_SOURCES = TestApp_Memory/src/TestApp_Memory.c
|
140 |
|
|
|
141 |
|
|
TESTAPP_MEMORY_HEADERS =
|
142 |
|
|
|
143 |
|
|
TESTAPP_MEMORY_CC = powerpc-eabi-gcc
|
144 |
|
|
TESTAPP_MEMORY_CC_SIZE = powerpc-eabi-size
|
145 |
|
|
TESTAPP_MEMORY_CC_OPT = -O2
|
146 |
|
|
TESTAPP_MEMORY_CFLAGS =
|
147 |
|
|
TESTAPP_MEMORY_CC_SEARCH = # -B
|
148 |
|
|
TESTAPP_MEMORY_LIBPATH = -L./ppc405_0/lib/ # -L
|
149 |
|
|
TESTAPP_MEMORY_INCLUDES = -I./ppc405_0/include/ # -I
|
150 |
|
|
TESTAPP_MEMORY_LFLAGS = # -l
|
151 |
|
|
TESTAPP_MEMORY_LINKER_SCRIPT = TestApp_Memory/src/TestApp_Memory_LinkScr.ld
|
152 |
|
|
TESTAPP_MEMORY_LINKER_SCRIPT_FLAG = -Wl,-T -Wl,$(TESTAPP_MEMORY_LINKER_SCRIPT)
|
153 |
|
|
TESTAPP_MEMORY_CC_DEBUG_FLAG = -g
|
154 |
|
|
TESTAPP_MEMORY_CC_PROFILE_FLAG = # -pg
|
155 |
|
|
TESTAPP_MEMORY_CC_GLOBPTR_FLAG= # -msdata=eabi
|
156 |
|
|
TESTAPP_MEMORY_CC_START_ADDR_FLAG= # # -Wl,-defsym -Wl,_START_ADDR=
|
157 |
|
|
TESTAPP_MEMORY_CC_STACK_SIZE_FLAG= # # -Wl,-defsym -Wl,_STACK_SIZE=
|
158 |
|
|
TESTAPP_MEMORY_CC_HEAP_SIZE_FLAG= # # -Wl,-defsym -Wl,_HEAP_SIZE=
|
159 |
|
|
TESTAPP_MEMORY_OTHER_CC_FLAGS= $(TESTAPP_MEMORY_CC_GLOBPTR_FLAG) \
|
160 |
|
|
$(TESTAPP_MEMORY_CC_START_ADDR_FLAG) $(TESTAPP_MEMORY_CC_STACK_SIZE_FLAG) $(TESTAPP_MEMORY_CC_HEAP_SIZE_FLAG) \
|
161 |
|
|
$(TESTAPP_MEMORY_LINKER_SCRIPT_FLAG) $(TESTAPP_MEMORY_CC_DEBUG_FLAG) $(TESTAPP_MEMORY_CC_PROFILE_FLAG)
|
162 |
|
|
|
163 |
|
|
#################################################################
|
164 |
|
|
# SOFTWARE APPLICATION TESTAPP_PERIPHERAL
|
165 |
|
|
#################################################################
|
166 |
|
|
|
167 |
|
|
TESTAPP_PERIPHERAL_SOURCES = TestApp_Peripheral/src/TestApp_Peripheral.c
|
168 |
|
|
|
169 |
|
|
TESTAPP_PERIPHERAL_HEADERS =
|
170 |
|
|
|
171 |
|
|
TESTAPP_PERIPHERAL_CC = powerpc-eabi-gcc
|
172 |
|
|
TESTAPP_PERIPHERAL_CC_SIZE = powerpc-eabi-size
|
173 |
|
|
TESTAPP_PERIPHERAL_CC_OPT = -O2
|
174 |
|
|
TESTAPP_PERIPHERAL_CFLAGS =
|
175 |
|
|
TESTAPP_PERIPHERAL_CC_SEARCH = # -B
|
176 |
|
|
TESTAPP_PERIPHERAL_LIBPATH = -L./ppc405_0/lib/ # -L
|
177 |
|
|
TESTAPP_PERIPHERAL_INCLUDES = -I./ppc405_0/include/ # -I
|
178 |
|
|
TESTAPP_PERIPHERAL_LFLAGS = # -l
|
179 |
|
|
TESTAPP_PERIPHERAL_LINKER_SCRIPT = TestApp_Peripheral/src/TestApp_Peripheral_LinkScr.ld
|
180 |
|
|
TESTAPP_PERIPHERAL_LINKER_SCRIPT_FLAG = -Wl,-T -Wl,$(TESTAPP_PERIPHERAL_LINKER_SCRIPT)
|
181 |
|
|
TESTAPP_PERIPHERAL_CC_DEBUG_FLAG = -g
|
182 |
|
|
TESTAPP_PERIPHERAL_CC_PROFILE_FLAG = # -pg
|
183 |
|
|
TESTAPP_PERIPHERAL_CC_GLOBPTR_FLAG= # -msdata=eabi
|
184 |
|
|
TESTAPP_PERIPHERAL_CC_START_ADDR_FLAG= # # -Wl,-defsym -Wl,_START_ADDR=
|
185 |
|
|
TESTAPP_PERIPHERAL_CC_STACK_SIZE_FLAG= # # -Wl,-defsym -Wl,_STACK_SIZE=
|
186 |
|
|
TESTAPP_PERIPHERAL_CC_HEAP_SIZE_FLAG= # # -Wl,-defsym -Wl,_HEAP_SIZE=
|
187 |
|
|
TESTAPP_PERIPHERAL_OTHER_CC_FLAGS= $(TESTAPP_PERIPHERAL_CC_GLOBPTR_FLAG) \
|
188 |
|
|
$(TESTAPP_PERIPHERAL_CC_START_ADDR_FLAG) $(TESTAPP_PERIPHERAL_CC_STACK_SIZE_FLAG) $(TESTAPP_PERIPHERAL_CC_HEAP_SIZE_FLAG) \
|
189 |
|
|
$(TESTAPP_PERIPHERAL_LINKER_SCRIPT_FLAG) $(TESTAPP_PERIPHERAL_CC_DEBUG_FLAG) $(TESTAPP_PERIPHERAL_CC_PROFILE_FLAG)
|