|
Message
From: cvs at opencores.org<cvs@o...>
Date: Sat Jan 19 17:42:54 CET 2008
Subject: [cvs-checkins] MODIFIED: aemb ...
Date: 00/08/01 19:17:42 Modified: aemb/sw gccrom Log: Uses multiplier + barrel shifter as default. Revision Changes Path 1.13 aemb/sw/gccrom http://www.opencores.org/cvsweb.shtml/aemb/sw/gccrom.diff?r1=1.12&r2=1.13 (In the diff below, changes in quantity of whitespace are not shown.) Index: gccrom =================================================================== RCS file: /cvsroot/sybreon/aemb/sw/gccrom,v retrieving revision 1.12 retrieving revision 1.13 diff -u -b -r1.12 -r1.13 --- gccrom 11 Dec 2007 00:44:32 -0000 1.12 +++ gccrom 19 Jan 2008 16:42:54 -0000 1.13 @@ -1,6 +1,28 @@ #!/bin/sh -# $Id: gccrom,v 1.12 2007/12/11 00:44:32 sybreon Exp $ +# $Id: gccrom,v 1.13 2008/01/19 16:42:54 sybreon Exp $ + +# Compile using C++ pre-processor +mb-g++ -g -Wl,-defsym -Wl,_HEAP_SIZE=0x800 -mxl-soft-div -msoft-float -mxl-barrel-shift -mno-xl-soft-mul -mno-clearbss $@ -o rom.elf -lc_m_bs -lm_m_bs && \ + +# Create a text listing of the compiled code +mb-objdump -DSC rom.elf > rom.dump && \ + +# Convert the ELF file to an SREC file +mb-objcopy -O srec rom.elf rom.srec && \ + +# Generate a Verilog VMEM file from the SREC file +srec_cat rom.srec -o ../sim/dump.vmem -vmem 32 && \ + +# Cleanup code +rm rom.srec && \ + +# Say Cheeze! +echo "ROM generated" + # $Log: gccrom,v $ +# Revision 1.13 2008/01/19 16:42:54 sybreon +# Uses multiplier + barrel shifter as default. +# # Revision 1.12 2007/12/11 00:44:32 sybreon # Modified for AEMB2 # @@ -38,22 +60,3 @@ # # Revision 1.1 2007/03/09 17:41:56 sybreon # initial import -# - -# Compile using C++ pre-processor -mb-g++ -g -Wl,-defsym -Wl,_STACK_SIZE=0x400 -mxl-soft-div -msoft-float -mxl-barrel-shift -mno-xl-soft-mul -o rom.elf $@ && \ - -# Create a text listing of the compiled code -mb-objdump -dSC rom.elf > rom.dump && \ - -# Convert the ELF file to an SREC file -mb-objcopy -O srec rom.elf rom.srec && \ - -# Generate a Verilog VMEM file from the SREC file -srec_cat rom.srec -o ../sim/dump.vmem -vmem 32 && \ - -# Cleanup code -rm rom.srec && \ - -# Say Cheeze! -echo "ROM generated"
|
 |