Datasheet
Writing ARMulator models
3-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
3.1 The ARMulator extension kit
You can add extra models to ARMulator without altering the existing models. Each
model is self-contained, and communicates with ARMulator through defined interfaces.
The definition of these interfaces is in Chapter 4 ARMulator Reference.
3.1.1 Location of files
The ARMulator extension kit contains the source code of some models. You can make
copes of these models, and modify the copies. The ARMulator extension kit is only
installed if you install a full or custom installation of ADS.
Depending on your system, the source code of the models for you to copy is in one of:
•
install_directory\ARMulate\ARMulext
•
install_directory/solaris/Source/armulext
•
install_directory/linux/Source/armulext
•
install_directory/hpux/Source/armulext
There are also header files in:
•
install_directory\ARMulate\ARMulif
•
install_directory/solaris/Source/armulif
•
install_directory/linux/Source/armulif
•
install_directory/hpux/Source/armulif
Makefiles are supplied in:
•
install_directory\ARMulate\ARMulext\model\intelrel
•
install_directory/solaris/Source/armulext/model/gccsolrs
•
install_directory/linux/Source/armulext/model/linux86
•
install_directory/hpux/Source/armulext/model/cchppa
Use these files as examples to help you write your own models. To help you choose
suitable models to examine, this chapter includes a list of them with brief descriptions
of what they do (see Supplied models on page 3-3).