RAM & ROM Based Digital Design. ECE 152A Winter 2012



Similar documents
Memory Basics. SRAM/DRAM Basics

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

A N. O N Output/Input-output connection

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Homework # 2. Solutions. 4.1 What are the differences among sequential access, direct access, and random access?

Memory. The memory types currently in common usage are:

Chapter 7 Memory and Programmable Logic

Sequential Circuit Design

With respect to the way of data access we can classify memories as:

Computer Systems Structure Main Memory Organization

Chapter 5 :: Memory and Logic Arrays

1. Memory technology & Hierarchy

Computer Architecture

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

Objectives. Units of Memory Capacity. CMPE328 Microprocessors (Spring ) Memory and I/O address Decoders. By Dr.

Chapter 9 Semiconductor Memories. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Microprocessor or Microcontroller?

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Algorithms and Methods for Distributed Storage Networks 3. Solid State Disks Christian Schindelhauer

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Memory Systems. Static Random Access Memory (SRAM) Cell

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

CHAPTER 16 MEMORY CIRCUITS

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

CHAPTER 7: The CPU and Memory

Semiconductor Memories

Memory unit. 2 k words. n bits per word

Memory Testing. Memory testing.1

Random-Access Memory (RAM) The Memory Hierarchy. SRAM vs DRAM Summary. Conventional DRAM Organization. Page 1

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

Chapter 2 Logic Gates and Introduction to Computer Architecture

MICROPROCESSOR AND MICROCOMPUTER BASICS

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

NAND Flash FAQ. Eureka Technology. apn5_87. NAND Flash FAQ

Table 1: Address Table

Embedded Systems Design Course Applying the mbed microcontroller

Price/performance Modern Memory Hierarchy

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Interfacing To Alphanumeric Displays

Discovering Computers Living in a Digital World

Copyright Peter R. Rony All rights reserved.

1 / 25. CS 137: File Systems. Persistent Solid-State Storage

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

Flash Memories. João Pela (52270), João Santos (55295) December 22, 2008 IST

COMBINATIONAL CIRCUITS

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Chapter 8 Memory Units

The Central Processing Unit:

User s Manual HOW TO USE DDR SDRAM

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Slide Set 8. for ENCM 369 Winter 2015 Lecture Section 01. Steve Norman, PhD, PEng

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Understanding Memory TYPES OF MEMORY

Two-level logic using NAND gates

The Programming Interface

Data remanence in Flash Memory Devices

Introduction to Programmable Logic Devices. John Coughlan RAL Technology Department Detector & Electronics Division

Writing Assignment #2 due Today (5:00pm) - Post on your CSC101 webpage - Ask if you have questions! Lab #2 Today. Quiz #1 Tomorrow (Lectures 1-7)

Lecture N -1- PHYS Microcontrollers

3.Basic Gate Combinations

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

AN1837. Non-Volatile Memory Technology Overview By Stephen Ledford Non-Volatile Memory Technology Center Austin, Texas.

Computer Organization and Architecture. Characteristics of Memory Systems. Chapter 4 Cache Memory. Location CPU Registers and control unit memory

2.0 Command and Data Handling Subsystem

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Spacecraft Computer Systems. Colonel John E. Keesee

Class 18: Memories-DRAMs

Introduction to Digital System Design

1.1 Silicon on Insulator a brief Introduction

OVERVIEW OF MICROPROCESSORS

Lecture 5: Gate Logic Logic Optimization

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

Embedded Software development Process and Tools: Lesson-4 Linking and Locating Software

7a. System-on-chip design and prototyping platforms

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

SOLVING HIGH-SPEED MEMORY INTERFACE CHALLENGES WITH LOW-COST FPGAS

Memory is implemented as an array of electronic switches

Gates, Circuits, and Boolean Algebra

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

We r e going to play Final (exam) Jeopardy! "Answers:" "Questions:" - 1 -

Finite State Machine. RTL Hardware Design by P. Chu. Chapter 10 1

Single 2.5V - 3.6V or 2.7V - 3.6V supply Atmel RapidS serial interface: 66MHz maximum clock frequency. SPI compatible modes 0 and 3

Programming NAND devices

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

路 論 Chapter 15 System-Level Physical Design

W25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI

Multiple Choice Questions(Computer)

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

EXERCISE 3: String Variables and ASCII Code

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

Transcription:

RAM & ROM Based Digital Design ECE 152A Winter 212

Reading Assignment Brown and Vranesic 1 Digital System Design 1.1 Building Block Circuits 1.1.3 Static Random Access Memory (SRAM) 1.1.4 SRAM Blocks in PLDs March 12, 212 ECE 152A - Digital Design Principles 2

Reading Assignment Roth 9 Multiplexers, Decoders, and Programmable Logic Devices 9.5 Read Only Memories March 12, 212 ECE 152A - Digital Design Principles 3

Read/Write Memories RAM Random Access Memory Same access time to all memory locations As opposed to serial access memory About the same time for read and write SRAM Static Random Access Memory Built with cross coupled inverters and pass transistors March 12, 212 ECE 152A - Digital Design Principles 4

