FUJITSU SOFTUNE F2 MC-16 User Manual

Page 178

Advertising
background image

164

CHAPTER 2 DEPENDENCE FUNCTIONS

Setting Events

The emulator can monitor the MCU bus operation, and generate a trigger for a sequencer at a specified

condition. This function is called an event.

In the event, code (/CODE) and data access (/READ/WRITE) can be specified.

Up to eight events can be set. However, since hardware is shared with trace triggers, the actual numbers is

calculated as follows.

Current maximum constant of events
= 8 - (current number of trace trigger settings + current number of data monitoring break settings)

Table 2.3-5 shows the conditions that can be set for events.

Note:

In instruction execution (/CODE), an event trigger is generated only when an instruction is executed.
This cannot be specified concurrently with other status (/READ or /WRITE).

Use the following commands to set an event.

SET EVENT :

Sets an event

SHOW EVENT :

Displays the status of event setting

CANCEL EVENT :

Deletes an event

[Example]

>SET EVENT/CODE

func1

>SET EVENT/WRITE data[2],!d=h'10

>SET EVENT/READ/WRITE 102

Table 2.3-5 Conditions for Event and Trace Trigger

Condition

Description

Address

Memory location (address bit masking disabled)

Data

16-bit data (data bit masking enabled)

Access size

Byte, word

Status

Select from code, data read or data write

Advertising