ECE 3450 M. A. Jupina, VU, 2010 Memory  Introduction  Read Only Memory (ROM)  MROM  PROM  EPROM  EEPROM  Flash Memory  Random Access Memory (RAM)

Slides:



Advertisements
Similar presentations
Registers and Decoder.
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Introduction to Chapter 12
EECC341 - Shaaban #1 Lec # 19 Winter Read Only Memory (ROM) –Structure of diode ROM –Types of ROMs. –ROM with 2-Dimensional Decoding. –Using.
Chapter 10. Memory, CPLDs, and FPGAs
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.
Computer Organization and Architecture
Chapter 5 Internal Memory
Memory Devices Wen-Hung Liao, Ph.D..
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Memory and Programmable Logic
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
Basic concepts Maximum size of the memory depends on the addressing scheme: 16-bit computer generates 16-bit addresses and can address up to 216 memory.
ECE 456 Computer Architecture
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory /27/081ECE Lecture 13 Memory 2.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
MODULE 5: Main Memory.
Memory and Storage Dr. Rebhi S. Baraka
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
CPEN Digital System Design
Asynchronous vs. Synchronous Counters Ripple Counters Deceptively attractive alternative to synchronous design style State transitions are not sharp! Can.
INTRODUCTION  Major advantage of digital over analog is the ability to easily store large quantities of digital information and data.  Memory – store.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Memory Cell Operation.
Memory 1 ©Paul Godin Created March 2008 Edit April 2011.
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
Computer Architecture Lecture 24 Fasih ur Rehman.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Semiconductor Memory Types
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Memory 2 ©Paul Godin Created March 2008 Memory 2.1.
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
Computer Architecture Chapter (5): Internal Memory
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Recap DRAM Read Cycle DRAM Write Cycle FAST Page Access Mode
Internal Memory.
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
William Stallings Computer Organization and Architecture 8th Edition
Module IV Memory Organization.
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4: MEMORY.
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

ECE 3450 M. A. Jupina, VU, 2010 Memory  Introduction  Read Only Memory (ROM)  MROM  PROM  EPROM  EEPROM  Flash Memory  Random Access Memory (RAM)  SRAM  DRAM  Memory Expansion using Multiple ICs

ECE 3450 M. A. Jupina, VU, 2010 Lecture Objectives Understand and correctly use the terminology associated with memory systems. Describe the difference between read/write memory and read-only memory (and between volatile and nonvolatile memory). Determine the capacity of a memory device from its inputs and outputs. Understand the differences between EPROM, EEPROM, and FLASH memory Understand the basic operation of and the differences between SRAMs and DRAMs. Understand how data is written to and read from a SRAM device. Combine memory ICs to form memory modules with larger word size and/or capacity. References: 1.Memory reference at the course web site. 2.Fundamentals of Digital Logic, sections 3.10 (EEPROMs), , , , and , and appendix D.2.

ECE 3450 M. A. Jupina, VU, 2010 Vocabulary Memory Cell – A device or an electrical circuit used to store a single bit (0 or 1) Memory Word – A group of bits in a memory (word sizes typically range from 4 to 64). Byte – a group of 8 bits Capacity or Density – A way of specifying how many bits can be stored in a particular memory device or system. –Example: bit words total capacity = 81,920 bits or simply 4096 X 20 or 4K X 20 since 1K = 1024 =2 10 –1M or 1 meg = 1,048,576 = 2 20 –1G or 1 gig = 1,073,741,824 = 2 30 Address – a number that identifies the location of a word in memory Read Operation – the operation whereby a word stored in a specified memory location is sensed and then transferred to another device. Write Operation – the operation whereby a new word is placed or stored into a particular memory location. Volatile Memory – any type of memory that requires the application of electrical power in order to store information. If the electrical power is removed, all information stored in the memory will be lost.

ECE 3450 M. A. Jupina, VU, 2010 Block Diagram of Memory Read/Write Enable Control Bus

ECE 3450 M. A. Jupina, VU, 2010 Each Word Location Has a Specific Binary Address

ECE 3450 M. A. Jupina, VU, D Memory Architecture Word 0 Word 1 Word 2 Word n-1 Word n-2 Storage Cell m bits n words S0S0 S1S1 S2S2 S3S3 S n-2 S n-1 Input/Output n words  n select signals Word 0 Word 1 Word 2 Word n-1 Word n-2 Storage Cell m bits S0S0 S1S1 S2S2 S3S3 S n-2 S n-1 Input/Output A0A0 A1A1 A k-1 Decoder Decoder reduces # of inputs k = log 2 n

ECE 3450 M. A. Jupina, VU, 2010 Illustration of the Write Operation

