Help for the assignments in lab 1
- none
- Download all the files for the second assignment
in your local directory and simply type
make. The
programs will be compiled and then simulated on the SimpleScalar
architecture with sim-cache. The simulations take some time, so do
not worry if you think that the computer seems to do nothing (look at
the CPU-load indicator to see that it's actually doing a lot of
"hard work")
- Create 3 configuration files for
sim-cheetah,
e.g. d.cfg, i.cfg and u.cfg
and run a simulation based on each of these 3 files. For simplicity
of your actions, you may use a makefile like this one.
Just copy this file in the directory where you created the configuration files
and then type make.
When writing the configuration files, pay attention to the format of such files:
each simulator has a different set of arguments,
therefore each simulator has a different configuration file content.
You can obtain the default configuration file for sim-cheetah by typing:
sim-cheetah -q -dumpconfig file-name