Running the Simplescalar Simulator at Portland State University - ECE 587/687, Fall 2008 -, Study notes of Computer Architecture and Organization

Instructions for downloading, compiling, and running the simplescalar simulator at portland state university during the ece 587/687 course in fall 2008. It includes details on accessing the simulator source files, downloading instructions, simulator directories, and compiling and running the simulator.

Typology: Study notes

Pre 2010

Uploaded on 08/18/2009

koofers-user-ldo
koofers-user-ldo 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Portland State University
1
ECE 587/687 – Fall 2008
Alaa R. Alameldeen
© Copyright by Alaa Alameldeen and Haitham Akkary 2008
Running the Simplescalar
Simulator
Portland State University
ECE 587/687
2Portland State University ECE 587/687 Fall 2008
Documentation
nTutorial (hacker’s guide)
nTechnical report
nSimulator source files are well documented
nTutorial and technical report are available through
the class webpage
3Portland State University ECE 587/687 Fall 2008
Simulator Download Instructions
nDownload the following file:
uhttp://www.cecs.pdx.edu/~alaa/ece587/simulator/ss.tar.gz
nYou need to enter your user name and password
uUsername: Your last name
uPassword: First six digits of your PSU ID
nSave the file to your Solaris home directory
nFrom your home directory, unpack the file:
ugunzip ss.tar.gz
utar xvf ss.tar
nThe file creates a new directory “simulator” in your
home directory
4Portland State University ECE 587/687 Fall 2008
Simulator Directories
nSimulator models
usimulator/ss3/
nBenchmarks:
uSPEC95 binaries: simulator/bench/big/
uSPEC95 inputs: simulator/input/ref
uSPEC95 outputs: simulator/output/ref
uSmall tests: simulator/tests
ØSmall programs for you to read and understand
quickly
ØSource files also available in the same directory
5Portland State University ECE 587/687 Fall 2008
Compiling and Running the Simulator
nCompile Simplescalar:
uFrom a Solaris machine (e.g., nemo.ece.pdx.edu):
Øcd simulator/ss3/
Ømake
nRun benchmarks:
ucd $HOME_DIR/simulator
uRun.pl db bench.db dir results/gcc1 benchmark gcc sim
$HOME_dir/simulator/ss3/sim-outorder args “-fastfwd 100000000
max:inst 1000000” >& results/gcc1.out
nBenchmarks include: gcc, li, m88ksim, perl, vortex,
compress, and jpeg
nExample of running a small test
u$HOME_DIR/simulator/ss3/sim-outorder $HOME_DIR/simulator/tests/bubblesort

Partial preview of the text

Download Running the Simplescalar Simulator at Portland State University - ECE 587/687, Fall 2008 - and more Study notes Computer Architecture and Organization in PDF only on Docsity!

Portland State University

ECE 587/687 – Fall 2008

Alaa R. Alameldeen

© Copyright by Alaa Alameldeen and Haitham Akkary 2008

Running the Simplescalar

Simulator

Portland State University

ECE 587/

Portland State University – ECE 587/687 – Fall 2008 2

Documentation

n Tutorial (hacker’s guide)

n Technical report

n Simulator source files are well documented

n Tutorial and technical report are available through the class webpage

Portland State University – ECE 587/687 – Fall 2008 3

Simulator Download Instructions

n Download the following file: u http://www.cecs.pdx.edu/~alaa/ece587/simulator/ss.tar.gz n You need to enter your user name and password u Username: Your last name

u Password: First six digits of your PSU ID n Save the file to your Solaris home directory

n From your home directory, unpack the file: u gunzip ss.tar.gz

u tar xvf ss.tar n The file creates a new directory “simulator” in your home directory

Portland State University – ECE 587/687 – Fall 2008 4

Simulator Directories

n Simulator models

u simulator/ss3/

n Benchmarks:

u SPEC95 binaries: simulator/bench/big/

u SPEC95 inputs: simulator/input/ref

u SPEC95 outputs: simulator/output/ref

u Small tests: simulator/tests

ØSmall programs for you to read and understand

quickly

ØSource files also available in the same directory

Portland State University – ECE 587/687 – Fall 2008 5

Compiling and Running the Simulator

n Compile Simplescalar:

u From a Solaris machine (e.g., nemo.ece.pdx.edu): Øcd simulator/ss3/ Ømake

n Run benchmarks:

u cd $HOME_DIR/simulator u Run.pl –db bench.db –dir results/gcc1 –benchmark gcc –sim $HOME_dir/simulator/ss3/sim-outorder –args “-fastfwd 100000000 –max:inst 1000000” >& results/gcc1.out

n Benchmarks include: gcc, li, m88ksim, perl, vortex,

compress, and jpeg

n Example of running a small test

u $HOME_DIR/simulator/ss3/sim-outorder $HOME_DIR/simulator/tests/bubblesort