OVP Forums - A community of assistance, help, questions, and answers.
|
View previous topic :: View next topic |
Author |
Message |
MarwanMostafa
Joined: 07 Sep 2011 Posts: 15
|
Posted: Tue Nov 08, 2011 1:38 am Post subject: Relation between simulated MIPS and Nominal MIPS ?! |
|
|
Hi,
If the nominal MIPS defines the number of instructions that should be executed by a processor in a time slice, which has a default value of 100,000 instructions/time slice or 100 mips, then why does the simulated mips always exceed this value ?!
I also read in the user guide that the simulated mips exceeds nominal mips if the simulation ran faster than real time ! Would you please provide me with more insight about this ?!
Another question, I still do not get what is meant by simulated time! I am not familiar with the notion used in Verilog or Java ! Does it mean the time it takes the real hardware to execute the simulated application ?!
Thank you ! |
|
Back to top |
|
 |
DuncGrah OVP Technologist

Joined: 27 Feb 2008 Posts: 1643 Location: United Kingdom
|
Posted: Tue Nov 08, 2011 4:13 am Post subject: |
|
|
Quote: | If the nominal MIPS defines the number of instructions that should be executed by a processor in a time slice, which has a default value of 100,000 instructions/time slice or 100 mips, then why does the simulated mips always exceed this value ?! |
Yes, nominal MIPS defines the instructions for a simulated timeslice i.e. it is internal to the simulator and only really has relevance when more than a single processor is used int he target.
The simulated MIPS is the number of simulated instructions executed in real time on the host machine. So this is dependent upon the host machine and it's loading at the time of the simulation etc.
Quote: | I also read in the user guide that the simulated mips exceeds nominal mips if the simulation ran faster than real time ! Would you please provide me with more insight about this ?! |
The simulator, by default, will run as fast as it can. So how many instructions it can simulate and the nominal simulation time this represent may run faster than real time. This is especially true if a 'wait' or 'sleep' or similar instruction is executed at which point the simulator can optimize the simulation to jump forward in time until the next event!
Quote: | Another question, I still do not get what is meant by simulated time! I am not familiar with the notion used in Verilog or Java ! Does it mean the time it takes the real hardware to execute the simulated application ?! |
There is no Verilog or Java in OVP, why do you mention these?
Simulated time has no relevance with real hardware. This is the time within the simulation that is elapsing based upon a nominal time for each instruction. |
|
Back to top |
|
 |
MarwanMostafa
Joined: 07 Sep 2011 Posts: 15
|
Posted: Tue Nov 08, 2011 5:46 am Post subject: |
|
|
I only mentioned Verilog and Java coz the user guide is defining the simulated time to have the same notion of time in Verilog and Java ! :)
Would you explain more what the nominal time of each instruction is ?! Do all instructions have the same nominal time or it depends on the instruction being executed?! and what is the relevance of simulated time in general ?!
Thank you... |
|
Back to top |
|
 |
DuncGrah OVP Technologist

Joined: 27 Feb 2008 Posts: 1643 Location: United Kingdom
|
Posted: Tue Nov 08, 2011 6:16 am Post subject: |
|
|
If the processor is running at 100 MIPS then each instruction is assumed to have a 10nS execution time.
Simulation time is the time within the simulation. So this allows you to have a timer, clock etc. |
|
Back to top |
|
 |
MarwanMostafa
Joined: 07 Sep 2011 Posts: 15
|
Posted: Tue Nov 08, 2011 7:45 am Post subject: |
|
|
Thank you |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Information regarding OVP © 2008-2022 Imperas Software
|