University of Tehran 1 Microprocessor System Design Memory Timing Omid Fatemi

Slides:



Advertisements
Similar presentations
Outline Memory characteristics SRAM Content-addressable memory details DRAM © Derek Chiou & Mattan Erez 1.
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
Memory Section 7.2. Types of Memories Definitions – Write: store new information into memory – Read: transfer stored information out of memory Random-Access.
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)
H. Huang Transparency No.5-1 The 68HC11 Microcontroller Chapter 5: Operation Modes and Memory Expansion The 68HC11 Microcontroller Han-Way Huang Minnesota.
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
EKT 221 : DIGITAL 2. Today’s Outline  Dynamic RAM (DRAM)  DRAM Cell – The Hydraulic Analogy  DRAM Block Diagram  Types of DRAM.
EECC341 - Shaaban #1 Lec # 19 Winter Read Only Memory (ROM) –Structure of diode ROM –Types of ROMs. –ROM with 2-Dimensional Decoding. –Using.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
Chapter 10. Memory, CPLDs, and FPGAs
DRAM. Any read or write cycle starts with the falling edge of the RAS signal. –As a result the address applied in the address lines will be latched.
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.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
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.
Chapter 6 Memory and Programmable Logic Devices
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.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Memory Technology “Non-so-random” Access Technology:
University of Tehran 1 Microprocessor System Design Omid Fatemi Memory Interfacing
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
University of Tehran 1 Interface Design Memory Modules Omid Fatemi
Survey of Existing Memory Devices Renee Gayle M. Chua.
Memory interface Memory is a device to store data
CMPUT 429/CMPE Computer Systems and Architecture1 CMPUT429 - Winter 2002 Topic5: Memory Technology José Nelson Amaral.
University of Tehran 1 Interface Design Compute Memory Timing Omid Fatemi
Minimum System Requirements Clock Generator Memory Interfacing.
Memory and Storage Dr. Rebhi S. Baraka
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Memory Devices May be classified as: Connections: ROM; Flash; SRAM;
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
University of Tehran 1 Interface Design DRAM Modules Omid Fatemi
 Seattle Pacific University EE Logic System DesignMemory-1 Memories Memories store large amounts of digital data Each bit represented by a single.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Memory Read only memory (ROM) – nonvolatile
University of Tehran 1 Microprocessor System Design Timers Omid Fatemi
Overview Memory definitions Random Access Memory (RAM)
AT91 Memory Interface. 2 Features –Up to 8 programmable chip select lines –Remap Command allows dynamic exception vectors –Glue-less for both 8-bit and.
Computer Architecture Lecture 24 Fasih ur Rehman.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 2.
COMP541 Memories II: DRAMs
Memory 2 ©Paul Godin Created March 2008 Memory 2.1.
Memory Systems 3/17/ Memory Classes Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture.
Computer Architecture Chapter (5): Internal Memory
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
MICROPROCESSOR BASED SYSTEM DESIGN BY PROF. DR. B. S. CHOWDHRY Lecture #
COMP541 Memories II: DRAMs
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
ENG241 Digital Design Week #11 Memory Systems School of Engineering.
COMP541 Memories II: DRAMs
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
EE345: Introduction to Microcontrollers Memory
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

University of Tehran 1 Microprocessor System Design Memory Timing Omid Fatemi

University of Tehran 2 Outline Reading / Writing memory Timing requirements - microprocessor side Timing of 6264 and 2764 Slow memories and wait states DRAM interfacing RAS / CAS signals DRAM in PC

University of Tehran 3 Writing Sequence of steps –Setup address lines –Setup data lines –Activate write line (maybe a pos edge) –Usually latch on the next edge

University of Tehran 4 Writing

University of Tehran 5 Reading Steps –Setup address lines –Activate read line –Data available after specified amt of time

University of Tehran 6 Reading

University of Tehran 7 Processor Timing Diagram for any memory read machine cycle

University of Tehran 8 Processor Timing Diagram for any memory write machine cycle

University of Tehran 9 Chip Select Usually a line to enable the chip

University of Tehran 10 Minimum Mode

University of Tehran 11 Minimum Mode When Memory is selected?

University of Tehran 12 Minimum Mode 2 20 bytes or 1MB

University of Tehran 13 When interfacing memory chips to a microprocessor, consider the following: TAVDV – address access time TRLDV – read access time TDVWH – memory setup time TWHDX – data hold time TWLWH – write pulse witdth Refer to 8088 data manual8088 data manual

University of Tehran 14 Address Access Time (TAVDV)

University of Tehran 15 Timing Requirements during Memory Read TAVDV –3TCLCL – TCLAV – TDVCL –Address Access Time –from Address is Valid to Data is Valid

University of Tehran 16 Read Access Time (TRLDV)

University of Tehran 17 Timing Requirements during Memory Read TRLDV –2TCLCL – TCLRL – TDVCL –Read Access Time –from Read Signal is Low to Data is Valid

University of Tehran 18 Memory Setup Time (TDVWH)

University of Tehran 19 Timing Requirements during Memory Write TDVWH –2TCLCL – TCLDV +TCVCTX –Memory Setup Time –from Data is Valid to Write Signal is High

University of Tehran 20 Data Hold Time (TWHDX)

University of Tehran 21 Timing Requirements during Memory Write TWHDX –TCLCH – X –Data Hold Time (after WR ’ ) –from Write Signal is High to Data is Invalid (Inactive)

University of Tehran 22 Write Pulse Width / Write- Time (TWLWH)

University of Tehran 23 Timing Requirements during Memory Write TWLWH –2TCLCL – Y –Write Pulse Width / Write-Time –from Write Signal is Low to Write Signal is High

University of Tehran MINIMUM COMPLEXITY SYSTEM TIMING REQUIREMENTS