Read/Write Memories 6T SRAM Cell CMOS implementation with pass transistors Sense amp at bottom of column March 12, 212 ECE 152A - Digital Design Principles 5

Read/Write Memories RAM Blocks and Register Files March 12, 212 ECE 152A - Digital Design Principles 6

Read/Write Memories RAM (cont) DRAM Uses capacitance on MOSFET gate Must be refreshed periodically Restore charge on gate capacitance Accomplished by reading or writing to memory location March 12, 212 ECE 152A - Digital Design Principles 7

Read/Write Memories RAM (cont) Both SRAM and DRAM are volatile Data lost when power is removed DRAM has approximately 4 times the capacity of SRAM Basic memory cell of DRAM is smaller ~2 transistors vs. 6 SRAM is generally faster March 12, 212 ECE 152A - Digital Design Principles 8

Read Only Memories ROM, PROM, EPROM, EEPROM, EAROM Not in-system writeable Except by special means, i.e. non-standard voltages and timing Non-volatile Data retained when power removed ROM : Read Only Memory Mask programmed by manufacturer Not erasable (programming permanent) High volume applications March 12, 212 ECE 152A - Digital Design Principles 9

Read Only Memories ROM, PROM, EPROM, EEPROM, EAROM PROM : Programmable Read Only Memory Programmed by user Also not erasable EPROM : Erasable Programmable Read Only Memory Programmed by user Erased using UV light erase sets all bits to or 1 Development applications March 12, 212 ECE 152A - Digital Design Principles 1

Read Only Memories ROM, PROM, EPROM, EEPROM, EAROM EEPROM : Electrically Erasable Programmable Read Only Memory Programmed by user Erased electrically Possibly in system, but requires non-standard voltages EAROM : Electrically Alterable Read Only Memory Similar to EEPROM March 12, 212 ECE 152A - Digital Design Principles 11

Read Mostly Memories Flash memory Writable and non-volatile Reads very fast Writes very slowly Referred to as programming No special voltages for in system writing Flash refers to the fact that the entire content of the memory chip can be erased in one step Once erased and written, data is retained for 2+ years March 12, 212 ECE 152A - Digital Design Principles 12

Memory Structure Array of memory cells Organization refers to number of and width of memory words Example 124 bit memory can organized as: 124 one-bit word 512 two-bit words 256 four-bit words 128 eight-bit words Internal array is the same for all organizations Decoding and I/O circuitry differs March 12, 212 ECE 152A - Digital Design Principles 13

Memory Structure Memory Array and Address Decoder March 12, 212 ECE 152A - Digital Design Principles 14

Combinational Design with Memories ROM (and RAM and Flash) is a physical truth table All addresses equal all inputs to logic network Each row of truth table corresponds to a single address in the memory Example: 128 x 8 ROM 128, 8-bit words Log 2 128 = 7 address bits (A6 A) 8 data bits D7 D Can implement 7 input, 8 output function March 12, 212 ECE 152A - Digital Design Principles 15

Combinational Design with Memories Binary to BCD converter with 128 x 8-bit ROM Addresses 99 Output equals 2 digit BCD number Addresses 1 127 All one s, indicating invalid input March 12, 212 ECE 152A - Digital Design Principles 16

Combinational Design with Memories ROM Contents Hex addresses through 7F Address 1 Data 1 Decimal Value 1 F 1 1 11 1 11 15 16 63 64 11 11 1111 1111 99 Invalid 7F 1111 1111 Invalid March 12, 212 ECE 152A - Digital Design Principles 17

Combinational Design with Memories Final Implementation March 12, 212 ECE 152A - Digital Design Principles 18

State Machine Design with Memories For state machine, map state table directly into memory Address lines driven by present state and present input Data outputs consist of next state and present output Both Mealy and Moore machines can be realized Output of Moore machine lags by one clock period (when state table directly mapped) March 12, 212 ECE 152A - Digital Design Principles 19

State Machine Design with Memories Hardware Implementation March 12, 212 ECE 152A - Digital Design Principles 2

State Machine Design with Memories Recall 11 sequence detector Mealy machine NS PS x= x=1 AB A + B + A + B +, 1, 1 1 1, 1, 2 1, 1,1 March 12, 212 ECE 152A - Digital Design Principles 21

State Machine Design with Memories ROM Contents (8 x 3-bit) Address Data PS x NS z 1 1 1 1 1 1 1 1 1 1 1 1 11 xx xx 11 1 xx xx March 12, 212 ECE 152A - Digital Design Principles 22

State Machine Design with Memories Timing Diagram March 12, 212 ECE 152A - Digital Design Principles 23

State Machine Design with Memories 11 sequence detector (again) Moore machine NS PS x= x=1 AB A + B + A + B + Z 1 1 1 1 1 2 1 11 3 11 1 1 1 March 12, 212 ECE 152A - Digital Design Principles 24

State Machine Design with Memories Direct mapping of state table to memory Output lags by one clock period Introduces latency to output timing Pipelining effect Implement as Mealy-like machine Associate output with next state, not present state All states have only one associated output (like Moore) Eliminates one clock-period latency No longer true Moore machine March 12, 212 ECE 152A - Digital Design Principles 25