1) Begin by setting up the architecture in the trace options dialog box then click OK.



2) Execution can be stepped through a cycle at a time by clicking "S" on the tool bar,
clicking "T" will use the timer to step through the execution 1, 10, 100, or 1000 cycles
at a time (this value can be selected from the cycle pull down menu).



3) If you have misspeculative execution turned on, as you step through the execution you may notice
that some instructions flowing through processor are lined through. These instructions are a result
of a mispredicted branch, and will be removed from the processor as soon as the branch is resolved.



4) Press "G" on the tool bar and wait for the execution to finish. When finished, the
cells in the simulator window will be empty, and there will be values along the top
of the window for Cycle and IPC. If you're not sure if the simulation is finished
press the "S" button and if the the cycle value doesn't change then it's finished.



If you would like to run this same simulation, you can do so by using this init file and this zipped trace file.
Place both in the same directory as the simulator executable.

If you want to use the counters that have been placed in the simulator, you can do so by changing
pwrmodel:OFF to pwrmodel:ON in the init.txt file or you can use this init file. At the end of the
simulation, two new files, powerexcel.txt and powermodel.txt, will be generated and in the same directory
as the executable. Both of these files contain the results from the counters placed in the simulator.
The difference between them is that powerexcel.txt is a comma delimited file that can be read into
Microsoft Excel, and powermodel.txt is formatted for the user to read easily.