Datasheet

Writing ARMulator models
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-3
3.1.2 Supplied models
ARMulator is supplied with source code for the following groups of models:
Basic models
Peripheral models on page 3-4
Basic models
tracer.c
The tracer module can trace instruction execution and events from within
ARMulator (see Tracer on page 4-57). You can link your own tracing
code onto the tracer module.
profiler.c
The profiler module provides the profiling function (see Profiler on
page 2-12). This includes basic instruction sampling and more advanced
use, such as profiling cache misses. It does this by providing an
UnkRDIInfoHandler
that handles the profiling requests from the debugger
(see Unknown RDI information handler on page 4-35).
pagetab.c
On reset, this module sets up cache, PU or MMU and associated
pagetables inside ARMulator (see Pagetable module on page 2-19).
stackuse.c
If enabled this model tracks the stack size. Stack usage is reported in the
ARMulator memory statistics. You can set the stack upper and lower
bounds in the
peripherals.ami
file (see Stack tracker on page 2-36).
nothing.c
This model does nothing. You can use this in the
peripherals.ami
file to
disable models (see Configuring ARMulator to disable a model on
page 3-10).
semihost.c
This model provides the semihosting SWIs described in Chapter 5
Semihosting.
dcc.c
This is a model of a Debug Communications Channel (DCC).
mapfile.c
This model allows you to specify the characteristics of a memory system.
See Map files on page 4-59 for further information.
flatmem.c
flatmem
models a zero-wait state memory system. See Default memory
model on page 2-26 for further information.