COMP3221: Microprocessors and Embedded Systems Lecture 23: Memory Systems (II) Lecturer: Hui Wu Session 2, 2005.

Slides:



Advertisements
Similar presentations
ECE 353 Introduction to Microprocessor Systems
Advertisements

ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 10.
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
VHDL 8 Practical example
ECE 2211 Microprocessor and Interfacing Chapter 8 The 8088/8086 Microprocessors and their memory and I/O interfaces Br. Athaur Rahman Bin Najeeb Room.
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
H. Huang Transparency No.5-1 The 68HC11 Microcontroller Chapter 5: Operation Modes and Memory Expansion The 68HC11 Microcontroller Han-Way Huang Minnesota.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /23/2013 Lecture 7: Computer Clock & Memory Elements Instructor: Ashraf Yaseen DEPARTMENT OF MATH &
Hardware interfacing  Supplying Clock & Power  Buses and bridges  DC/AC analysis  Timing analysis  Design considerations  Design for worst case.
COMP3221: Microprocessors and Embedded Systems Lecture 17: Computer Buses and Parallel Input/Output (I) Lecturer: Hui.
SYSTEM CLOCK Clock (CLK) : input signal which synchronize the internal and external operations of the microprocessor.
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
The 8085 Microprocessor Architecture
RLH - Spring 1998ECE 611 Hardware - 1 Basic Microprocessor Hardware ECE 611 Microprocessor Systems Dr. Roger L. Haggard, Associate Professor Department.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 11.
Parallel I/O Interface Memory CPUI/OTransducer Actuator Output Device Input Device Parallel Interface Microprocessor / Microcontroller Direct memory access(DMA)
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
COMP3221: Microprocessors and Embedded Systems Lecture 15: Interrupts I Lecturer: Hui Wu Session 1, 2005.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
68000 Interface Timing Diagrams Outline –68000 Read Cycle –68000 Write Cycle Goal –Understand bus cycles –Learn how to attach memory, peripherals.
Memory Devices Wen-Hung Liao, Ph.D..
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
680XX Hardware Interface Outline Goal Reading
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
CS 151 Digital Systems Design Lecture 28 Timing Analysis.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Microcomputer & Interfacing Lecture 2
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Memory interface Memory is a device to store data
Memory interface Memory is a device to store data
created by :Gaurav Shrivastava
COMP3221: Microprocessors and Embedded Systems
CompE 460 Real-Time and Embedded Systems Lecture 5 – Hardware Fundamentals.
ECE 353 Introduction to Microprocessor Systems Discussion 8.
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
The 8253 Programmable Interval Timer
COMP3221: Microprocessors and Embedded Systems Lecture 18: Computer Buses and Parallel Input/Output (II) Lecturer: Hui.
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
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
© 2000 Morgan Kaufman Overheads for Computers as Components System components  Timing diagrams.  Memory.  Busses and interconnect.
Memory Devices May be classified as: Connections: ROM; Flash; SRAM;
Direct Memory Access (DMA) Microprocessors I -1. Topics to be discussed  Basic DMA Concept Basic DMA Concept  DMA pins and timing DMA pins and timing.
 Seattle Pacific University EE Logic System DesignMemory-1 Memories Memories store large amounts of digital data Each bit represented by a single.
Memory Read only memory (ROM) – nonvolatile
University of Tehran 1 Microprocessor System Design Memory Timing Omid Fatemi
Semiconductor memory utilization. Memories 2/20 Main memory map Timings Power supplying.
Random Access Memory (RAM) Technology Why do computer designers need to know about RAM technology? Processor performance is usually limited by memory.
Engineering 4862 Microprocessors Lecture 21
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Bus Protocols and Interfacing Bus basics I/O transactions MPC555 bus Reference:
MACHINE CYCLE AND T-STATE
Memory 2 ©Paul Godin Created March 2008 Memory 2.1.
Chapter Microcontroller
Memory Systems 3/17/ Memory Classes Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture.
3/19/  Differentiate the class of memory  List the type of main memory  Explain memory architecture and operation  Draw memory map  Design.
VHDL Models For Memory And Busses 구 본 진.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
Timing waveform for an I/O bus  Determine which signals are active LOW and which are active HIGH  Are any of the signal lines multiplexed, and if so.
EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing
16.317: Microprocessor System Design I
CPU Sequencing 6/30/2018.
Morgan Kaufmann Publishers
COMP2121: Microprocessors and Interfacing
Rules for Valid and Ready
COMP3221: Microprocessors and Embedded Systems
CPU Sequencing 7/20/2019.
Presentation transcript:

