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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Emulation Baseboard Model: Platform and Components<br />

7.9.6 GPIO2<br />

On the EB hardware, GPIO2 is dedicated to USB, a push button, and MCI status signals. USB<br />

and MCI are not implemented in the EB RTSMs, and no push button is modeled. The GPIO is<br />

therefore simply provided as another generic IO device.<br />

7.9.7 Timing considerations<br />

The Real-Time System <strong>Models</strong> provides 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 />

If your 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 />

To work around this problem, the EB RTSMs supply the Rate Limit feature. Enabling Rate<br />

Limit, either using the Rate Limit button in the CLCD display, or the rate_limit-enable model<br />

instantiation parameter, forces the model to run at wall clock time. This avoids issues with two<br />

clocks running at significantly different rates. For interactive applications, <strong>ARM</strong> recommends<br />

enabling Rate Limit.<br />

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

ID051811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!