HD6417021 Hitachi Semiconductor, HD6417021 Datasheet - Page 98

no-image

HD6417021

Manufacturer Part Number
HD6417021
Description
SuperH RISC engine
Manufacturer
Hitachi Semiconductor
Datasheet
• Bits 3 and 2 (read/write select (RW1, RW0)): RW1, RW0 select whether to break on read
Bit 3: RW1
0
1
• Bits 1 and 0 (operand size select (SZ1, SZ0)): SZ1, SZ0 select bus cycle operand size as a
Bit 1: SZ1
0
1
Note: When setting to break on an instruction fetch, set the SZ0 bit to 0. All instructions will be
6.3
6.3.1
The flow from setting of break conditions to user break interrupt exception processing is described
below.
1. Break conditions are set in break address register (BAR), break address mask register
2. The UBC checks to see if the set conditions are satisfied, using the system shown in figure 6.2.
and/or write access cycles.
break condition.
(BAMR), and the break bus cycle register (BBR). Set the break address in the BAR, the
address bits to be masked in the BAMR and the type of breaking bus cycle in the BBR. When
even one of the BBR groups (CPU cycle/DMA cycle select bits (CD1, CD0), instruction
fetch/data access select bits (ID1, ID0), read/write select bits (RW1, RW0)) is set to 00 (no
user break interrupt), there will be no user break even when all other conditions are consistent.
To use a user break interrupt, set conditions for all three pairs.
When the break conditions are satisfied, the UBC sends a user break interrupt request to the
interrupt controller.
considered to be accessed as words (even those instructions in on-chip memory for which
two instructions can be fetched simultaneously in a single bus cycle). Instruction fetch is by
word access and CPU/DMAC data access is by the specified operand size. They are not
determined by the bus width of the space being accessed.
Operation
Flow of the User Break Operation
Bit 2: RW0
0
1
0
1
Bit 0: SZ0
0
1
0
1
Description
No break interrupt occurs (initial value)
Break only on read cycles
Break only on write cycles
Break on both read and write cycles
Description
Operand size is not a break condition (initial value)
Break on byte access
Break on word access
Break on long word access
HITACHI 81

Related parts for HD6417021