User`s manual

SuperH Family E10A-USB Emulator Section 6 Tutorial
R20UT0870EJ1000 Rev. 10.00 Page 241 of 292
Aug 10, 2012
2. Then, enable the VP_MAP tables. (When the tables are disabled, addresses are not translated.)
>ve enable (RET)
>vd (RET)
<VADDR_TOP> <VADDR_END> <PADDR_TOP>
00010000 00010fff 04000000
00011000 00011fff 00000000
ENABLE
Here, virtual addresses correspond to physical addresses as shown in figure 6.51.
Virtual address Physical address
H'10000
H'10FFF
H'11000
H'11FFF
H'12000
H'12FFF
H'12000
H'12FFF
H'4000000
H'4000FFF
H'0
H'FFF
Figure 6.51 Address Translation according to VP_MAP Tables
How to translate addresses depends on the settings of the radio buttons of the [Memory area]
group in the [Configuration] dialog box. The following shows how to translate addresses in each
setting state.
When the Normal radio button is selected:
The VP_MAP table has a priority over the TLB. When the VP_MAP table is enabled and the
specified address is within the VP_MAP table settings, the emulator translates the address
according to the VP_MAP table. If the specified address is outside the VP_MAP table settings
even when the VP_MAP table is enabled, or when the VP_MAP table is disabled, the emulator
translates the address according to the MMU state.
When the Physical radio button is selected:
The address is not translated.