| Author |
Message |
arun
Guest
|
Posted:
Mon Feb 28, 2005 7:55 am Post subject:
simplescalar question |
|
|
hi..
i just installed simplescalar on unix machine.
i am unable to understand the difference between trace driven and
execution driven simulation. i tried on google, but could not find any
elementry explanation.
can anyone pls help me in this regard.
thanks for your time,
-Arun. |
|
| Back to top |
|
 |
Guest
|
Posted:
Tue Mar 01, 2005 1:01 am Post subject:
Re: simplescalar question |
|
|
In a trace driven simulation, the instructions (and other data) are
read from a file (called a trace) and inserted into the pipeline
simulator.
In an execution based simulation, the instructions are fetched from
simulated memory, and passed through the pipeline simulator. |
|
| Back to top |
|
 |
arun
Guest
|
Posted:
Wed Mar 02, 2005 7:55 am Post subject:
Re: simplescalar question |
|
|
MitchAlsup@aol.com wrote:
| Quote: | In a trace driven simulation, the instructions (and other data) are
read from a file (called a trace) and inserted into the pipeline
simulator.
In an execution based simulation, the instructions are fetched from
simulated memory, and passed through the pipeline simulator.
|
Thanks for ur reply. I still have few questions.
I know for sure that in an Exec-Driven simulator, there is a cross
compiler that compiles the user benchmark into instructions of the
simulated processor.
What abt a trace driven simulator? |
|
| Back to top |
|
 |
YuXing.Tang
Guest
|
Posted:
Wed Mar 02, 2005 7:24 pm Post subject:
Re: simplescalar question |
|
|
binary instrumentation or pre-execution like profile-collection for FDO
compiler may generate suitable trace. |
|
| Back to top |
|
 |
YuXing.Tang
Guest
|
|
| Back to top |
|
 |
Magnus Ekman
Guest
|
Posted:
Thu Mar 03, 2005 3:03 pm Post subject:
Re: simplescalar question |
|
|
On 1 Mar 2005, arun wrote:
| Quote: | Thanks for ur reply. I still have few questions.
I know for sure that in an Exec-Driven simulator, there is a cross
compiler that compiles the user benchmark into instructions of the
simulated processor.
|
This doesn't necessarily need to be a cross compiler. That depends on what
machine you are running your simulator on and what instruction set
architecture (ISA) you are trying to simulate. I often simulate the
sparc-v9 instruction set on a machine based on an UltraSparc-III for
example.
| Quote: | What abt a trace driven simulator?
|
The same thing applies to trace driven simulation. The question is how you
create your trace. It can typically be created from an execution driven
simulator that writes the trace it is producing or by somehow capturing
the trace from a real machine. You will have to compile your benchmark for
the simulator or machine that will produce the trace.
/Magnus |
|
| Back to top |
|
 |
|
|
|
|