URL
https://opencores.org/ocsvn/aemb/aemb/trunk
[/] [aemb/] [trunk/] [sw/] [gccrom] - Diff between revs 133 and 137
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 133 |
Rev 137 |
Line 1... |
Line 1... |
#!/bin/sh
|
#!/bin/sh
|
# $Id: gccrom,v 1.15 2008-04-26 10:03:00 sybreon Exp $
|
# $Id: gccrom,v 1.16 2008-04-26 18:08:33 sybreon Exp $
|
|
|
# Compile using C pre-processor
|
# Compile using C pre-processor
|
ELFFILE="rom"
|
ELFFILE="rom"
|
XILFLAGS="-mxl-soft-div -msoft-float -mxl-barrel-shift -mno-xl-soft-mul"
|
XILFLAGS="-mxl-soft-div -msoft-float -mxl-barrel-shift -mno-xl-soft-mul"
|
CXXFLAGS="-O0"
|
CXXFLAGS="-O0"
|
Line 22... |
Line 22... |
|
|
# Generate a Verilog VMEM file from the SREC file
|
# Generate a Verilog VMEM file from the SREC file
|
srec_cat $ELFFILE.srec -o ../sim/dump.vmem -vmem 32 && \
|
srec_cat $ELFFILE.srec -o ../sim/dump.vmem -vmem 32 && \
|
echo "srec=$?" && \
|
echo "srec=$?" && \
|
|
|
|
# echo the checksum
|
|
MD5=$(sha1sum $ELFFILE | cut -c1-32) && \
|
|
echo "sha1=$MD5" && \
|
|
|
# Cleanup code
|
# Cleanup code
|
rm $ELFFILE.srec && rm $ELFFILE
|
rm $ELFFILE.srec && rm $ELFFILE
|
|
|
# $Log: not supported by cvs2svn $
|
# $Log: not supported by cvs2svn $
|
|
# Revision 1.15 2008/04/26 10:03:00 sybreon
|
|
# Cleaned up script.
|
|
#
|
# Revision 1.14 2008/01/31 19:07:14 sybreon
|
# Revision 1.14 2008/01/31 19:07:14 sybreon
|
# Made code work with newlib's malloc();
|
# Made code work with newlib's malloc();
|
#
|
#
|
# Revision 1.13 2008/01/19 16:42:54 sybreon
|
# Revision 1.13 2008/01/19 16:42:54 sybreon
|
# Uses multiplier + barrel shifter as default.
|
# Uses multiplier + barrel shifter as default.
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.