29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Versatile Express Model: Platform and Components<br />

6.7.6 Timing considerations<br />

The Real-Time System <strong>Models</strong> provide an environment that enables running software<br />

applications in a functionally-accurate simulation. However, because of the relative balance of<br />

fast simulation speed over timing accuracy, there are situations where the models might behave<br />

unexpectedly.<br />

When code interacts with real world devices like timers and keyboards, data arrives in the<br />

modeled device in real-world (or wall-clock) time, but simulation time can be running much<br />

faster than the wall clock. This means that a single keypress might be interpreted as several<br />

repeated key presses, or a single mouse click incorrectly becomes a double click.<br />

The VE RTSMs provide the Rate Limit feature to match simulation time to match wall-clock<br />

time. Enabling Rate Limit, either by using the Rate Limit button in the CLCD display, or the<br />

rate_limit-enable model instantiation parameter, forces the model to run at wall-clock time.<br />

This avoids issues with two clocks running at significantly different rates. For interactive<br />

applications, <strong>ARM</strong> recommends enabling Rate Limit.<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 6-21<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!