01.08.2013 Views

Chapter 10 Memory Subsystem.pdf

Chapter 10 Memory Subsystem.pdf

Chapter 10 Memory Subsystem.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CS1 SDRAM<br />

address space<br />

1 Gbyte SDRC<br />

address space -<br />

8 partitions<br />

CS0 SDRAM<br />

address space<br />

128M-byte address space<br />

128M-byte address space<br />

128M-byte address space<br />

128M-byte address space<br />

128M-byte address space<br />

128M-byte address space<br />

128M-byte address space<br />

128M-byte address space<br />

Public Version<br />

SDRAM Controller (SDRC) <strong>Subsystem</strong> www.ti.com<br />

Figure <strong>10</strong>-51. CS0/CS1 Chip-Select Start Address Slots<br />

<strong>10</strong>.2.4.4.1.3 SDRAM <strong>Memory</strong> Combinations on CS1 and CS0<br />

The combinations of SDR and DDR memories/SDRAMs are defined as follows:<br />

CS1 max (depends on<br />

SDRC_MCFG_1[17:8] RAMSIZE)<br />

CS1 start address slot defined by<br />

SDRC_CS_CFG[9:8] CS1STARTLOW and<br />

SDRC_CS_CFG[3:0] CS1STARTHIGH<br />

Illegal address space - Accessing this address<br />

range generates an error<br />

CS0 max (depends on<br />

SDRC_MCFG_0[17:8] RAMSIZE)<br />

CS0 start address slot fixed interconnect address 0<br />

• SDR and DDR memories can be connected on either CS1 or CS0.<br />

• The only restriction on the coexistence of SDRAMs on CS0 or CS1 is that a combination of SDR on<br />

one CS and DDR on the other CS is not allowed.<br />

The SDRAM data bus width on each CS is determined by the SDRC.SDRC_SHARING[11:9]<br />

CS0MUXCFG and SDRC.SDRC_SHARING[14:12] CS1MUXCFG fields of the memory-sharing registers.<br />

<strong>10</strong>.2.4.4.2 Bank Tracking<br />

The main state-machine controls all the accesses to external memories.<br />

The SDRC contains hardware for tracking open pages on a per-bank basis. Up to four open pages are<br />

tracked per CS, for a maximum of eight open pages tracked.<br />

To pipeline accesses efficiently, the SDRC includes a request look-ahead FIFO that analyzes interconnect<br />

requests with respect to the status of the target banks. A bank status can be any of the following:<br />

• Bank open on another row<br />

• Bank closed<br />

• Bank open on the same row<br />

The SDRC state-machine generates the appropriate sequence of memory commands. All precharge and<br />

active commands are hidden as much as possible, to optimize the memory bandwidth usage.<br />

The look-ahead FIFO depth is 9 * 64-bit requests, with a limit of four different transactions. As soon as the<br />

look-ahead FIFO stores four complete transactions or when it is full, the SCmdAccept is deasserted and<br />

any incoming request is blocked.<br />

2230 <strong>Memory</strong> <strong>Subsystem</strong> SPRUGN4L–May 20<strong>10</strong>–Revised June 2011<br />

Copyright © 20<strong>10</strong>–2011, Texas Instruments Incorporated<br />

sdrc-011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!