akt211 – cao 07 – computer memory
DESCRIPTION
AKT211 – CAO 07 – Computer Memory. Ghifar Parahyangan Catholic University Okt 24, 2011. Feedback Review. using B. Indonesia for text in the presentation slides make slower and clearer the explanation of the course materials. (x). (v). Outline. Computer Memory System - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/1.jpg)
AKT211 – CAO
07 – Computer Memory
GhifarParahyangan Catholic University
Okt 24, 2011
![Page 2: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/2.jpg)
Feedback Review using B. Indonesia for text in the
presentation slides make slower and clearer the
explanation of the course materials
(x)
(v)
![Page 3: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/3.jpg)
Outline Computer Memory System
Memory Characteristics Memory Hierarchy
RAM Basic Technology Semiconductor SRAM vs DRAM
Advanced RAM Organization SDRAM vs DDR-RAM
![Page 4: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/4.jpg)
COMPUTER MEMORY SYSTEM
![Page 5: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/5.jpg)
Characteristics
![Page 6: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/6.jpg)
Location• CPU• Internal• External
![Page 7: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/7.jpg)
Capacity• Word size
– The natural unit of organization• Number of words
– or Bytes
![Page 8: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/8.jpg)
Unit of Transfer• Internal
– Usually governed by data bus width• External
– Usually a block which is much larger than a word
• Addressable unit– Smallest location which can be
uniquely addressed– Word internally– Cluster on M$ disks
![Page 9: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/9.jpg)
Access Methods (1)• Sequential
– Start at the beginning and read through in order
– Access time depends on location of data and previous location
– e.g. tape• Direct
– Individual blocks have unique address– Access is by jumping to vicinity plus
sequential search– Access time depends on location and
previous location– e.g. disk
![Page 10: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/10.jpg)
Access Methods (2)• Random
– Individual addresses identify locations exactly
– Access time is independent of location or previous access
– e.g. RAM• Associative
– Data is located by a comparison with contents of a portion of the store
– Access time is independent of location or previous access
– e.g. cache
![Page 11: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/11.jpg)
Memory Hierarchy Registers
– In CPU Internal or Main memory
– May include one or more levels of cache
– “RAM” External memory
– Backing store
![Page 12: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/12.jpg)
Memory Hierarchy - Diagram
![Page 13: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/13.jpg)
RAM BASIC TECHNOLOGY
![Page 14: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/14.jpg)
Semiconductor Main Memory• universally used as RAM basic
technology• The basic element : “memory cell”• Read/Write• Volatile• Temporary storage• Static or dynamic
![Page 15: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/15.jpg)
Memory Cell Operation
![Page 16: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/16.jpg)
Semiconductor Memory Types
![Page 17: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/17.jpg)
Dynamic RAM• Bits stored as charge in capacitors• Charges leak• Need refreshing even when powered• Simpler construction• Smaller per bit• Less expensive• Need refresh circuits• Slower• Main memory• Essentially analogue
– Level of charge determines value
![Page 18: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/18.jpg)
Dynamic RAM Structure• Address line active when bit read
or written– Transistor switch closed (current
flows)• Write
– Voltage to bit line• High for 1 low for 0
– Then signal address line• Transfers charge to capacitor
• Read– Address line selected
• transistor turns on– Charge from capacitor fed via bit line
to sense amplifier• Compares with reference value to
determine 0 or 1– Capacitor charge must be restored
![Page 19: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/19.jpg)
Static RAM• Bits stored as on/off switches• No charges to leak• No refreshing needed when powered• More complex construction• Larger per bit• More expensive• Does not need refresh circuits• Faster• Cache• Digital
– Uses flip-flops
![Page 20: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/20.jpg)
Static RAM Structure
![Page 21: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/21.jpg)
SRAM v DRAM• Both volatile
– Power needed to preserve data• Dynamic cell
– Simpler to build, smaller– More dense– Less expensive– Needs refresh– Larger memory units
• Static– Faster– Cache
![Page 22: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/22.jpg)
ADVANCED RAM ORGANIZATION
![Page 23: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/23.jpg)
Synchronous DRAM (SDRAM)• Access is synchronized with an external clock
– Conventional DRAM is asynchronous, CPU must wait the access time delay
– With SDRAM, CPU doesn’t have to wait, it can do something else
• Takes advantage of the burst mode concept to greatly improve performance– staying on the row containing the requested bit and
moving rapidly through the columns, reading each bits as it goes
– Idea : most of the time the data needed by the CPU will be in sequence !
• Maximum transfer rate to L2 cache : 528 MBps
![Page 24: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/24.jpg)
SDRAM - Diagram
![Page 25: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/25.jpg)
SDRAM Read Timing
![Page 26: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/26.jpg)
DDR-SDRAM• Double Data Rate Synchronous Dynamic
RAM• Higher bandwidth => greater speed• Higher transfer rate
– Uses double pumping transferring data on both the rising and falling edges of the clock signal
• Classes : DDR1, DDR2, DDR3– Neither of which are either forward or backward
compatible !
![Page 27: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/27.jpg)
DDR SDRAM Read Timing
DDR SDRAM Read Timing
![Page 28: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/28.jpg)
Any Question ?
![Page 29: AKT211 – CAO 07 – Computer Memory](https://reader030.vdocument.in/reader030/viewer/2022020117/568168d0550346895ddfbe2e/html5/thumbnails/29.jpg)
THANK YOU