This window represents the contents of the simulated color LCD framebuffer. It
automatically resizes to match the horizontal and vertical resolution set in the CLCD
Figure A-6 CLCD window at startup
Eight white boxes show the state of the EB User DIP switches.
These represent switch S6 on the EB hardware, USERSW[8:1], that maps to bits [7:0] of
the SYS_SW register at address
The switches are in the off position by default. Click in the area above or below a
white box to change its state.
Eight white boxes showing the state of the EB Boot DIP switches.
These represent switch S8 on the EB hardware, BOOTSEL[8:1], that maps to bits [15:8]
of the SYS_SW register at address
The switches are in the off position by default.
ARM recommends you configure the Boot DIP switches using the
boot_switch model parameter rather than by using the CLCD
Changing Boot DIP switch positions while the model is running can result in
Eight colored boxes indicate the state of the EB User LEDs.
These represent LEDs D[21:14] on the EB hardware, which map to bits [7:0] of the
SYS_LED register at address
. The boxes correspond to the red/yellow/green LEDs on the EB
- Total Instr
A counter showing the total number of instructions executed.
The system models provide a programmer’s view of the system, so the CLCD displays
total instructions rather than total processor cycles. Timing might differ
substantially from the hardware because the models:
In general, bus transaction timing is consistent with the hardware, but timing of
operations within the model is not accurate.
- Total Time
A counter showing the total elapsed time, in seconds.
This is wall clock time, not simulated time.
- Rate Limit
A feature that disables or enables a rate limit. The system model is highly
optimized, so your code might run faster than it would on real hardware. This might
cause timing issues.
Rate Limit ON restricts the simulation time so that it more closely matches real
time. Click on the square button to disable Rate Limit. The text changes from ON to
OFF and the colored box darkens.
rate_limit-enable parameter controls this setting when
instantiating the model.
If you click on the Total Instr or Total Time
items in the CLCD, the display changes to show two different items. Click on the items again
to toggle between the displays.
Figure A-7 CLCD window alternative display
the number of instructions executed per second of wall clock time.
- Perf Index
the ratio of real time to simulation time. The larger the ratio, the faster the simulation runs.
If you enable Rate Limit, the Perf Index approaches unity.
You can reset the simulation counters by resetting the model.
If the CLCD window has focus, it translates:
The simulator only sends relative mouse motion events to the model. As a result, the host
mouse pointer does not necessarily align with the target OS mouse pointer.
You can hide the host mouse pointer by pressing the Left
Ctrl+Left Alt keys. Press the keys again to redisplay
the host mouse pointer. The Right Ctrl key does not have this effect.
If you prefer to use a different key, use the