This is an old revision of the document!
Assignment #1: Processor Core Simulation
We will modify the Simplescalar simulator. While old, it is sufficient “simple” to allow us, in the time available, to gain experience on how to explore architectural options.
Here's what you will need:
1. The simplescalar simulator sources. 2. GNU GCC and BINUTILS toolchain which can generate and manipulate binaries for the simulated architecture (PISA a derivative of MIPS). 3. If you wish to run the gcc and the binutils you will have to install the cygwin environment on a windows machine. Make sure to install the 32-bit version. If you already have the 64-bit version installed, no worries, just install the 32-bit cygwin as well. They can happily co-exist.
Here's how to install cygwin32.
#1 and #2 above can be found here: Simplescalar sources and compilers.
How to install the compilers and compile your first program under cygwin.
How to compile one of the simplescalar simulators under cygwin.