FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Topics n Latches and flip-flops. n RAMs and ROMs.

Slides:



Advertisements
Similar presentations
COEN 180 SRAM. High-speed Low capacity Expensive Large chip area. Continuous power use to maintain storage Technology used for making MM caches.
Advertisements

Computer Organization and Architecture
Memory Section 7.2. Types of Memories Definitions – Write: store new information into memory – Read: transfer stored information out of memory Random-Access.
Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Memory elements. n Basics of sequential machines.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 16 - Sequential.
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
These slides incorporate figures from Digital Design Principles and Practices, third edition, by John F. Wakerly, Copyright 2000, and are used by permission.
C H A P T E R 15 Memory Circuits
CP208 Digital Electronics Class Lecture 11 May 13, 2009.
1 DIGITAL DESIGN I DR. M. MAROUF MEMORY Read-only memories Static read/write memories Dynamic read/write memories Author: John Wakerly (CHAPTER 10.1 to.
Elettronica T AA Digital Integrated Circuits © Prentice Hall 2003 SRAM & DRAM.
Introduction to CMOS VLSI Design Lecture 13: SRAM
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
Chapter 10. Memory, CPLDs, and FPGAs
11/29/2004EE 42 fall 2004 lecture 371 Lecture #37: Memory Last lecture: –Transmission line equations –Reflections and termination –High frequency measurements.
Introduction to CMOS VLSI Design SRAM/DRAM
Overview Memory definitions Random Access Memory (RAM)
L14 – Memory 1 Comp 411 – Spring /18/08 Memory, Latches, & Registers 1) Structured Logic Arrays 2) Memory Arrays 3) Transparent Latches 4) How to.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Lecture 4: Computer Memory
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Memory elements. n Basics of sequential machines.
Memory and Advanced Digital Circuits 1.
Modern VLSI Design 2e: Chapter 6 Copyright  1998 Prentice Hall PTR Topics n Memories: –ROM; –SRAM; –DRAM. n PLAs.
Lecture 19: SRAM.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
Digital Integrated Circuits for Communication
Digital Integrated Circuits for Communication
Lecture on Electronic Memories. What Is Electronic Memory? Electronic device that stores digital information Types –Volatile v. non-volatile –Static v.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Modern VLSI Design 3e: Chapters 5& 6Partly from 2002 Prentice Hall PTR week11-1 Lecture 27 Sequencial Logic (cont’d) Mar. 17, 2003.
Review: Basic Building Blocks  Datapath l Execution units -Adder, multiplier, divider, shifter, etc. l Register file and pipeline registers l Multiplexers,
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 1.
Modern VLSI Design 4e: Chapter 6 Copyright  2008 Wayne Wolf Topics Memories: –ROM; –SRAM; –DRAM; –Flash. Image sensors. FPGAs. PLAs.
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.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 12.1 EE4800 CMOS Digital IC Design & Analysis Lecture 12 SRAM Zhuo Feng.
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
Digital Design: Principles and Practices
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
CSE477 L24 RAM Cores.1Irwin&Vijay, PSU, 2002 CSE477 VLSI Digital Circuits Fall 2002 Lecture 24: RAM Cores Mary Jane Irwin ( )
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 24: November 5, 2010 Memory Overview.
Computer Organization and Design Memories and State Machines Montek Singh Mon, April 13, 2011 Lecture 14.
Computer Architecture Lecture 24 Fasih ur Rehman.
Feb. 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 12: State Elements, Registers, and Memory * Jeremy R. Johnson Mon. Feb.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Computer Organization and Design Memories and State Machines Montek Singh Wed, Nov 6-11, 2013 Lecture 13.
Semiconductor Memory Types
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 28: November 7, 2014 Memory Overview.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 28: November 8, 2013 Memory Overview.
Latches, Flip Flops, and Memory ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin – Madison.
Static and Dynamic Memory
Computer Architecture Chapter (5): Internal Memory
Lecture 3. Lateches, Flip Flops, and Memory
Memories.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Internal Memory.
William Stallings Computer Organization and Architecture 7th Edition
Chapter 11 Sequential Circuits.
EE345: Introduction to Microcontrollers Memory
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Topics n Latches and flip-flops. n RAMs and ROMs.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Register n Stores a value as controlled by clock. n May have load signal, etc. n In CMOS, memory is created by: –capacitance (dynamic); –feedback (static).

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Variations in registers n Form of required clock signal. n How behavior of data input around clock affects the stored value. n When the stored value is presented to the output. n Whether there is ever a combinational path from input to output.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Register terminology n Latch: transparent when internal memory is being set from input. n Flip-flop: not transparent—reading input and changing output are separate events.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Clock terminology n Clock edge: rising or falling transition. n Duty cycle: fraction of clock period for which clock is active (e.g., for active-low clock, fraction of time clock is 0).

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Registerd parameters n Setup time: time before clock during which data input must be stable. n Hold time: time after clock event for which data input must remain stable. clock data

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Dynamic latch Stores charge on inverter gate capacitance:

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Latch characteristics n Uses complementary transmission gate to ensure that storage node is always strongly driven. n Latch is transparent when transmission gate is closed. n Storage capacitance comes primarily from inverter gate capacitance.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Latch operation  = 0: transmission gate is off, inverter output is determined by storage node.  = 1: transmission gate is on, inverter output follows D input. n Setup and hold times determined by transmission gate—must ensure that value stored on transmission gate is solid.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Stored charge leakage n Stored charge leaks away due to reverse- bias leakage current. n Stored value is good for about 1 ms. n Value must be rewritten to be valid. n If not loaded every cycle, must ensure that latch is loaded often enough to keep data valid.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Multiplexer dynamic latch

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Non-dynamic latches n Must use feedback to restore value. n Some latches are static on one phase (pseudo-static)—load on one phase, activate feedback on other phase.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Recirculating latch Static on one phase:

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Edge-triggered flip-flop  DQ

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Master-slave operation  = 0: master latch is disabled; slave latch is enabled, but master latch output is stable, so output does not change.  = 1: master latch is enabled, loading value from input; slave latch is disabled, maintaining old output value.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR High-density memory architecture

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Memory operation n Address is divided into row, column. –Row may contain full word or more than one word. n Selected row drives/senses bit lines in columns. n Amplifiers/drivers read/write bit lines.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Read-only memory (ROM) n ROM core is organized as NOR gates— pulldown transistors of NOR determine programming. n Mask-programmable ROM uses pulldowns to determine ROM contents.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Flash memory n Flash: electrically erasable PROM that can be programmed with standard voltages. n Uses dual capacitor structure. n Available in some digital processes for integrated memory, but raises the price of the manufacturing process.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR ROM core circuit

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR SRAM critical path core Sense amp

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Row decoders n Decode row using NORs:

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Static RAM (SRAM) n Core cell uses six-transistor circuit to store value. n Value is stored symmetrically—both true and complement are stored on cross- coupled transistors. n SRAM retains value as long as power is applied to circuit.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR SRAM core cell

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR SRAM core operation n Read: –precharge bit and bit’ high; –set select line high from row decoder; –one bit line will be pulled down. n Write: –set bit/bit’ to desired (complementary) values; –set select line high; –drive on bit lines will flip state if necessary.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR SRAM sense amp

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Sense amp operation n Differential pair—takes advantage of complementarity of bit lines. n When one bit line goes low, that arm of diff pair reduces its current, causing compensating increase in current in other arm. n Sense amp can be cross-coupled to increase speed.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR 3-transistor dynamic RAM (DRAM) n First form of DRAM—modern commercial DRAMs use one-transistor cell. n 3-transistor cell can easily be made with a digital process. n Dynamic RAM loses value due to charge leakage—must be refreshed.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR 3-T DRAM core cell

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR 1-T RAM n 1 transistor + 1 capacitor: bit word

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR 1-T DRAM with trench capacitor

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR 1-T DRAM with stacked capacitor

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Embedded DRAM n Embedded DRAM is integrated with logic. n DRAM and logic processes are hard to make compatible. –Capacitor requires high temperatures that destroy fine-line transistors. n Embedded DRAM is less dense than commodity DRAM.

FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR 3-T DRAM operation n Value is stored on gate capacitance of t 1. n Read: –read = 1, write = 0, read_data’ is precharged; –t 1 will pull down read_data’ if 1 is stored. n Write: –read = 0, write = 1, write_data = value; –guard transistor writes value onto gate capacitance. n Cannot support full connectivity between all data path elements—must choose number of transfers per cycle allowed. n A bus circuit is a specialized multiplexer circuit. n Two major choices: pseudo-nMOS, precharged.