University of Tehran 25 Computation of Timing Requirements for 8088 using a 4Mhz Clock TAVDV  3TCLCL – TCLAV max – TDVCL min  3(250 ns) – 110 ns – 30 ns  610 ns TRLDV  2TCLCL – TCLRL max – TDVCL min  3(250 ns) – 165 ns – 30 ns  555 ns

University of Tehran MINIMUM COMPLEXITY SYSTEM TIMING REQUIREMENTS

University of Tehran 27 Computation of Timing Requirements for 8088 using a 4Mhz Clock TDVWH  2TCLCL – TCLDV max +TCVCTX min  2(250 ns) – 110 ns + 10 ns  400 ns TWHDX  TCLCH – X  118 ns – 30 ns  88 ns TWLWH  2TCLCL – Y  2(250 ns) – 60 ns  440 ns

University of Tehran 28 Timing Requirements for 8088 using a 4Mhz Clock TAVDV = 610 ns TRLDV = 555 ns TDVWH = 400 ns TWHDX = 88 ns TWLWH = 440 ns

University of Tehran 29 Can we interface a 6264 to the 8088 chip which uses a 4MHz clock?

University of Tehran 30 Timing Requirements for 6264 SRAM TAVDV = ? TRLDV = ? TDVWH = ? TWHDX = ? TWLWH = ?

University of Tehran 31 HM6264B Series Read TIMING REQUIREMENTS

University of Tehran 32 HM6264B Series Write TIMING REQUIREMENTS

University of Tehran 33 HM6264B Series Read Timing Diagram

University of Tehran 34 HM6264B Series Write Timing Diagram

University of Tehran 35 Timing Requirements for 6264 SRAM TAVDV = t AA TRLDV = t OE TDVWH = t DW TWHDX = t DH TWLWH = t WP

University of Tehran 36 Timing Requirements for HM6264B-8L TAVDV = t AA = ? TRLDV = t OE = ? TDVWH = t DW = ? TWHDX = t DH = ? TWLWH = t WP = ?

University of Tehran 37 HM6264B Series Read TIMING REQUIREMENTS

University of Tehran 38 HM6264B Series Write TIMING REQUIREMENTS

University of Tehran 39 Timing Requirements for HM6264B-8L TAVDV = t AA = 85 ns TRLDV = t OE = 45 ns TDVWH = t DW = 40 ns TWHDX = t DH = 0 ns TWLWH = t WP = 55 ns

University of Tehran 40 Comparing Timing Requirements of 8088 (using 4 Mhz clock) and HM6264B-8L

University of Tehran 41 Can we interface a 2764 to the 8088 chip which uses a 4MHz clock?

University of Tehran 42 Timing Requirements for 2764 EPROM TAVDV = ? TRLDV = ? TDVWH = ? TWHDX = ? TWLWH = ?

University of Tehran 43 M2764A Read Mode AC Characteristics

University of Tehran 44 M2764A Read Mode Timing Diagram

University of Tehran 45 Timing Requirements for 2764 EPROM TAVDV = t AVQV TRLDV = t GLQV TDVWH = N/A TWHDX = N/A TWLWH = N/A

University of Tehran 46 Timing Requirements for 2764 EPROM TAVDV = t AVQV = ? TRLDV = t GLQV = ? TDVWH = N/A TWHDX = N/A TWLWH = N/A

University of Tehran 47 M2764A Read Mode AC Characteristics

University of Tehran 48 Timing Requirements for M2764A-3 TAVDV = t AVQV = 180 ns TRLDV = t GLQV = 65 ns TDVWH = N/A TWHDX = N/A TWLWH = N/A

University of Tehran 49 Comparing Timing Requirements of 8088 (using 4 Mhz clock) and M2764A-3

University of Tehran 50 What if we need to interface a “slow” memory to the 8088?

University of Tehran 51 Comparing Timing Requirements of 8088 (using 4 Mhz clock) and a certain “slow” memory chip

University of Tehran 52

University of Tehran 53 Recall:Write Pulse Width / Write-Time (TWLWH)

University of Tehran 54 Write Pulse Width / Write-Time (TWLWH) w/ 1 wait state

University of Tehran 55 Comparing Timing Requirements of 8088 (using 4 Mhz clock) and a certain memory chip caused by 1 wait state during a memory write on the “slow” memory chip

University of Tehran 56 How do we produce a wait state? By turning the READY input of the 8088 microprocessor to LOW

University of Tehran 57

University of Tehran 58 Requirements for the READY input of the 8088

University of Tehran 59 Requirements for the RDY of the 8284

University of Tehran 60

University of Tehran 61 Dynamic RAM Capacitor can hold charge Transistor acts as gate No charge is a 0 Can close switch & add charge to store a 1 Then open switch (disconnect) Can read by closing switch –Sense amps

University of Tehran 62 Hydraulic Analogy Storage Full (1) Empty (0) Pump fills tank to 1 value Pump drains tank to 0 value

University of Tehran 63 Reading Tank had a 1 value – raises water level Outside water begins at intermediate level (black wavy line) Tank had a 0 value – lowers water level

University of Tehran 64 DRAM Refreshing Refresh –Destructive read –Also, there’s steady leakage –Charge must be restored periodically

University of Tehran 65 DRAM Logical Diagram

University of Tehran 66 DRAM Read Signaling Lower pin count by using same pins for row and column addresses Delay until data available

University of Tehran 67 Standard DRAM Timing

University of Tehran 68 DRAM Write Timing

University of Tehran 69 PC RAM Interface

University of Tehran 70 DRAM Connections in PC

University of Tehran 71 Wait State Generation

University of Tehran 72 DRAM Refresh Many strategies Logic on chip Here a row counter

University of Tehran 73