Datasheet

ARMulator Reference
4-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
4.5 Exceptions
The following functions enable a model to set or clear signals:
ARMulif_SetSignal
ARMulif_GetProperty on page 4-27.
4.5.1 ARMulif_SetSignal
The
ARMulif_SetSignal
function is used to set the state of signals or properties.
Syntax
void ARMulif_SetSignal(RDI_ModuleDesc *mdesc, ARMSignalType sigType,
SignalState sigState)
where:
mdesc
is the handle for the core.
sigtype
is the signal to be set.
sigtype
can be any one of:
RDIPropID_ARMSignal_IRQ
Assert an interrupt.
RDIPropID_ARMSignal_FIQ
Assert a fast interrupt.
RDIPropID_ARMSignal_RESET
Assert the reset signal. The core will reset, and will not restart
until the reset signal is de-asserted.
RDIPropID_ARMSignal_BigEnd
Set this signal for big-endian operation, or clear it for
little-endian operation.
RDIPropID_ARMSignal_HighException
Set the base location of exception vectors.
RDIPropID_ARMSignal_BranchPredictEnable
(ARM10 only)
RDIPropID_ARMSignal_LDRSetTBITDisable
(ARM10 only)
RDIPropID_ARMSignal_WaitForInterrupt
(ARM10 and XScale only)
RDIPropID_ARMSignal_DebugState
Enter or exit debug state.