Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM PrimeCell synchronous static memory controller technical reference manual.pdf
Источник:
Скачиваний:
21
Добавлен:
23.08.2013
Размер:
1.4 Mб
Скачать

 

Functional Overview

TIC

The TIC is used during testing to read external test vectors and

 

apply them to the system through the AMBA AHB master

 

interface.

Data bus interface

 

 

The data bus interface selects either the SSMC core or the TIC as

 

the current user of the external data bus and address bus.

Pad interface

The pad interface resynchronizes all the external signals to the

 

feedback clock SMFBCLK.

2.1.1SSMC core

The SSMC core performs read and write accesses to external memory through the

AMBA AHB slave interface. Figure 2-2 on page 2-4 shows a block diagram of the

SSMC core.

ARM DDI 0236A

Copyright © 2001. All rights reserved.

2-3

Functional Overview

HCLK

AHB

HRESETn

interface

SMMEMCLK

block

 

SMMEMCLKRATIO[1:0]

 

HADDRREG[11:2]

 

HTRANSREG[1:0]

 

HWRITEREG

 

HSIZEREG[2:0]

 

HWDATAREG[31:0]

 

HSELREG

 

HREADYINREG

 

HRDATAREG[31:0]

 

HREADYOUTREG

 

HRESPREG[1:0]

 

HADDRSMC[25:0]

 

HTRANSSMC[1:0]

 

HWRITESMC

 

HSIZESMC[2:0]

 

HBURSTSMC[2:0]

 

HWDATASMC[31:0]

 

HSELSMC[7:0]

 

HREADYINSMC

 

HRDATASMC[31:0]

 

HREADYOUTSMC

 

HRESPSMC[1:0]

 

SMBIGENDIAN

 

SMMWCS7[1:0]

 

Transfer control block

Timeout

 

 

 

error

Delay timer

External

 

 

and wait

 

waits

Delay

control

 

 

 

 

values

 

 

 

 

Control

signals

 

Control

Transfer

Control

state

signals

signals

machine

 

 

External

Pad

SMCLK[3:0]

bus

interface

SMFBCLK[3:0]

interface

 

SMDATAOUT[31:0]

block

 

 

SMDATAIN[31:0]

 

 

 

 

SMADDR[25:0]

 

 

SMADDRVALID

 

 

nSMWEN

 

 

nSMBLS[3:0]

 

 

SMCS[7:0]

 

 

nSMCS[7:0]

 

 

nSMDATAEN[3:0]

 

 

SMBURSTWAIT

 

 

SMWAIT

 

 

SMCANCELWAIT

 

 

nSMBAA

 

 

SMEXTBUSMUX

 

 

SMBUSREQEBI

 

 

SMBUSGNTEBI

 

 

SMBUSBACKOFFEBI

 

 

SMTICBUSREQEBI

 

 

SMTICBUSGNTEBI

Figure 2-2 SSMC core block diagram

The four main blocks of the SSMC core are:

AMBA AHB interface

Transfer control on page 2-5

External bus interface on page 2-5.

Pad interface on page 2-5.

AMBA AHB interface

The AMBA AHB interface block provides the interface to the AMBA AHB bus. It contains all of the control and status registers for the external memory banks, and the PrimeCell and Peripheral Identification registers.

2-4

Copyright © 2001. All rights reserved.

ARM DDI 0236A

Functional Overview

The AHB control signals are sampled and passed to the transfer control block, and the control signals received are used to generate the AHB response and read data outputs.

The read/write control register values are accessed through the AHB, and their values are passed to the rest of the peripheral. The read only status register values are generated from control signals within the transfer control block.

Transfer control

The transfer control block contains two main sub-blocks:

Transfer state machine

This block is used to control the transfer currently being performed.

Delay timer and wait control

This block is used to control the operation of reads, writes, and external waits when a delay is required, and to control the externally waited transfers.

External bus interface

The external bus interface block provides the interface to the external bus. It contains the logic to generate the external control signals, and the 32-bit read/write buffer used to store the data value during transfers. It is used to:

drive the chip selects for the memory banks

drive the write enables for the external memory banks

drive the output enable for the external memory banks

drive the external databus enable

generate read enables for read data from the external memory to the AMBA AHB interface

control the data sequencing for memory read and writes for different sizes of AHB transfer and memory width.

Pad interface

All data, address, and control signals must be passed synchronously to and from the external synchronous static memory. This block resynchronizes all of these signals to SMMEMCLK or a delayed version of this.

Moving all of the resynchronization to a separate block enables the easiest implementation of the most appropriate clock resynchronization strategy by the user.

ARM DDI 0236A

Copyright © 2001. All rights reserved.

2-5

Functional Overview

When using asynchronous devices the synchronization logic is bypassed in the pad interface.

For more details, see Clock feedback in SSMC on page 2-48.

2-6

Copyright © 2001. All rights reserved.

ARM DDI 0236A