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.

RDIPropID_ARMulProp_CycleDelta

Wait the core for a specified number of cycles.

RDIPropID_ARMulProp_Accuracy

Select the modelling accuracy, as a percentage in the range 0% to 100%. Currently this only affects ARM10 models. A setting less than 50% turns of interlock modelling. ARMulator runs faster with interlock modelling turned off, but cycling count accuracy is reduced.

sigstate

For signals, you must give sigstate one of the following values:

FALSE

Signal off

TRUE

Signal on.

For properties, you must give sigstate an integer value.

Note

For information about signalling interrupts when using an interrupt controller see Interrupt controller.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential