Datasheet
ARMulator Reference
4-70 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
Specifying children
There are two ways of specifying children in a ToolConf database.
One is more suited to specifying large children:
{ TagP=ValueP
TagC1=ValueC1
TagC2=ValueC2
}
This creates a tag called
TagP
, with the value
ValueP
, and a child database. Two tags are
given values in the child.
The other is more suited to specifying small children:
TagP:TagC=ValueC
This creates a tag called
TagP
, with no
value. TagP
has a child in which one tag is
created,
TagC
, with value
ValueC
. It is equivalent to:
{ TagP
TagC=ValueC
}
Conditional expressions
The full
#if...#elif...#else...#endif
syntax is supported. You can use this to skip
regions of a ToolConf database. Expressions use tags from the file, for example, the C
preprocessor sequence:
#define Control True
#if defined(Control) && Control==True
#define controlIsTrue Yes
#endif
maps to the ToolConf sequence:
Control=True
#if Control && Control=True
ControlIsTrue=Yes
#endif