Datasheet

ARMulator Reference
4-64 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
4.14.1 Predefined tags
Before reading
.ami
files, ARMulator creates several tags itself, based on the settings
you give to the debugger. These are given in Table 4-7. Preprocessing directives in
.ami
files use these tags to control the configuration.
4.14.2 Processors
The processors region is a child ToolConf database (see ToolConf on page 4-68). It has
a full list of processors supported by the ARMulator. This list is the basis of the list of
processors in AXD, and the list of accepted arguments for the
-processor
option of
armsd
.
You can add a variant processor to this list, for example to include a particular memory
model in the definition. See
install_directory\Bin\example1.ami
for examples.
Default
specifies the processor to use if no other processor is specified. Each other entry
in the
Processors
region is the name of a processor.
Example 4-2 on page 4-65 declares two processors, TRACED_ARM10 and
PROFILED_ARM7. In this example,
MCCFG
is the ratio of the clock frequency on the
processor to the clock frequency on the external bus.
Table 4-7 Tags predefined by ARMulator
Tag Description
CPUSpeed
Set to the speed set in the configuration window of AXD, or in the
-clock
command line option for
armsd
. For example,
CPUSpeed=30MHz
.
FCLK
Set to the same value as
CPUSpeed
, if that value is not zero. Not set
if
CPUSpeed
is zero.
MCLK
Set to the same value as
FCLK
for uncached cores.
Set to
FCLK
/
MCCFG
for cached cores.
ByteSex
Set to
L
or
B
if a bytesex is specified from the debugger. Not set
otherwise.
FPE
Set to
True
or
False
from the debugger.