Renesas SH7200 Series Network Card User Manual


 
21
2.2 Specific Functions for the Emulator when Using the
SH2A_custom_SoC
2.2.1 Event Condition Functions
The emulator is used to set event conditions for the following three functions:
Break of the user program
Internal trace
Start or end of performance measurement
Table 2.5 lists the types of Event Condition.
Table 2.5 Types of Event Condition
Event Condition Type Description
Address bus condition (Address) Sets a condition when the address bus (data access) value
or the program counter value (before or after execution of
instructions) is matched.
Data bus condition (Data) Sets a condition when the data bus value is matched. Byte,
word, or longword can be specified as the access data size.
Bus state condition
(Bus State)
There are two bus state condition settings:
Bus state condition: Sets a condition when the data bus
value is matched.
Read/Write condition: Sets a condition when the read/write
condition is matched.
Count Sets a condition when the specified other conditions are
satisfied for the specified counts.
Reset point A reset point is set when the count and the sequential
condition are specified.
Action Selects the operation when a condition (such as a break, a
trace halt condition, or a trace acquisition condition) is
matched.
Using the [Combination action (Sequential or PtoP)] dialog box, which is opened by selecting
[Combination action (Sequential or PtoP)] from the pop-up menu on the [Event Condition] sheet,
specifies the sequential condition and the start or end of performance measurement.
Table 2.6 lists the combinations of conditions that can be set under Ch1 to Ch11 and the software
trace.