Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Main Memory system: DRAM organization

Similar presentations


Presentation on theme: "The Main Memory system: DRAM organization"— Presentation transcript:

1 The Main Memory system: DRAM organization
Nayan Deshmukh

2 The Main Memory system DRAM organization DRAM cell operation
Outline The Main Memory system DRAM organization DRAM cell operation Address Mapping

3 The Main Memory system Main memory is a critical component of all computing systems: server, mobile, embedded, desktop, sensor Processors, caches and Memory controller Main Memory Storage (SSD/HDD)

4 The Main Memory system DRAM organization DRAM cell operation
Outline The Main Memory system DRAM organization DRAM cell operation Address Mapping

5 DRAM organisation Channel DIMM Rank Chip Bank Row/Column Cell

6 DRAM organisation Channel DIMM
Rank Chip Bank Share the same physical link (addr, cmd, data bus) from the memory controller Row/Column Cell Source: Google Images

7 DRAM organisation DIMM (Dual inline memory module) Channel
DIMM corresponds to our familiar notion of RAM Source: Google Images

8 Rank is a collection of DRAM chips/devices that work in unison
DRAM organisation Side View DIMM Back Front Rank 0 Rank 1 Rank is a collection of DRAM chips/devices that work in unison Source: Google Images

9 Rank is a collection of DRAM chips/devices that work in unison
DRAM organisation Side View DIMM Back Front Rank 0 Rank 1 Rank is a collection of DRAM chips/devices that work in unison Source: Google Images

10 DRAM organisation 8b 64b All the chips share the cmd and addr bus, but have different data buses Source: Google Images

11 DRAM organisation Chip: collection of banks
Each bank functions independently Bank can run in parallel Each bank takes row/column addr and outputs 8b Bank 0 Bank 1 Bank 3 Bank 2 64b Source: Google Images

12 DRAM organisation Chip: collection of banks
Each bank functions independently Bank can run in parallel Each bank takes row/column addr and outputs 8b Bank 0 Bank 1 Bank 2 Bank 3 Source: Google Images

13 DRAM organisation ... Bank 0 8 DRAM arrays DRAM Array <0:7>
Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

14 DRAM organisation … 2D Array of DRAM Cells Sense amplifiers
The horizontal wires called wordline The vertical wires are called bitline Each cell stores single bit of data All the sense amplifiers collectively called Row Buffer Source:

15 Transferring a cache block
Physical memory space 0xFFFF…F Channel 0 ... DIMM 0 Mapped to 0x40 Rank 0 64B cache block 0x00 Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

16 Transferring a cache block
Physical memory space Chip 0 Chip 1 Chip 7 Rank 0 0xFFFF…F . . . ... <0:7> <8:15> <56:63> 0x40 64B cache block Data <0:63> 0x00 Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

17 Transferring a cache block
Physical memory space Chip 0 Chip 1 Chip 7 Rank 0 0xFFFF…F . . . Row 0 Col 0 ... <0:7> <8:15> <56:63> 0x40 64B cache block Data <0:63> 0x00 Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

18 Transferring a cache block
Physical memory space Chip 0 Chip 1 Chip 7 Rank 0 0xFFFF…F . . . Row 0 Col 0 ... <0:7> <8:15> <56:63> 0x40 64B cache block Data <0:63> 8B 0x00 8B Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

19 Transferring a cache block
Physical memory space Chip 0 Chip 1 Chip 7 Rank 0 0xFFFF…F . . . Row 0 Col 1 ... <0:7> <8:15> <56:63> 0x40 64B cache block Data <0:63> 8B 0x00 Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

20 Transferring a cache block
Physical memory space Chip 0 Chip 1 Chip 7 Rank 0 0xFFFF…F . . . Row 0 Col 1 ... <0:7> <8:15> <56:63> 0x40 64B cache block 8B Data <0:63> 8B 0x00 8B Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

21 Transferring a cache block
Physical memory space Chip 0 Chip 1 Chip 7 Rank 0 0xFFFF…F . . . Row 0 Col 1 ... <0:7> <8:15> <56:63> 0x40 64B cache block 8B Data <0:63> 8B 0x00 A 64B cache block takes 8 I/O cycles to transfer. During the process, 8 columns are read sequentially. Source: Computer Architecture Lectures, ETH Zurich, Fall 2017.

22 The Main Memory system DRAM organization DRAM cell operation
Outline The Main Memory system DRAM organization DRAM cell operation Address Mapping Now I’ll introduce the motivation and the key idea of our work.

23 DRAM cell operation Bitline wordline DRAM Cell Bitline Sense Amplifier
DRAM Cell Bitline Sense Amplifier (Row Buffer)

24 DRAM cell operation VDD VDD/2 DRAM Cell Sense Amplifier (Row Buffer)
DRAM Cell Sense Amplifier (Row Buffer) VDD/2 Source:

25 Amplify the difference
DRAM cell operation VDD/2 + δ VDD VDD/2 VDD VDD/2 + δ Amplify the difference DRAM Cell Cell loses charge Restore Cell Data READ/WRITE Sense Amplifier (Row Buffer) VDD/2 ACTIVATE PRECHARGE Source:

26 DRAM cell operation Chip I/O
Memory Channel Chip I/O ACTIVATE: Copy data from row to row buffer READ: Transfer data to channel using the shared bus ROW HIT: If column in the same row PRECHARGE: Ready the row buffer for next activate Source:

27 The Main Memory system DRAM organization DRAM cell operation
Outline The Main Memory system DRAM organization DRAM cell operation Address Mapping Now I’ll introduce the motivation and the key idea of our work.

28 Cache block offset (6 bits)
Address Mapping Single-channel system with 8-byte memory bus 2GB memory, 8 banks, 16K rows & 2K columns per bank Byte in bus (3 bits) Cache block offset (6 bits)

29 Cache block offset (6 bits)
Address Mapping Row Interleaving Single-channel system with 8-byte memory bus 2GB memory, 8 banks, 16K rows & 2K columns per bank Row (14 bits) Bank (3 bits) Column (11 bits) Byte in bus (3 bits) Cache block offset (6 bits)

30 Cacheline Interleaving
Row Interleaving Cacheline Interleaving Single-channel system with 8-byte memory bus 2GB memory, 8 banks, 16K rows & 2K columns per bank Row (14 bits) High Column Bank (3 bits) Column (11 bits) Bank (3 bits) Low Col. Byte in bus (3 bits) 8 bits 3 bits

31 Acknowledgements


Download ppt "The Main Memory system: DRAM organization"

Similar presentations


Ads by Google