Difference between revisions of "Simulation Software/SimpleScalar"
(11 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
==[http://www.simplescalar.com/tools.html SimpleScalar ver. 3.0]== | ==[http://www.simplescalar.com/tools.html SimpleScalar ver. 3.0]== | ||
*[http://www.owlnet.rice.edu/~elec525/handouts/simplescalar_readme.txt Installation instructions from Rice] | *[http://www.owlnet.rice.edu/~elec525/handouts/simplescalar_readme.txt Installation instructions from Rice] | ||
− | *[http://research.iiit.ac.in/~abu_saad/simplescalarinstall.html Installation for Fedora 4], with list of errors and corrections | + | *[http://research.iiit.ac.in/~abu_saad/simplescalarinstall.html Installation for Fedora 4], with list of errors and corrections for gcc |
+ | :-Additional errors: | ||
+ | <code> | ||
+ | make[1]: Entering directory `/home/mike/simulation/simplesim/gcc-2.7.2.3/objc'<br> | ||
+ | /home/mike/simulation/simplesim/gcc-2.7.2.3/xgcc -B/home/mike/simulation/simplesim/gcc-2.7.2.3/ -O \<br> | ||
+ | -c -DCROSS_COMPILE -DIN_GCC -g -I./include -I. -I.. -I/home/mike/simulation/simplesim/gcc-2.7.2.3 -I/home/mike/simulation/simplesim/gcc-2.7.2.3/config hash.c <br> | ||
+ | as: unrecognized option `-EL' <br> | ||
+ | make[1]: *** [hash.o] Error 1 <br> | ||
+ | make[1]: Leaving directory `/home/mike/simulation/simplesim/gcc-2.7.2.3/objc' <br> | ||
+ | make: *** [libobjc.a] Error 2 <br> | ||
+ | </code><del> | ||
+ | *Prepend $PATH with /home/mike/simulation/simplesim/simpleutils-990811/gas | ||
+ | *In /home/mike/simulation/simplesim/simpleutils-990811/gas/, rename executable "as-new" -> "as" | ||
+ | </del> | ||
+ | *You didn't build the simpleutils, as is in the simplesim root folder <code>/simplesim/bin</code> | ||
+ | ---- | ||
+ | <code> | ||
+ | c-parse.h:64: error: redeclaration of enumerator ‘RETURN’ | ||
+ | rtl.def:473: error: previous definition of ‘RETURN’ was here | ||
+ | </code> | ||
+ | *Commented out line 64 in c-parse.h | ||
+ | ---- | ||
+ | <code> | ||
+ | In file included from c-lex.c:33: | ||
+ | c-parse.h:54: error: redeclaration of enumerator `RETURN' | ||
+ | rtl.def:473: error: previous definition of 'RETURN' was here | ||
+ | make: *** [c-lex.o] Error 1 | ||
+ | </code> | ||
+ | *Commented out line 54 in c-parse.h:54 | ||
+ | |||
+ | ---- | ||
+ | <code> | ||
+ | :<del>FIXME</del> // deleted word | ||
+ | :sll %3,%2,26 | ||
+ | : bgez %3,1f | ||
+ | : sll %M0,%L1,%2 | ||
+ | : %(b<span style="color:red">eq %2,%2,</span>3f // red text added | ||
+ | : move %L0,%z4%) | ||
+ | </code> | ||
:[http://www.simplescalar.com/extensions.html List of SimpleScalar extensions including HotSpot] | :[http://www.simplescalar.com/extensions.html List of SimpleScalar extensions including HotSpot] |
Latest revision as of 15:25, 29 October 2007
Contents
SimpleScalar ver. 2.0
SimpleScalar ver. 3.0
- Installation instructions from Rice
- Installation for Fedora 4, with list of errors and corrections for gcc
- -Additional errors:
make[1]: Entering directory `/home/mike/simulation/simplesim/gcc-2.7.2.3/objc'
/home/mike/simulation/simplesim/gcc-2.7.2.3/xgcc -B/home/mike/simulation/simplesim/gcc-2.7.2.3/ -O \
-c -DCROSS_COMPILE -DIN_GCC -g -I./include -I. -I.. -I/home/mike/simulation/simplesim/gcc-2.7.2.3 -I/home/mike/simulation/simplesim/gcc-2.7.2.3/config hash.c
as: unrecognized option `-EL'
make[1]: *** [hash.o] Error 1
make[1]: Leaving directory `/home/mike/simulation/simplesim/gcc-2.7.2.3/objc'
make: *** [libobjc.a] Error 2
- Prepend $PATH with /home/mike/simulation/simplesim/simpleutils-990811/gas
- In /home/mike/simulation/simplesim/simpleutils-990811/gas/, rename executable "as-new" -> "as"
- You didn't build the simpleutils, as is in the simplesim root folder
/simplesim/bin
c-parse.h:64: error: redeclaration of enumerator ‘RETURN’
rtl.def:473: error: previous definition of ‘RETURN’ was here
- Commented out line 64 in c-parse.h
In file included from c-lex.c:33:
c-parse.h:54: error: redeclaration of enumerator `RETURN'
rtl.def:473: error: previous definition of 'RETURN' was here
make: *** [c-lex.o] Error 1
- Commented out line 54 in c-parse.h:54
FIXME// deleted word- sll %3,%2,26
- bgez %3,1f
- sll %M0,%L1,%2
- %(beq %2,%2,3f // red text added
- move %L0,%z4%)
Sim Outorder
PTscalar
PTscalar users: Sudhee, 4th floor (Vrudhula); Deepa, 407; Sushu, 591
You must have this file, which is available nowhere, for this simulator to give you any output
You must have this file, which is available nowhere, for this simulator to give you any output