|
SH7708 Datasheet, PDF (239/625 Pages) Renesas Technology Corp – SuperH™ RISC engine | |||
|
◁ |
1 0 . 3 BSC Operation
1 0 . 3 . 1 Endian/Access Size and Data Alignment
The SH7708 Seires supports both big-endian mode, in which the 0 address is the most significant
byte in the byte data, and little-endian mode, in which the 0 address is the least significant byte.
Switching between the two is designated by an external pin (MD5 pin) at the time of a power-on
reset. After a power-on reset, big-endian mode is set when MD5 is low, and little-endian mode is
set when MD5 is high.
Three data bus widths are available for normal memory (byte, word, longword) and two data bus
widths (word and longword) for DRAM and pseudo-SRAM. Only longword is available for
synchronous DRAM. For the PCMCIA interface, choose from byte and word. This means data
alignment is done by matching the deviceâs data width and endian. The access unit must also be
matched to the deviceâs bus width. This also means that when longword data is read from a byte-
width device, four read operations must be executed. In the SH7708 Series, data alignment and
conversion of data length is performed automatically between the respective interfaces.
Tables 10.6 through 10.11 show the relationship between endian, device data width, and access
unit.
Table 10.632-Bit External Device/Big Endian Access and Data Alignment
Data Bus
Operation D31âD24D23âD16D15âD8D7âD0
Address 0 Data
â
byte access 7â0
â
â
Address 1 â
byte access
Data
â
â
7â0
Address 2 â
â
Data â
byte access
7â0
Address 3 â
â
â
Data
byte access
7â0
Address 0 Data
Data
â
â
word access 15â8
7â0
Address 2 â
â
Data Data
word access
15â8 7â0
Address 0
longword
access
Data
31â24
Data
23â16
Data
15â8
Data
7â0
Strobe Signal
WE3 , WE2 , WE1 , WE0 ,
CASHH , CASHL , CASLH , CASLL,
DQMUU DQMUL DQMLU DQMLL
Asserted â
â
â
â
Asserted â
â
â
â
Asserted â
â
â
â
Asserted
Asserted Asserted â
â
â
â
Asserted Asserted
Asserted Asserted Asserted Asserted
225
|
▷ |