ECE 3450 M. A. Jupina, VU, 2010 Illustration of the Read Operation

ECE 3450 M. A. Jupina, VU, 2010 What is the capacity of a memory that has 16 address inputs, four data inputs, and four data outputs? A certain memory stores 8K 16-bit words. How many data input and data output lines does it have? How many address lines does it have? What is its capacity in bytes? 2 16 = 65,536 words = 64K. Thus, memory capacity is 64K x 4. Data input lines = 16; Data output lines = 16; Address lines = 13 (2 N = 8192) Capacity in bytes = 16,384 ((8192x16)/8)

ECE 3450 M. A. Jupina, VU, D Memory Architecture A0A0 Row Decoder A1A1 A j-1 bit line word line storage cell Row Address Column Address AjAj A j+1 A k-1 Column Decoder 2 k-j m x 2 j Input/Output (m bits) selects appropriate word from memory row

ECE 3450 M. A. Jupina, VU, D Memory Architecture Row Addr Column Addr Block Addr Input/Output (m bits) Advantages: 1. Shorter word and/or bit lines 2. Block address activates only 1 block (saves power)

ECE 3450 M. A. Jupina, VU, 2010 The ROM Family

ECE 3450 M. A. Jupina, VU, 2010 Types of ROM Mask programmed ROM (MROM) –Photographic negative (mask) controls electrical interconnections –Economical only in high volume applications Programmable ROMs (PROMs) –Fusible links allow end users to program the device –Can only be programmed once –Economical for small volume applications Erasable programmable ROM (EPROM) –Can be erased and reprogrammed by user –UV light is used to clear the device –Entire device is cleared Electrically erasable PROM (EEPROM) –Voltage is used to clear memory –Individual bytes can be erased FLASH –Allows rapid in-circuit reprogramming of individual bytes

ECE 3450 M. A. Jupina, VU, X 8 ROM Example

ECE 3450 M. A. Jupina, VU, 2010 Example: Tables of Mathematical Functions Stored in ROMs A1A1 A0A0 D3D3 D2D2 D1D1 D0D

ECE 3450 M. A. Jupina, VU, 2010 Architecture of a 16  8 ROM

ECE 3450 M. A. Jupina, VU, 2010 Example: Function Generator Using a ROM and a DAC T CLK T SIGNAL Low Pass Filter

ECE 3450 M. A. Jupina, VU, 2010 What clock frequency will result in a 100 Hz sine wave at the output? What method could be used to vary the peak- to-peak amplitude of the sine wave? Adjust the reference voltage of the DAC.

ECE 3450 M. A. Jupina, VU, 2010 Typical Timing for a ROM Operation

ECE 3450 M. A. Jupina, VU, 2010 Structure of a MOS Mask-Programmed ROM (MROM) One MOSFET is used for each memory cell. An open source connection stores a “0”; a closed source connection stores a “1.”

ECE 3450 M. A. Jupina, VU, 2010 Programmable ROMs (PROMs) Fusible links are used that can be selectively blown open by the user to program a logic 0 into a cell

ECE 3450 M. A. Jupina, VU, 2010 Floating-Gate MOSFET

ECE 3450 M. A. Jupina, VU, 2010 Operation of a Floating Gate MOSFET

ECE 3450 M. A. Jupina, VU, 2010 Eraseable PROMs (EPROMs) (a)Logic symbol for 27C64 EPROM (b)typical EPROM package showing ultraviolet window (c)27C64 operating modes.

ECE 3450 M. A. Jupina, VU, 2010 Electrically Eraseable PROMs (EEPROMs) (a)Symbol for the 2864 EEPROM (b)operating modes (c)timing for the write operation

ECE 3450 M. A. Jupina, VU, 2010 Flash Memory (a high density and low cost EEPROM with rapid erase and write times) (a) Logic symbol for the 28F256A flash memory chip (b) control inputs CE, WE, and OE

ECE 3450 M. A. Jupina, VU, 2010 Trade-offs for semiconductor nonvolatile memories show that complexity and cost increase as erase and programming flexibility increase.

ECE 3450 M. A. Jupina, VU, 2010 The RAM Family

ECE 3450 M. A. Jupina, VU, 2010 Types of DRAM FPM DRAM –Fast Page Mode, address one row and all columns in that row before a new address is needed (this is a “page”). Saves time by allowing the same row address for several columns. EDO DRAM – Extended Data Output DRAM, next column is accessed before the external system accepts the current data. More speed BEDO DRAM - Burst Extended Data Output DRAM, up to four addressees to be internally generated from a single external address SDRAM – Synchronous DRAM –data transfer in “rapid- fire” bursts of several sequential memory locations. DDRSDRAM – Double Data Rate SDRAM – data transfers occur on both the rising and falling edges of the system clock. DRDRAM – Direct Rambus DRAM – Rambus, Inc.’s enhanced version of DDRSDRAM

