|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Jul 17 02:46:16 CEST 2006
Subject: [cvs-checkins] MODIFIED: mb-jpeg ...
Date: 00/06/07 17:02:46 Modified: mb-jpeg system.log system.make system_incl.make system.xmp Log: Add encoder software project Revision Changes Path 1.6 mb-jpeg/system.log http://www.opencores.org/cvsweb.shtml/mb-jpeg/system.log.diff?r1=1.5&r2=1.6 (In the diff below, changes in quantity of whitespace are not shown.) Index: system.log =================================================================== RCS file: /cvsroot/quickwayne/mb-jpeg/system.log,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- system.log 6 Jul 2006 23:38:43 -0000 1.5 +++ system.log 17 Jul 2006 00:46:16 -0000 1.6 @@ -5427,3 +5427,575 @@ Done! +Xilinx Platform Studio (XPS) +Xilinx EDK 8.1 Build EDK_I.18.7 + +Copyright (c) 1995-2006 Xilinx, Inc. All rights reserved. + +At Local date and time: Sun Jul 16 23:45:17 2006 + xbash -q -c "cd /cygdrive/d/mb-jpeg/; /usr/bin/make -f system.make program; exit;" started... + +********************************************* + + +Creating software libraries... +********************************************* + + +libgen -mhs system.mhs -p xc2vp30ff896-7 -lp D:/XilinxXUP/lib/ system.mss + + +libgen +Xilinx EDK 8.1 Build EDK_I.18.7 +Copyright (c) 1995-2006 Xilinx, Inc. All rights reserved. + + + +Command Line: libgen -mhs system.mhs -p xc2vp30ff896-7 -lp D:/XilinxXUP/lib/ +system.mss + + + +Output Directory (-od) : D:\mb-jpeg\ +Part (-p) : virtex2p + +Software Specification file : system.mss + + +Sourcing tcl file +C:/EDK/hw/XilinxProcessorIPLib/pcores/microblaze_v4_00_a/data/microblaze_v2_1_0. +tcl ... + + +Sourcing tcl file +C:/EDK/hw/XilinxProcessorIPLib/pcores/opb_mdm_v2_00_a/data/opb_mdm_v2_1_0.tcl +... +Sourcing tcl file +C:/EDK/hw/XilinxProcessorIPLib/pcores/lmb_v10_v1_00_a/data/lmb_v10_v2_1_0.tcl +... +Sourcing tcl file +C:/EDK/hw/XilinxProcessorIPLib/pcores/lmb_bram_if_cntlr_v1_00_b/data/lmb_bram_if +_cntlr_v2_1_0.tcl ... + + +Sourcing tcl file +C:/EDK/hw/XilinxProcessorIPLib/pcores/opb_sysace_v1_00_c/data/opb_sysace_v2_1_0. +tcl ... + + +Sourcing tcl file +C:/EDK/hw/XilinxProcessorIPLib/pcores/dcm_module_v1_00_a/data/dcm_module_v2_1_0. +tcl ... + + + +Overriding IP level properties ... +microblaze (microblaze_0) - +C:\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v4_00_a\data\microblaze_v2_1_0. +mpd line 63 - tool overriding c_family value virtex2 to virtex2p +microblaze (microblaze_0) - +C:\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v4_00_a\data\microblaze_v2_1_0. +mpd line 64 - tool overriding c_instance value microblaze to microblaze_0 +microblaze (microblaze_0) - +C:\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v4_00_a\data\microblaze_v2_1_0. +mpd:93 - tcl overriding C_ADDR_TAG_BITS value 17 to 0 +microblaze (microblaze_0) - +C:\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v4_00_a\data\microblaze_v2_1_0. +mpd:100 - tcl overriding C_DCACHE_ADDR_TAG value 17 to 0 +opb_mdm (debug_module) - +C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_mdm_v2_00_a\data\opb_mdm_v2_1_0.mpd
+line 42 - tool overriding c_family value virtex2 to virtex2p
+bram_block (lmb_bram) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
+mpd line 42 - tool overriding c_family value virtex2 to virtex2p
+opb_gpio (leds_4bit) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
+line 41 - tool overriding c_family value virtex2 to virtex2p
+opb_gpio (dipsws_4bit) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
+line 41 - tool overriding c_family value virtex2 to virtex2p
+opb_gpio (pushbuttons_5bit) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
+line 41 - tool overriding c_family value virtex2 to virtex2p
+dcm_module (dcm_0) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\dcm_module_v1_00_a\data\dcm_module_v2_1_0.
+mpd line 60 - tool overriding c_family value virtex2 to virtex2p
+bram_block (data_bram_0) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
+mpd line 42 - tool overriding c_family value virtex2 to virtex2p
+bram_block (data_bram_1) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
+mpd line 42 - tool overriding c_family value virtex2 to virtex2p
+
+Performing IP level DRCs on properties...
+
+Running DRC Tcl procedures for OPTION IPLEVEL_DRC_PROC...
+Sourcing tcl file
+C:/EDK/hw/XilinxProcessorIPLib/pcores/bram_if_cntlr_v1_00_b/data/bram_if_cntlr_v
+2_1_0.tcl ...
+Sourcing tcl file
+C:/EDK/hw/XilinxProcessorIPLib/pcores/bram_if_cntlr_v1_00_b/data/bram_if_cntlr_v
+2_1_0.tcl ...
+
+
+Sourcing tcl file
+C:/EDK/hw/XilinxProcessorIPLib/pcores/bram_if_cntlr_v1_00_b/data/bram_if_cntlr_v
+2_1_0.tcl ...
+Sourcing tcl file
+C:/EDK/hw/XilinxProcessorIPLib/pcores/bram_if_cntlr_v1_00_b/data/bram_if_cntlr_v
+2_1_0.tcl ...
+
+
+Address Map for Processor microblaze_0
+ (0x00000000-0x0000ffff) dlmb_cntlr dlmb
+ (0x00000000-0x0000ffff) ilmb_cntlr ilmb
+ (0x40000000-0x4000ffff) PushButtons_5Bit mb_opb
+ (0x40020000-0x4002ffff) LEDs_4Bit mb_opb
+ (0x40040000-0x4004ffff) DIPSWs_4Bit mb_opb
+ (0x40600000-0x4060ffff) RS232_Uart_1 mb_opb
+ (0x41400000-0x4140ffff) debug_module mb_opb
+ (0x41800000-0x4180ffff) SysACE_CompactFlash mb_opb
+ (0x70000000-0x7000ffff) data_bram_if_cntlr_0 dlmb
+ (0x70010000-0x7001ffff) data_bram_if_cntlr_1 dlmb
+
+Check platform configuration ...
+opb_v20 (mb_opb) - D:\mb-jpeg\system.mhs line 55 - 2 master(s) : 6 slave(s)
+lmb_v10 (ilmb) - D:\mb-jpeg\system.mhs line 81 - 1 master(s) : 1 slave(s)
+lmb_v10 (dlmb) - D:\mb-jpeg\system.mhs line 89 - 1 master(s) : 3 slave(s)
+
+Check port drivers...
+
+
+WARNING:MDT - dcm_0_lock (LOCKED) - D:\mb-jpeg\system.mhs line 208 - floating
+ connection!
+
+Check platform address map ...
+
+Overriding system level properties ...
+opb_v20 (mb_opb) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_v20_v1_10_c\data\opb_v20_v2_1_0.mpd
+line 39 - tool overriding c_num_masters value 4 to 2
+opb_v20 (mb_opb) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_v20_v1_10_c\data\opb_v20_v2_1_0.mpd
+line 40 - tool overriding c_num_slaves value 4 to 6
+lmb_v10 (ilmb) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\lmb_v10_v1_00_a\data\lmb_v10_v2_1_0.mpd
+line 39 - tool overriding c_lmb_num_slaves value 4 to 1
+lmb_v10 (dlmb) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\lmb_v10_v1_00_a\data\lmb_v10_v2_1_0.mpd
+line 39 - tool overriding c_lmb_num_slaves value 4 to 3
+lmb_bram_if_cntlr (dlmb_cntlr) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\lmb_bram_if_cntlr_v1_00_b\data\lmb_bram_if
+_cntlr_v2_1_0.mpd line 45 - tool overriding c_mask value 0x00800000 to
+0x70c70000
+lmb_bram_if_cntlr (ilmb_cntlr) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\lmb_bram_if_cntlr_v1_00_b\data\lmb_bram_if
+_cntlr_v2_1_0.mpd line 45 - tool overriding c_mask value 0x00800000 to
+0x70c70000
+bram_block (lmb_bram) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
+mpd line 38 - tool overriding c_memsize value 2048 to 0x10000
+bram_block (data_bram_0) - D:\mb-jpeg\system.mhs line 214 - tool overriding
+c_memsize value 16384 to 0x10000
+lmb_bram_if_cntlr (data_bram_if_cntlr_0) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\lmb_bram_if_cntlr_v1_00_b\data\lmb_bram_if
+_cntlr_v2_1_0.mpd line 45 - tool overriding c_mask value 0x00800000 to
+0x70c70000
+bram_block (data_bram_1) - D:\mb-jpeg\system.mhs line 230 - tool overriding
+c_memsize value 16384 to 0x10000
+lmb_bram_if_cntlr (data_bram_if_cntlr_1) -
+C:\EDK\hw\XilinxProcessorIPLib\pcores\lmb_bram_if_cntlr_v1_00_b\data\lmb_bram_if
+_cntlr_v2_1_0.mpd line 45 - tool overriding c_mask value 0x00800000 to
+0x70c70000
+
+Running DRC Tcl procedures for OPTION SYSLEVEL_DRC_PROC...
+
+Performing System level DRCs on properties...
+
+
+INFO:MDT - List of peripherals addressable from processor instance microblaze_0
+ :
+ - dlmb
+WARNING:MDT - D:\mb-jpeg\system.mhs line 89 - No Driver Found for instance dlmb.
+ To avoid seeing this warning, assign the appropriate driver or driver
+ "generic 1.00.a " to instance dlmb
+
+ - dlmb_cntlr
+ - data_bram_if_cntlr_0
+ - data_bram_if_cntlr_1
+ - ilmb
+WARNING:MDT - D:\mb-jpeg\system.mhs line 81 - No Driver Found for instance ilmb.
+ To avoid seeing this warning, assign the appropriate driver or driver
+ "generic 1.00.a " to instance ilmb
+
+ - ilmb_cntlr
+ - mb_opb
+ - debug_module
+ - RS232_Uart_1
+ - SysACE_CompactFlash
+ - LEDs_4Bit
+ - DIPSWs_4Bit
+ - PushButtons_5Bit
+
+
+
+Building Directory Structure for microblaze_0
+
+
+
+Generating platform libraries and device drivers ...
+
+Running CopyFiles ...
+
+Copying files for os standalone_v1_00_a from
+C:\EDK\sw\lib\bsp\standalone_v1_00_a\src\ to
+D:\mb-jpeg\microblaze_0\libsrc\standalone_v1_00_a\ ...
+
+
+
+Copying files for driver opbarb_v1_02_a from
+C:\EDK\sw\XilinxProcessorIPLib\drivers\opbarb_v1_02_a\src\ to
+D:\mb-jpeg\microblaze_0\libsrc\opbarb_v1_02_a\ ...
+
+
+
+Copying files for driver uartlite_v1_00_b from
+C:\EDK\sw\XilinxProcessorIPLib\drivers\uartlite_v1_00_b\src\ to
+D:\mb-jpeg\microblaze_0\libsrc\uartlite_v1_00_b\ ...
+
+
+
+Copying files for driver sysace_v1_00_a from
+C:\EDK\sw\XilinxProcessorIPLib\drivers\sysace_v1_00_a\src\ to
+D:\mb-jpeg\microblaze_0\libsrc\sysace_v1_00_a\ ...
+
+
+
+Copying files for driver gpio_v2_00_a from
+C:\EDK\sw\XilinxProcessorIPLib\drivers\gpio_v2_00_a\src\ to
+D:\mb-jpeg\microblaze_0\libsrc\gpio_v2_00_a\ ...
+
+
+
+Copying files for driver cpu_v1_00_a from
+C:\EDK\sw\XilinxProcessorIPLib\drivers\cpu_v1_00_a\src\ to
+D:\mb-jpeg\microblaze_0\libsrc\cpu_v1_00_a\ ...
+
+
+
+Copying files for library xilfatfs_v1_00_a from
+C:\EDK\sw\lib\sw_services\xilfatfs_v1_00_a\src\ to
+D:\mb-jpeg\microblaze_0\libsrc\xilfatfs_v1_00_a\ ...
+
+
+
+Running DRCs for OSes, Drivers and Libraries ...
+
+Running generate for OS'es, Drivers and Libraries ...
+
+
+Copying Library Files ...
+
+
+
+Running post_generate for OS'es, Drivers and Libraries ...
+
+
+
+Running make for Drivers and Libraries ...
+
+Configuring make for target include using:
+
+make -s include "COMPILER=mb-gcc" "ARCHIVER=mb-ar"
+"COMPILER_FLAGS=-mno-xl-soft-mul -O2 -c" "EXTRA_COMPILER_FLAGS=-g"
+
+
+
+Configuring make for target libs using:
+
+make -s libs "COMPILER=mb-gcc" "ARCHIVER=mb-ar"
+"COMPILER_FLAGS=-mno-xl-soft-mul -O2 -c" "EXTRA_COMPILER_FLAGS=-g"
+Compiling common
+
+
+Compiling ipif
+
+
+Compiling microblaze_disable_dcache.s
+Compiling microblaze_disable_exceptions.s
+
+
+Compiling microblaze_disable_icache.s
+
+
+Compiling microblaze_disable_interrupts.s
+
+
+Compiling microblaze_enable_dcache.s
+
+
+Compiling microblaze_enable_exceptions.s
+
+
+Compiling microblaze_enable_icache.s
+
+
+Compiling microblaze_enable_interrupts.s
+Compiling microblaze_init_dcache_range.s
+
+
+Compiling microblaze_init_icache_range.s
+
+
+Compiling microblaze_update_dcache.s
+
+
+Compiling microblaze_update_icache.s
+Compiling _exit.c
+
+
+Compiling errno.c
+
+
+Compiling fcntl.c
+
+
+Compiling inbyte.c
+
+
+Compiling microblaze_exception_handler.c
+
+
+Compiling microblaze_exceptions_g.c
+
+
+Compiling microblaze_interrupt_handler.c
+
+
+Compiling microblaze_interrupts_g.c
+
+
+Compiling outbyte.c
+
+
+Compiling hw_exception_handler.S
+
+
+Compiling src/xilfatfs_alloc.c
+
+
+Compiling src/xilfatfs_close.c
+
+
+Compiling src/xilfatfs_directory.c
+
+
+Compiling src/xilfatfs_fat.c
+
+
+Compiling src/xilfatfs_fat16.c
+
+
+Compiling src/xilfatfs_fat32.c
+
+
+Compiling src/xilfatfs_filespec.c
+
+
+Compiling src/xilfatfs_filestatus.c
+
+
+Compiling src/xilfatfs_open.c
+
+
+Compiling src/xilfatfs_part.c
+
+
+Compiling src/xilfatfs_read.c
+
+
+Compiling src/xilfatfs_wd.c
+Compiling src/xilfatfs_stats.c
+
+
+Compiling src/xilfatfs_bufcache.c
+
+
+Compiling src/xilfatfs_write.c
+
+
+Compiling src/xilfatfs_sysace.c
+
+
+make clean
+
+
+Compiling opbarb
+
+
+Compiling uartlite
+
+
+Compiling sysace
+
+
+Compiling gpio
+
+
+Compiling cpu
+
+
+
+Libraries generated in D:\mb-jpeg\microblaze_0\lib\ directory
+
+Running execs_generate for OS'es, Drivers and Libraries ...
+
+LibGen Done.
+
+
+mb-gcc -O2 testbench1/tb1.c -o Testbench1/executable.elf \
+ -mno-xl-soft-mul -g -I./microblaze_0/include/ -Itestbench1/ -L./microblaze_0/lib/ \
+
+
+
+mb-size Testbench1/executable.elf
+
+
+ text data bss dec hex filename
+ 21600 144 13832 35576 8af8 Testbench1/executable.elf
+
+
+mb-gcc -O2 encoder/dct.c encoder/huffman.c encoder/io.c encoder/main.c encoder/zzq.c -o Encoder/executable.elf \
+ -mno-xl-soft-mul -g -I./microblaze_0/include/ -L./microblaze_0/lib/ \
+
+
+
+encoder/dct.c:105:3: warning: no newline at end of file
+
+
+encoder/huffman.c: In function `HuffmanEncodeFinishSend':
+encoder/huffman.c:545: warning: comparison is always true due to limited range of data type
+encoder/huffman.c: In function `EncodeDataUnit':
+encoder/huffman.c:588: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+encoder/huffman.c:603: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+
+
+encoder/main.c:14:21: windows.h: No such file or directory
+encoder/main.c: In function `main':
+encoder/main.c:45: error: `LARGE_INTEGER' undeclared (first use in this function)
+encoder/main.c:45: error: (Each undeclared identifier is reported only once
+encoder/main.c:45: error: for each function it appears in.)
+encoder/main.c:45: error: parse error before "st"
+encoder/main.c:85: error: `st' undeclared (first use in this function)
+encoder/main.c:153: error: `en' undeclared (first use in this function)
+
+
+encoder/zzq.c:75:2: warning: no newline at end of file
+
+
+make: *** [Encoder/executable.elf] Error 1
+
+
+
+
+Done!
+
+At Local date and time: Sun Jul 16 23:48:16 2006
+ xbash -q -c "cd /cygdrive/d/mb-jpeg/; /usr/bin/make -f system.make program; exit;" started...
+
+mb-gcc -O2 encoder/dct.c encoder/huffman.c encoder/io.c encoder/main.c encoder/zzq.c -o Encoder/executable.elf \
+ -mno-xl-soft-mul -g -I./microblaze_0/include/ -L./microblaze_0/lib/ \
+
+
+
+encoder/dct.c:105:3: warning: no newline at end of file
+
+
+encoder/huffman.c: In function `HuffmanEncodeFinishSend':
+encoder/huffman.c:545: warning: comparison is always true due to limited range of data type
+encoder/huffman.c: In function `EncodeDataUnit':
+encoder/huffman.c:588: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+encoder/huffman.c:603: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+
+
+encoder/main.c: In function `main':
+encoder/main.c:155: error: request for member `QuadPart' in something not a structure or union
+encoder/main.c:155: error: request for member `QuadPart' in something not a structure or union
+
+
+encoder/zzq.c:75:2: warning: no newline at end of file
+
+
+make: *** [Encoder/executable.elf] Error 1
+
+
+
+
+Done!
+
+At Local date and time: Sun Jul 16 23:49:31 2006
+ xbash -q -c "cd /cygdrive/d/mb-jpeg/; /usr/bin/make -f system.make program; exit;" started...
+
+mb-gcc -O2 encoder/dct.c encoder/huffman.c encoder/io.c encoder/main.c encoder/zzq.c -o Encoder/executable.elf \
+ -mno-xl-soft-mul -Wp,-D__MICROBLAZE -g -I./microblaze_0/include/ -L./microblaze_0/lib/ \
+
+
+
+encoder/dct.c:105:3: warning: no newline at end of file
+
+
+encoder/huffman.c: In function `HuffmanEncodeFinishSend':
+encoder/huffman.c:545: warning: comparison is always true due to limited range of data type
+encoder/huffman.c: In function `EncodeDataUnit':
+encoder/huffman.c:588: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+encoder/huffman.c:603: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+
+
+encoder/zzq.c:75:2: warning: no newline at end of file
+
+
+/cygdrive/c/DOCUME~1/S041945/LOCALS~1/Temp/cc6gx8gy.o: In function `main':
+/cygdrive/d/mb-jpeg/encoder/main.c:76: undefined reference to `QueryPerformanceCounter'
+/cygdrive/d/mb-jpeg/encoder/main.c:87: undefined reference to `QueryPerformanceCounter'
+collect2: ld returned 1 exit status
+
+
+make: *** [Encoder/executable.elf] Error 1
+
+
+
+
+Done!
+
+At Local date and time: Sun Jul 16 23:50:58 2006
+ xbash -q -c "cd /cygdrive/d/mb-jpeg/; /usr/bin/make -f system.make program; exit;" started...
+
+mb-gcc -O2 encoder/dct.c encoder/huffman.c encoder/io.c encoder/main.c encoder/zzq.c -o Encoder/executable.elf \
+ -mno-xl-soft-mul -Wp,-D__MICROBLAZE -g -I./microblaze_0/include/ -L./microblaze_0/lib/ \
+
+
+
+encoder/dct.c:105:3: warning: no newline at end of file
+
+
+encoder/huffman.c: In function `HuffmanEncodeFinishSend':
+encoder/huffman.c:545: warning: comparison is always true due to limited range of data type
+encoder/huffman.c: In function `EncodeDataUnit':
+encoder/huffman.c:588: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+encoder/huffman.c:603: warning: passing arg 3 of `ReverseExtend' from incompatible pointer type
+
+
+encoder/zzq.c:75:2: warning: no newline at end of file
+
+
+mb-size Encoder/executable.elf
+
+
+ text data bss dec hex filename
+ 78160 4196 2776 85132 14c8c Encoder/executable.elf
+
+
+
+
+Done!
+
1.4 mb-jpeg/system.make
http://www.opencores.org/cvsweb.shtml/mb-jpeg/system.make.diff?r1=1.3&r2=1.4
(In the diff below, changes in quantity of whitespace are not shown.)
Index: system.make
===================================================================
RCS file: /cvsroot/quickwayne/mb-jpeg/system.make,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- system.make 6 Jul 2006 23:38:43 -0000 1.3
+++ system.make 17 Jul 2006 00:46:16 -0000 1.4
@@ -148,6 +148,23 @@
rm -f $(TESTBENCH1_OUTPUT)
#################################################################
+# SOFTWARE APPLICATION ENCODER
+#################################################################
+
+Encoder_program: $(ENCODER_OUTPUT)
+
+$(ENCODER_OUTPUT) : $(ENCODER_SOURCES) $(ENCODER_HEADERS) $(ENCODER_LINKER_SCRIPT) \
+ $(LIBRARIES) __xps/encoder_compiler.opt
+ @mkdir -p $(ENCODER_OUTPUT_DIR)
+ $(ENCODER_CC) $(ENCODER_CC_OPT) $(ENCODER_SOURCES) -o $(ENCODER_OUTPUT) \
+ $(ENCODER_OTHER_CC_FLAGS) $(ENCODER_INCLUDES) $(ENCODER_LIBPATH) \
+ $(ENCODER_CFLAGS) $(ENCODER_LFLAGS)
+ $(ENCODER_CC_SIZE) $(ENCODER_OUTPUT)
+
+Encoder_programclean:
+ rm -f $(ENCODER_OUTPUT)
+
+#################################################################
# BOOTLOOP ELF FILES
#################################################################
@@ -201,11 +218,11 @@
-bt $(SYSTEM_BIT) -o $(DOWNLOAD_BIT)
@rm -f $(SYSTEM)_bd.bmm
-$(SYSTEM_ACE): $(DOWNLOAD_BIT) $(TESTBENCH1_OUTPUT)
+$(SYSTEM_ACE): $(DOWNLOAD_BIT) $(TESTBENCH1_OUTPUT) $(ENCODER_OUTPUT)
@echo "*********************************************"
@echo "Creating system ace file"
@echo "*********************************************"
- xmd -tcl genace.tcl -jprog -hw $(DOWNLOAD_BIT) -elf $(TESTBENCH1_OUTPUT) -target mdm -ace $(SYSTEM_ACE)
+ xmd -tcl genace.tcl -jprog -hw $(DOWNLOAD_BIT) -elf $(TESTBENCH1_OUTPUT) $(ENCODER_OUTPUT) -target mdm -ace $(SYSTEM_ACE)
#################################################################
# SIMULATION FLOW
1.6 mb-jpeg/system_incl.make
http://www.opencores.org/cvsweb.shtml/mb-jpeg/system_incl.make.diff?r1=1.5&r2=1.6
(In the diff below, changes in quantity of whitespace are not shown.)
Index: system_incl.make
===================================================================
RCS file: /cvsroot/quickwayne/mb-jpeg/system_incl.make,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- system_incl.make 6 Jul 2006 23:38:43 -0000 1.5
+++ system_incl.make 17 Jul 2006 00:46:16 -0000 1.6
@@ -31,6 +31,9 @@
TESTBENCH1_OUTPUT_DIR = Testbench1
TESTBENCH1_OUTPUT = $(TESTBENCH1_OUTPUT_DIR)/executable.elf
+ENCODER_OUTPUT_DIR = Encoder
+ENCODER_OUTPUT = $(ENCODER_OUTPUT_DIR)/executable.elf
+
MICROBLAZE_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop.elf
PPC405_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc405/ppc_bootloop.elf
PPC440_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc440/ppc440_bootloop.elf
@@ -39,10 +42,10 @@
MICROBLAZE_0_BOOTLOOP = $(BOOTLOOP_DIR)/microblaze_0.elf
MICROBLAZE_0_XMDSTUB = microblaze_0/code/xmdstub.elf
-BRAMINIT_ELF_FILES = $(TESTBENCH1_OUTPUT)
-BRAMINIT_ELF_FILE_ARGS = -pe microblaze_0 $(TESTBENCH1_OUTPUT)
+BRAMINIT_ELF_FILES = $(ENCODER_OUTPUT)
+BRAMINIT_ELF_FILE_ARGS = -pe microblaze_0 $(ENCODER_OUTPUT)
-ALL_USER_ELF_FILES = $(TESTBENCH1_OUTPUT)
+ALL_USER_ELF_FILES = $(TESTBENCH1_OUTPUT) $(ENCODER_OUTPUT)
SIM_CMD = vsim
@@ -66,7 +69,7 @@
LIBSCLEAN_TARGETS = microblaze_0_libsclean
-PROGRAMCLEAN_TARGETS = Testbench1_programclean
+PROGRAMCLEAN_TARGETS = Testbench1_programclean Encoder_programclean
CORE_STATE_DEVELOPMENT_FILES =
@@ -127,8 +130,8 @@
TESTBENCH1_CC_PREPROC_FLAG = # -Wp,
TESTBENCH1_CC_ASM_FLAG = # -Wa,
TESTBENCH1_CC_LINKER_FLAG = # -Wl,
-TESTBENCH1_LINKER_SCRIPT = Testbench1_linker_script.ld
-TESTBENCH1_LINKER_SCRIPT_FLAG = -Wl,-T -Wl,$(TESTBENCH1_LINKER_SCRIPT)
+TESTBENCH1_LINKER_SCRIPT =
+TESTBENCH1_LINKER_SCRIPT_FLAG = #-Wl,-T -Wl,$(TESTBENCH1_LINKER_SCRIPT)
TESTBENCH1_CC_DEBUG_FLAG = -g
TESTBENCH1_CC_PROFILE_FLAG = # -pg
TESTBENCH1_CC_GLOBPTR_FLAG= # -mxl-gp-opt
@@ -143,3 +146,39 @@
$(TESTBENCH1_CC_SOFTMUL_FLAG) \
$(TESTBENCH1_CC_PREPROC_FLAG) $(TESTBENCH1_CC_ASM_FLAG) $(TESTBENCH1_CC_LINKER_FLAG) \
$(TESTBENCH1_LINKER_SCRIPT_FLAG) $(TESTBENCH1_CC_DEBUG_FLAG) $(TESTBENCH1_CC_PROFILE_FLAG)
+
+#################################################################
+# SOFTWARE APPLICATION ENCODER
+#################################################################
+
+ENCODER_SOURCES = encoder/dct.c encoder/huffman.c encoder/io.c encoder/main.c encoder/zzq.c
+
+ENCODER_HEADERS =
+
+ENCODER_CC = mb-gcc
+ENCODER_CC_SIZE = mb-size
+ENCODER_CC_OPT = -O2
+ENCODER_CFLAGS =
+ENCODER_CC_SEARCH = # -B
+ENCODER_LIBPATH = -L./microblaze_0/lib/ # -L
+ENCODER_INCLUDES = -I./microblaze_0/include/ # -I
+ENCODER_LFLAGS = # -l
+ENCODER_CC_PREPROC_FLAG = -Wp,-D__MICROBLAZE
+ENCODER_CC_ASM_FLAG = # -Wa,
+ENCODER_CC_LINKER_FLAG = # -Wl,
+ENCODER_LINKER_SCRIPT =
+ENCODER_LINKER_SCRIPT_FLAG = #-Wl,-T -Wl,$(ENCODER_LINKER_SCRIPT)
+ENCODER_CC_DEBUG_FLAG = -g
+ENCODER_CC_PROFILE_FLAG = # -pg
+ENCODER_CC_GLOBPTR_FLAG= # -mxl-gp-opt
+ENCODER_MODE = executable
+ENCODER_LIBG_OPT = -$(ENCODER_MODE) microblaze_0
+ENCODER_CC_SOFTMUL_FLAG= -mno-xl-soft-mul
+ENCODER_CC_START_ADDR_FLAG= # -Wl,-defsym -Wl,_TEXT_START_ADDR=
+ENCODER_CC_STACK_SIZE_FLAG= # -Wl,-defsym -Wl,_STACK_SIZE=
+ENCODER_CC_HEAP_SIZE_FLAG= # -Wl,-defsym -Wl,_HEAP_SIZE=
+ENCODER_OTHER_CC_FLAGS= $(ENCODER_CC_GLOBPTR_FLAG) \
+ $(ENCODER_CC_START_ADDR_FLAG) $(ENCODER_CC_STACK_SIZE_FLAG) $(ENCODER_CC_HEAP_SIZE_FLAG) \
+ $(ENCODER_CC_SOFTMUL_FLAG) \
+ $(ENCODER_CC_PREPROC_FLAG) $(ENCODER_CC_ASM_FLAG) $(ENCODER_CC_LINKER_FLAG) \
+ $(ENCODER_LINKER_SCRIPT_FLAG) $(ENCODER_CC_DEBUG_FLAG) $(ENCODER_CC_PROFILE_FLAG)
1.6 mb-jpeg/system.xmp
http://www.opencores.org/cvsweb.shtml/mb-jpeg/system.xmp.diff?r1=1.5&r2=1.6
(In the diff below, changes in quantity of whitespace are not shown.)
Index: system.xmp
===================================================================
RCS file: /cvsroot/quickwayne/mb-jpeg/system.xmp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- system.xmp 6 Jul 2006 23:38:43 -0000 1.5
+++ system.xmp 17 Jul 2006 00:46:16 -0000 1.6
@@ -58,12 +58,35 @@
Source: testbench1/tb1.c
Header: testbench1/tb1.h
DefaultInit: executable
+InitBram: 0
+Active: 1
+CompilerOptLevel: 2
+GlobPtrOpt: 0
+DebugSym: 1
+ProfileFlag: 0
+AsmOpt:
+LinkOpt:
+ProgStart:
+StackSize:
+HeapSize:
+LinkerScript:
+ProgCCFlags:
+SwProj: Encoder
+Processor: microblaze_0
+Executable: Encoder/executable.elf
+Source: encoder/dct.c
+Source: encoder/huffman.c
+Source: encoder/io.c
+Source: encoder/main.c
+Source: encoder/zzq.c
+DefaultInit: EXECUTABLE
InitBram: 1
Active: 1
CompilerOptLevel: 2
GlobPtrOpt: 0
DebugSym: 1
ProfileFlag: 0
+PrepOpt: -D__MICROBLAZE
AsmOpt:
LinkOpt:
ProgStart:
|
 |