Compiling the Simplescalar Simulators

I tried these on my windows machine with cygwin32, but it should work on a linux machine too.

Get the modified Simplescalar sources, myss.tbz from here: SStools.

Unpack it (I assume you already installed the toolchain, created a subdirectory ACA, and a compiled a test binary named hello):

cd ~/ACA;
bunzip2 -c myss.tbz | tar xvf -

The simulator is already configured to use the PISA instruction set. Let's compile the OOO core simulator:

make sim-outorder

Let's test it:

sim-outorder ../hello >& out

Open the out file and look for the following lines:

sim: \*\* starting performance simulation \*\*
Hello!

There will be oodles of statistics following that line.

Congrats all is working :) Or it seems that it is…