Datasheet
ARMulator Reference
4-66 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
Finding the configuration for a selected processor
ARMulator uses the following algorithm to find a configuration for a selected
processor:
1. Set the current region to be
Processors
.
2. Find the selected processor in the current region.
3. If the tag has a child, that child is the required configuration.
Adding a variant processor model
Suppose you have created a memory model called
MyASIC
, designed to be combined with
an ARM7TDMI
®
processor core to make a new microcontroller called
ARM7TASIC
. To
allow this to be selected from AXD, or
armsd
, add a
.ami
file modeled on
example1.ami
.
4.14.3 Changing the cache or TCM size of a synthesizable processor
To change the cache or TCM size of a synthesizable processor, make a copy of the
processors.ami
file, place it in the appropriate directory (see ARMulator configuration
files on page 4-63), and edit it.
For example, to change both caches of the ARM946E-S to 8KB:
1. Find the following lines in your copy of the
processors.ami
file:
{ARM946E-S=ARM946E-S-REV1
}
2. Insert lines so that this section reads:
{ARM946E-S=ARM946E-S-REV1
ICache_Lines=256
DCache_Lines=256
}
This overrides the corresponding lines in
armulate.dsc
.
Caution
Any cores that inherit properties from ARM946E-S, such as ARM946E-S-ETM-(L),
ARM946E-S-ETM-(M), or ARM946E-S-ETM-(S), are also affected if you make this
change.
Cores that do not inherit their properties from ARM946E-S, such as
ARM946E-S-REV0 or ARM946E-S-REV1 are not affected.