5-1 Memory System. Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable)

Slides:



Advertisements
Similar presentations
MEMORY popo.
Advertisements

RAM (RANDOM ACCESS MEMORY)
Figure (a) 8 * 8 array (b) 16 * 8 array.
Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
1 Homework Reading –Tokheim, Chapter 12-1 through 12-4 Machine Projects –MP4 due at start of next class Labs –Continue with your assigned section.
Kevin Walsh CS 3410, Spring 2010 Computer Science Cornell University Memory See: P&H Appendix C.8, C.9.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
11/29/2004EE 42 fall 2004 lecture 371 Lecture #37: Memory Last lecture: –Transmission line equations –Reflections and termination –High frequency measurements.
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Memory Interface Dr. Esam Al_Qaralleh CE Department
Overview Memory definitions Random Access Memory (RAM)
ENEE350 Ankur Srivastava University of Maryland, College Park Based on Slides from Mary Jane Irwin ( )
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Chapter 5 Internal Memory
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.6 Random Access Memories.
Physical Memory and Physical Addressing By: Preeti Mudda Prof: Dr. Sin-Min Lee CS147 Computer Organization and Architecture.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
CSCI 4717/5717 Computer Architecture
Memory Technology “Non-so-random” Access Technology:
Survey of Existing Memory Devices Renee Gayle M. Chua.
Systems Overview Computer is composed of three main components: CPU Main memory IO devices Refers to page
Lecture 19 Today’s topics Types of memory Memory hierarchy.
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
University of Tehran 1 Interface Design DRAM Modules Omid Fatemi
Asynchronous vs. Synchronous Counters Ripple Counters Deceptively attractive alternative to synchronous design style State transitions are not sharp! Can.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Chapter 4: MEMORY Internal Memory.
Memory Cell Operation.
Computer Memory Storage Decoding Addressing 1. Memories We've Seen SIMM = Single Inline Memory Module DIMM = Dual IMM SODIMM = Small Outline DIMM RAM.
Computer Architecture Lecture 24 Fasih ur Rehman.
Physical Memory and Physical Addressing By Alex Ames.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /3/2013 Lecture 9: Memory Unit Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE CENTRAL.
Semiconductor Memory Types
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
COMP541 Memories II: DRAMs
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
5-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Module IV Memory Organization.
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
William Stallings Computer Organization and Architecture 7th Edition
Computer Architecture & Operations I
William Stallings Computer Organization and Architecture 8th Edition
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
AKT211 – CAO 07 – Computer Memory
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

5-1 Memory System

Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable) 1M x 8 Address Bus (A0 – A19) Data Bus ( D0 – D7)

Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable) 512K x 8 Address Bus (A0 – A19) D0 – D7 512K x 8 Data Bus (D0 – D15) D8 – D15

Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable) 512K x 8 Address Bus (A0 – A19) D0 – D7 512K x 8 Data Bus (D0 – D15) D8 – D15 Bank 0Bank 1 EVEN addresses goes to bank 0 ODD addresses goes to bank 1

AL Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable) 512K x 8 Address Bus (A0 – A19) D0 – D7 512K x 8 Data Bus (D0 – D15) D8 – D15 AH Bank 0Bank 1 EVEN addresses goes to bank 0 ODD addresses goes to bank 1 MOV [1000], AX DS:1000 = AL DS:1001 = AH

AH Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable) 512K x 8 Address Bus (A0 – A19) D0 – D7 512K x 8 Data Bus (D0 – D15) D8 – D15 AL Bank 0Bank 1 EVEN addresses goes to bank 0 ODD addresses goes to bank 1 MOV [1001], AX DS:1001 = AL DS:1002 = AH

BHE'A0Function 00 Both banks are enabled for a 16-bit transfer 01 High bank enabled for an 8-bit transfer 10 low bank enabled for an 8-bit transfer 11No banks enabled

5-9 Designing Larger Memories 64M X 32 memory using 16M X 16 chips

5-10 Memory Mapping Full mapping

5-11 Memory Mapping (cont’d) Partial mapping

5-12 Interleaved Memory In our memory designs – Block of contiguous memory addresses is mapped to a module One advantage – Incremental expansion Disadvantage – Successive accesses take more time » Not possible to hide memory latency Interleaved memories – Improve access performance Allow overlapped memory access Use multiple banks and access all banks simultaneously – Addresses are spread over banks » Not mapped to a single memory module

5-13 Interleaved Memory (cont’d)

5-14 Interleaved Memory (cont’d) Interleaved memory allows pipelined access to memory

5-15 Interleaved Memory (cont’d) Number of banks – M = memory access time in cycles – To provide one word per cycle Number of banks  M Drawbacks of interleaved memory – Involves complex design Example: Need MDR or MAR – Reduced fault-tolerance One bank failure leads to failure of the whole memory – Cannot be expanded incrementally

Static RAM (SRAM) Essentially uses flip-flops to store charge (transistor circuit) As long as power is present, transistors do not lose charge (no refresh) Very fast (no sense circuitry to drive nor charge depletion) Complex construction Large bit circuit Expensive Used for Cache RAM because of speed and no need for large volume

5-17 Static RAM Structure six transistors per bit (flip flop) “NOT” /1 = example

Dynamic RAM (DRAM) Bits stored as charge in capacitors Simpler construction Smaller per bit Less expensive Slower than SRAM Typical application is main memory Essentially analogue -- level of charge determines value

5-19 Dynamic RAM Structure one transistor and one capacitor per bit ‘High’ Voltage at Y allows current to flow from X to Z or Z to X X Y Z +

5-20 SRAM v.s. DRAM Static Random Access Memory (SRAM) Dynamic Random Access Memory (DRAM) Storage element Advantages 1.Fast 2.No refreshing operations 1.High density and less expensive Disadvantages 1.Large silicon area 2.expensive 1.Slow 2.Require refreshing operations Applications High speed memory applications, Such as cache Main memories in computer systems

5-21 DRAM Organisation Two dimensional matrix Bits are accesses by: cas –Accepting row and column addresses down the same multiplexed address bus –First: Row address is presented and latched by ras signal –Next: column address is presented and latched by cas signal

5-22 Typical 16 Mb DRAM (4M x 4) 2 k x 2 k = 4 M RAS = Row Addr. Select CAS = Column Addr. Select WE = Write Enable OE = Output Enable nybble

5-23 Accessing DRAMs  DRAM block diagram Addr[7:0] CAS RAS Storage Array Column decoder Row decoder

5-24 Accessing DRAMs  Address bus selection circuit QDQD CLK set QD Q decoder address IO/M RAS CAS To DRAM Row Address Column Address MUX

5-25 Accessing DRAMs  Refreshing operations — Because leakage current will destroy information stored on DRAM capacitors periodic refreshing operations are required for DRAM circuits — During refreshing operation, DRAM circuit are not able to response processor’s request to perform read or write operations — How to suspend memory operations? — DRAM controllers are developed to take care DRAM refreshing operations

5-26