ECE 3450 M. A. Jupina, VU, 2010 Memory Hierarchy in Computers Speed (ns): Size (bytes): K’s 10K’s M’s – G’s Cost: highest lowest

ECE 3450 M. A. Jupina, VU, 2010 Evolution in DRAM Chip Capacity  m  m  m  m  m  m 0.13  m 0.1  m 0.07  m human memory human DNA encyclopedia 2 hrs CD audio 30 sec HDTV book page 4X growth every 3 years!

ECE 3450 M. A. Jupina, VU, 2010 Altera Flex 10K CPLD SRAM Example

ECE 3450 M. A. Jupina, VU, 2010 FIFO SRAM Example

ECE 3450 M. A. Jupina, VU, 2010 Examples of the FIFO Register in Data-Rate Buffering Applications

ECE 3450 M. A. Jupina, VU, 2010 The 2147H 4K X 1 Static RAM Example

ECE 3450 M. A. Jupina, VU, H 4K X 1 SRAM Example

ECE 3450 M. A. Jupina, VU, 2010 A Single NMOS SRAM Cell (FF Circuit) OnOff On Write OnOff On Read

ECE 3450 M. A. Jupina, VU, 2010 Typical Timing for SRAM

ECE 3450 M. A. Jupina, VU, 2010 SRAM Timing Example a)How long after the address lines stabilize will valid data appear at the outputs during a read cycle? b)How long will output data remain valid after returns HIGH? c)How many read operations can be performed per second? d)How long should and be kept HIGH after the new address stabilizes during a write cycle? e)What is the minimum time that input data must remain valid for a reliable write operation to occur? f)How long must the address inputs remain stable after and return HIGH? g)How many write operations can be performed per second? Data Sheet Values

ECE 3450 M. A. Jupina, VU, 2010 SRAM Timing Example Solution Data Sheet Values (a) t ACC = 100ns (b) t OD = 30ns (c) t RC = 100ns; 1/100ns = 10 million (d) t AS = 20ns (e) t DS +t DH = 30ns (f) t AH = t WC - (t AS + t W ) = 40ns (g) t WC = 100ns; 1/100ns = 10 million

ECE 3450 M. A. Jupina, VU, 2010 Cell Arrangement in a 16K X 1 Dynamic RAM (DRAM)

ECE 3450 M. A. Jupina, VU, 2010 A MOS DRAM Cell

ECE 3450 M. A. Jupina, VU, 2010 Basic Operation of a DRAM Cell

ECE 3450 M. A. Jupina, VU, 2010 Simplified Architecture of the TMS M X 1 DRAM and RAS/CAS Timing

ECE 3450 M. A. Jupina, VU, 2010 Signal Activity for a Read Operation on a DRAM (The R/W input (not shown) is assumed to be HIGH)

ECE 3450 M. A. Jupina, VU, 2010 Signal Activity for a Write Operation on a DRAM

ECE 3450 M. A. Jupina, VU, 2010 One Scheme to Periodically Recharge (Refresh) the Memory Cell Capacitor The RAS-only refresh method uses only the RAS signal to load the row address into the DRAM to refresh all cells in that row. The RAS-only refresh can be used to perform a burst refresh as shown. A refresh counter supplies the sequential row addresses from row 0 to row 1023 (for a 4M  1 DRAM).

ECE 3450 M. A. Jupina, VU, 2010 SIMM – Single in-line memory modules that use 30 pin and 72pin configurations DIMM – Dual in-line memory modules uses 72 pin, 100 pin, 144 pin, and 168 pin configurations. DIMM capacity of 1 GB and higher are becoming more typical in 64 bit systems (not limited to 4 GB system memory any more). SIMMs and DIMMs - DRAM Packaging 30 pin 72 pin A SIMM or DIMM inserted into a socket on a system board.

ECE 3450 M. A. Jupina, VU, 2010 Comparison of the Types of Memories

ECE 3450 M. A. Jupina, VU, 2010 Memory Expansion Word-Length Expansion – one address addresses more than one Word Word-Capacity Expansion – address bits are increased

Three Groups of Lines (Buses) Connect the Main Memory ICs to the CPU ECE 3450 M. A. Jupina, VU, 2010

Combining Two 16  4 RAMs for a 16  8 Module Control Bus {

ECE 3450 M. A. Jupina, VU, 2010 Combining Two 16  4 Chips for a 32  4 Memory Control Bus {

ECE 3450 M. A. Jupina, VU, 2010 Four 2K  8 PROMs Arranged to Form a Total Capacity of 8K  8