COMP3221: Microprocessors and Embedded Systems Lecture 23: Memory Systems (II) Lecturer: Hui Wu Session 2, 2005

COMP3221/9221: Microprocessors and Embedded Systems 2 Overview Memory Timing Requirements

COMP3221/9221: Microprocessors and Embedded Systems 3 Memory Timing Requirements There are two components of timing requirements. Timing requirements from CPU.  CPU generates control signals such as READ/WRITE, and in the absence of handshaking signals such as WAIT or READY, takes data from or put data on the bus at specific times. Timing requirements from memory.  We will use SRAM as an example to illustrate the timing requirements from the point of view from the memory.

COMP3221/9221: Microprocessors and Embedded Systems 4 CPU Read and Write Cycles t CYC Cycle time: The total time to complete a write or read cycle. t AD Address delay: The delay from the start of the write or read cycle until the address appears on the external address bus. This delay accounts for multiplexing and other CPU-generated delay. t AV Address valid: The time the address is valid on the external address. The CPU takes it away or changes it at the end of the read or write cycle. The CPU control all reading and writing of information.

5 CPU Read Cycle t RED Read enable delay: The delay from the start of the read cycle until the read enable signal is asserted. This is found in CPUs that have separate READ and WRITE control signals. t RE Read enable pulse length: The duration of the READ signal. t RDD Read data delay: The CPU waits for this time before it reads the data from the data bus. t RDS Read data setup: The time the data must be valid before they are read by the CPU. t RDH Read data hold: The CPU may require the data to be held after it reads them.

6 CPU Read Cycle CPU Clock ADDRESS READ DATA Data Valid Address Valid t RDS t RDH t RDD t RE t RED t AV t AD t CYC

7 CPU Write Cycle t WDD Write data delay: The CPU waits for this time before it places the data to be written to memory on the data bus. t WDV Write data valid The time the CPU keeps the data on the data bus. t WED WRITE enable delay: The CPU waits for this time before it asserts the write enable signal. t WE Write enable pulse length: The during of WRITE signal. t WDH Write data hold: The time the CPU holds the data on the data bus after deasserting the write enable signal.

8 CPU Write Cycle CPU Clock ADDRESS WRITE DATA Data Valid Address Valid t WDV t WDD t RE t WE t AV t AD t CYC t WED t WDH

9 Memory Read Cycle t RC Read cycle: This the total time for the read cycle. t ACS Chip select access: The maximum time required by the memory for the CS to be asserted before the data are available. t AA Address access: This is the maximum time required by the memory for the address to be present before the data are available. t RDHA Read data hold after address: The time the memory may hold the data at the output after the address is changed. t RDHC Read data hold after chip select: The minimum time the chip will hold the data after being deselected.

10 Memory Read Cycle (Cont.) t OE Output enable access: On chips that have an output enable, this parameter gives the maximum time for the chip to respond with the data. t OHZ Output enable to out high Z: On chips that have an output enable, this parameter specifies the time the data will remain valid before going into three-state (high impedance). There are two times for reading data are important to memory designers. The read cycle time, t RC, is the minimum time that the address must be stable (unchanging) at the chip. The address access time, t AA, is the maximum time required by the memory before the data are available.

11 Memory Read Cycle (Cont.) ADDRESS CS OUTPUT ENABLE DATA Data Valid Address Valid t OHZ t OE t ACS t RDHA t RC t RDHC t AA

12 Memory Write Cycle t WC Write cycle: This is the minimum total time required by the memory to complete a write cycle. This may or may not the same as t RC. t CW Chip selection to end of write: The minimum time the CS signal must be asserted. t AS Address setup: The minimum time the address must be valid before the WRITE signal is asserted. t MWE Write enable: The minimum time the WRITE signal must be asserted. t AW Address valid to end of write: The minimum time the address must be valid.

13 Memory Write Cycle (Cont.) t WDS Write data setup: The minimum time the data must be valid before the end of write enable. t MWDHE Write data hold after enable: The minimum time the data must be valid before the WRITE signal is deasserted.

14 Memory Write Cycle (Cont.) ADDRESS CS DATA Data Valid Address Valid t WDS t WDHE t AS t WC t AW t CW t MWE WRITE

COMP3221/9221: Microprocessors and Embedded Systems 15 Reading 1.Chapter 9: Computer Memories. Microcontrollers and Microcomputers by Fredrick M. Cady