SlideShare a Scribd company logo
1 of 24
EET 3350 Digital Systems Design

    Textbook: John Wakerly
         Chapter 9: 9.1


                Memory
  Read-Only Memory: ROM, PROM, EPROM



                                       1
Memory
• Sequential circuits all depend upon the presence of
  memory
  – A flip-flop can store one bit of information
  – A register can store a single “word”
     • typically 32 or 64 bits
  – Memory stores a large number of words


• Memory stores this large amounts of data using two
  primary device types
  – Read Only Memory (ROM, PROM, EPROM, EEPROM)
  – Random Access Memory (RAM)
     • Static RAM (SRAM)
     • Dynamic RAM (DRAM)

                                                        2
Memory
                                             Address       Data
• You can think of memory as being          00000000   0110101100111101


                                            00000001   1011111100100100

  one big array (list) of data              00000002   1001110011110111

  – The address serves as an array               .
    index                                        .
  – Each address refers to one word             .
                                                .
    of data (e.g., 8-bits, 16-bits, etc.)
                                                .
                                                .
• You can read (or modify) the data             .
                                                .
  at any given memory address,                  .
  just like you can read (or modify)            .
  the contents of an array at any           FFFFFFFD   0000101100001111



  given index                               FFFFFFFE   1100101000110001


                                            FFFFFFFF   0110101111010000



                                                         word
                                                                     3
Memory
Memory signals fall into three groups:
• Address bus - selects one of many memory locations
• Data bus -
  – Read (ROM/RAM): the selected location’s stored data is
    put on the data bus
  – Write (RAM): The data on the data bus is stored into the
    selected location
• Control signals - specifies what the memory is to do
  – Control signals are usually active low
  – Most common signals are:
     • CS: Chip Select; must be active to do anything
     • OE: Output Enable; active to read data
     • WR: Write; active to write data

                                                               4
Memory
• Memory is not a single chip (device)
  – Made up of many identical or similar devices
  – A specific device (part of memory) is selected by control
    signals and the address lines (bus)
  – All devices are connected to the same bus, and see the
    signals at the same time




                                                                5
Memory
• Memory Connection to CPU
  – RAM and ROM chips are connected to a CPU through
    the data and address buses
  – The low-order lines in the address bus select the byte
    within the chips and other lines in the address bus select
    a particular chip through its chip select inputs




                                                             6
Memory
• Location - the smallest selectable unit in memory
  – Has 1 or more data bits per location
  – All bits in location are read/written together
  – Cannot manipulate single bits in a location
• For k address signals, there are 2k locations in a
  memory device
• Each location contains an n-bit word
• Memory size is specified as
  – #loc x bits per location
     • 224 x 16 RAM - 224 = 16M words, each 16 bits long
     • 24 address lines, 16 data lines
  – #bits
     • The total storage capacity is 224 x 16 = 228 bits
                                                           7
Memory
• Memory sizes are usually specified in numbers of
  bytes (1 byte= 8 bits)
• The 228-bit memory on the previous page translates
  into:

              228 bits / 8 bits per byte = 225 bytes

• With the abbreviations below, this is equivalent to 32
  megabytes
            Prefix         Base 2            Base 10
         K Kilo    210 = 1,024        103 = 1,000
         M Mega 220 = 1,048,576       106 = 1,000,000
         G Giga 230 = 1,073,741,824   109 = 1,000,000,000


                                                            8
Memory
• Non-volatile
    – If un-powered, its content is retained
• Read-only
    – normal operation cannot change
       contents                                          2k x n
                                                         ROM
• k-bit ADRS specifies the address or          k
                                                                  Δ
                                                                      n
    location to read from                          ADRS
                                                   CS
•   A Chip Select, CS, enables or
                                                   Data
                                                   OE
                                                   Out
    disables the RAM/ROM
•   An Output Enable, OE, turns on or off
    tri-state output buffers
•   Data Out will be the n-bit value stored
    at ADRS
                                                                  9
Memory
• Content loading (programming) done many
  ways depending on device type
  – ROM: mask programmed, loaded at the factory
    • hardwired - can’t be changed
    • embedded mass-produced systems
  – PROM: OTP (One Time Programmable),
    programmed by user, using an external
    programming device
  – EPROM: reusable, erased by UV light,
    programmed by user, using an external
    programming device
  – EEPROM: electrically erasable, clears entire
    blocks with single operation, programmed in-
    place (no need to remove from circuit board)
                                                   10
Read-Only Memories
• Definition
  – ROM consists of an array of semiconductor devices
    interconnected to store an array of memory data.
  – Data can only be read, it cannot be changed under
    normal operating conditions.

• Types of ROM
  – Mask programmable ROM (at the factory)
  – Field-Programmable ROM (PROM)
  – UV-Erasable and re-Programmable ROM (EPROM)
  – Electrically-Erasable and re-Programmable ROM
    (EEPROM)
  – Flash

                                                        11
Read-Only Memories
• The logic symbol below is used in circuit diagrams
  – Focus is on the basic structure of a ROM
  – A combinational logic circuit




                                                       12
Logic-in-ROM Example
   • As we discussed previously, a ROM is simply a
     combinational circuit, basically a truth-table lookup
       – Can perform any combinational logic function
       – Address inputs = function inputs
       – Data outputs = function outputs




(address)                                                    (data)




                                                               13
Logic-in-ROM Example
• Two alternative implementations for the 3-input, 4-output
  logic function
  – 2-to-4 decoder with output polarity control




                                                       14
4x4 Multiplier Example
• ROM implementation of a 4x4 unsigned binary
  multiplier
  – Multiplier and multiplicand form the address
  – Product is pre-programmed into the storage location




                                                          15
4x4 Multiplier Example
• ROM contents for the 4x4 unsigned binary multiplier


          x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF




                                                            16
Internal ROM Structure
    • Typical implementation of “primitive” ROM


                                            Diode means a
                                            “1” is stored at
                                            this location


                                            data output


5




           active low
                                                               17
ROM
• Commercial ROM types




                          18
Typical Commercial EEPROMs
• Logic symbols for representative EEPROMs




                                             19
ROM Control and I/O Signals
• n Address lines
  – An-1 … A0
• b Data lines
  – Db-1 … D0
• Chip Select
  – One or more
  – Active low
• Output Enable
  – Active low
• Tri-state output
  buffers


                                    20
ROM Timing
• tAA    (access time from address): propagation delay from stable
   address inputs to valid data output
• tACS ( access time from chip select): propagation delay from time
  CS is asserted until the valid data output
• tOE (output-enable time): propagation delay from time OE and CS
  are asserted until the tri-state drivers have left Hi-Z state
• tOZ (output-disable time): propagation delay from time OE and
  CS are negated until the tri-state drivers have entered Hi-Z
  state
• tOH (output-hold time): the length of time the outputs remain valid
  after a change in the address inputs, or after OE and CS are
  negated

                                                               21
ROM Timing
• tAA         access time from address
• tACS        access time from chip select
• tOE/tOZ output-enable/disable time
• tOH         output-hold time




                                             22
ROM -Advantages and Disadvantages
• Ease of speed and design
• For moderately complex function a ROM-based circuit is
  usually faster than a circuit using multiple SSI/MSI devices and
  PLDs
• The program that generates the ROM contents can easily be
  structured to handle unusual or undefined cases that would
  require additional hardware in any other design. e.g. the adder
  program easily handles out-of-range sums.
• A ROM’s function is easily modified just by changing the stored
  pattern, usually without changing any external connections
• The prices of ROMs are dropping and densities increasing
  making them more economical and expanding the scope with a
  single chip
                                                             23
ROM -Advantages and Disadvantages
• May consume more power
• For functions with more inputs a ROM based circuit is
  impractical because of the limit on ROM sizes that are available




                                                            24

More Related Content

What's hot (20)

ROM
ROMROM
ROM
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memories
 
Primary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesPrimary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their Types
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
8051 memory
8051 memory8051 memory
8051 memory
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
 
Dynamic RAM
Dynamic RAMDynamic RAM
Dynamic RAM
 
SRAM
SRAMSRAM
SRAM
 
Binary adder
Binary adderBinary adder
Binary adder
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 Microcontroller
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
 
Types of rom
Types of romTypes of rom
Types of rom
 
DRAM
DRAMDRAM
DRAM
 
Presentation on Flip Flop
Presentation  on Flip FlopPresentation  on Flip Flop
Presentation on Flip Flop
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
Semiconductor memory
Semiconductor memorySemiconductor memory
Semiconductor memory
 

Similar to EPROM, PROM & ROM

DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEARDIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEARkasheen2803
 
901320_Main Memory.ppt
901320_Main Memory.ppt901320_Main Memory.ppt
901320_Main Memory.pptChandinialla1
 
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptxSEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptxMomin24
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devicesNisarg Amin
 
Memory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer OrganizationMemory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer Organization2022002857mbit
 
Computer memory
Computer memoryComputer memory
Computer memoryJayapal Jp
 
Memory_Unit Cache Main Virtual Associative
Memory_Unit Cache Main Virtual AssociativeMemory_Unit Cache Main Virtual Associative
Memory_Unit Cache Main Virtual AssociativeRNShukla7
 
logical memory-organisation
logical memory-organisationlogical memory-organisation
logical memory-organisationAmrita Manna
 
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer SystemsChapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systemscmkandemir
 

Similar to EPROM, PROM & ROM (20)

Memory.ppt
Memory.pptMemory.ppt
Memory.ppt
 
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEARDIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
 
Unit IV Memory.pptx
Unit IV  Memory.pptxUnit IV  Memory.pptx
Unit IV Memory.pptx
 
Memory_Interface.pdf
Memory_Interface.pdfMemory_Interface.pdf
Memory_Interface.pdf
 
901320_Main Memory.ppt
901320_Main Memory.ppt901320_Main Memory.ppt
901320_Main Memory.ppt
 
Memory And Storages
Memory And StoragesMemory And Storages
Memory And Storages
 
05 basic io_operation_part01
05 basic io_operation_part0105 basic io_operation_part01
05 basic io_operation_part01
 
Memory (Computer Organization)
Memory (Computer Organization)Memory (Computer Organization)
Memory (Computer Organization)
 
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptxSEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
 
Memory interface
Memory interfaceMemory interface
Memory interface
 
Digital design chap 5
Digital design   chap 5Digital design   chap 5
Digital design chap 5
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devices
 
Memory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer OrganizationMemory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer Organization
 
Esd mod 3
Esd mod 3Esd mod 3
Esd mod 3
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Datastorage
DatastorageDatastorage
Datastorage
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Memory_Unit Cache Main Virtual Associative
Memory_Unit Cache Main Virtual AssociativeMemory_Unit Cache Main Virtual Associative
Memory_Unit Cache Main Virtual Associative
 
logical memory-organisation
logical memory-organisationlogical memory-organisation
logical memory-organisation
 
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer SystemsChapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
 

More from Abhilash Nair

Sequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsSequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsAbhilash Nair
 
Designing Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineDesigning Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineAbhilash Nair
 
VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)Abhilash Nair
 
Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Abhilash Nair
 
Feedback Sequential Circuits
Feedback Sequential CircuitsFeedback Sequential Circuits
Feedback Sequential CircuitsAbhilash Nair
 
Designing State Machine
Designing State MachineDesigning State Machine
Designing State MachineAbhilash Nair
 
State Machine Design and Synthesis
State Machine Design and SynthesisState Machine Design and Synthesis
State Machine Design and SynthesisAbhilash Nair
 
Synchronous design process
Synchronous design processSynchronous design process
Synchronous design processAbhilash Nair
 
Analysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAnalysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAbhilash Nair
 
Analysis of state machines
Analysis of state machinesAnalysis of state machines
Analysis of state machinesAbhilash Nair
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Abhilash Nair
 
Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Abhilash Nair
 

More from Abhilash Nair (20)

Sequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsSequential Circuits - Flip Flops
Sequential Circuits - Flip Flops
 
VHDL Part 4
VHDL Part 4VHDL Part 4
VHDL Part 4
 
Designing Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineDesigning Clocked Synchronous State Machine
Designing Clocked Synchronous State Machine
 
MSI Shift Registers
MSI Shift RegistersMSI Shift Registers
MSI Shift Registers
 
VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)
 
VHDL - Part 2
VHDL - Part 2VHDL - Part 2
VHDL - Part 2
 
Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Introduction to VHDL - Part 1
Introduction to VHDL - Part 1
 
Feedback Sequential Circuits
Feedback Sequential CircuitsFeedback Sequential Circuits
Feedback Sequential Circuits
 
Designing State Machine
Designing State MachineDesigning State Machine
Designing State Machine
 
State Machine Design and Synthesis
State Machine Design and SynthesisState Machine Design and Synthesis
State Machine Design and Synthesis
 
Synchronous design process
Synchronous design processSynchronous design process
Synchronous design process
 
Analysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAnalysis of state machines & Conversion of models
Analysis of state machines & Conversion of models
 
Analysis of state machines
Analysis of state machinesAnalysis of state machines
Analysis of state machines
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)
 
Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)
 
FPGA
FPGAFPGA
FPGA
 
FPLDs
FPLDsFPLDs
FPLDs
 
CPLDs
CPLDsCPLDs
CPLDs
 
CPLD & FPLD
CPLD & FPLDCPLD & FPLD
CPLD & FPLD
 
CPLDs
CPLDsCPLDs
CPLDs
 

Recently uploaded

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 

Recently uploaded (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 

EPROM, PROM & ROM

  • 1. EET 3350 Digital Systems Design Textbook: John Wakerly Chapter 9: 9.1 Memory Read-Only Memory: ROM, PROM, EPROM 1
  • 2. Memory • Sequential circuits all depend upon the presence of memory – A flip-flop can store one bit of information – A register can store a single “word” • typically 32 or 64 bits – Memory stores a large number of words • Memory stores this large amounts of data using two primary device types – Read Only Memory (ROM, PROM, EPROM, EEPROM) – Random Access Memory (RAM) • Static RAM (SRAM) • Dynamic RAM (DRAM) 2
  • 3. Memory Address Data • You can think of memory as being 00000000 0110101100111101 00000001 1011111100100100 one big array (list) of data 00000002 1001110011110111 – The address serves as an array . index . – Each address refers to one word . . of data (e.g., 8-bits, 16-bits, etc.) . . • You can read (or modify) the data . . at any given memory address, . just like you can read (or modify) . the contents of an array at any FFFFFFFD 0000101100001111 given index FFFFFFFE 1100101000110001 FFFFFFFF 0110101111010000 word 3
  • 4. Memory Memory signals fall into three groups: • Address bus - selects one of many memory locations • Data bus - – Read (ROM/RAM): the selected location’s stored data is put on the data bus – Write (RAM): The data on the data bus is stored into the selected location • Control signals - specifies what the memory is to do – Control signals are usually active low – Most common signals are: • CS: Chip Select; must be active to do anything • OE: Output Enable; active to read data • WR: Write; active to write data 4
  • 5. Memory • Memory is not a single chip (device) – Made up of many identical or similar devices – A specific device (part of memory) is selected by control signals and the address lines (bus) – All devices are connected to the same bus, and see the signals at the same time 5
  • 6. Memory • Memory Connection to CPU – RAM and ROM chips are connected to a CPU through the data and address buses – The low-order lines in the address bus select the byte within the chips and other lines in the address bus select a particular chip through its chip select inputs 6
  • 7. Memory • Location - the smallest selectable unit in memory – Has 1 or more data bits per location – All bits in location are read/written together – Cannot manipulate single bits in a location • For k address signals, there are 2k locations in a memory device • Each location contains an n-bit word • Memory size is specified as – #loc x bits per location • 224 x 16 RAM - 224 = 16M words, each 16 bits long • 24 address lines, 16 data lines – #bits • The total storage capacity is 224 x 16 = 228 bits 7
  • 8. Memory • Memory sizes are usually specified in numbers of bytes (1 byte= 8 bits) • The 228-bit memory on the previous page translates into: 228 bits / 8 bits per byte = 225 bytes • With the abbreviations below, this is equivalent to 32 megabytes Prefix Base 2 Base 10 K Kilo 210 = 1,024 103 = 1,000 M Mega 220 = 1,048,576 106 = 1,000,000 G Giga 230 = 1,073,741,824 109 = 1,000,000,000 8
  • 9. Memory • Non-volatile – If un-powered, its content is retained • Read-only – normal operation cannot change contents 2k x n ROM • k-bit ADRS specifies the address or k Δ n location to read from ADRS CS • A Chip Select, CS, enables or Data OE Out disables the RAM/ROM • An Output Enable, OE, turns on or off tri-state output buffers • Data Out will be the n-bit value stored at ADRS 9
  • 10. Memory • Content loading (programming) done many ways depending on device type – ROM: mask programmed, loaded at the factory • hardwired - can’t be changed • embedded mass-produced systems – PROM: OTP (One Time Programmable), programmed by user, using an external programming device – EPROM: reusable, erased by UV light, programmed by user, using an external programming device – EEPROM: electrically erasable, clears entire blocks with single operation, programmed in- place (no need to remove from circuit board) 10
  • 11. Read-Only Memories • Definition – ROM consists of an array of semiconductor devices interconnected to store an array of memory data. – Data can only be read, it cannot be changed under normal operating conditions. • Types of ROM – Mask programmable ROM (at the factory) – Field-Programmable ROM (PROM) – UV-Erasable and re-Programmable ROM (EPROM) – Electrically-Erasable and re-Programmable ROM (EEPROM) – Flash 11
  • 12. Read-Only Memories • The logic symbol below is used in circuit diagrams – Focus is on the basic structure of a ROM – A combinational logic circuit 12
  • 13. Logic-in-ROM Example • As we discussed previously, a ROM is simply a combinational circuit, basically a truth-table lookup – Can perform any combinational logic function – Address inputs = function inputs – Data outputs = function outputs (address) (data) 13
  • 14. Logic-in-ROM Example • Two alternative implementations for the 3-input, 4-output logic function – 2-to-4 decoder with output polarity control 14
  • 15. 4x4 Multiplier Example • ROM implementation of a 4x4 unsigned binary multiplier – Multiplier and multiplicand form the address – Product is pre-programmed into the storage location 15
  • 16. 4x4 Multiplier Example • ROM contents for the 4x4 unsigned binary multiplier x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF 16
  • 17. Internal ROM Structure • Typical implementation of “primitive” ROM Diode means a “1” is stored at this location data output 5 active low 17
  • 19. Typical Commercial EEPROMs • Logic symbols for representative EEPROMs 19
  • 20. ROM Control and I/O Signals • n Address lines – An-1 … A0 • b Data lines – Db-1 … D0 • Chip Select – One or more – Active low • Output Enable – Active low • Tri-state output buffers 20
  • 21. ROM Timing • tAA (access time from address): propagation delay from stable address inputs to valid data output • tACS ( access time from chip select): propagation delay from time CS is asserted until the valid data output • tOE (output-enable time): propagation delay from time OE and CS are asserted until the tri-state drivers have left Hi-Z state • tOZ (output-disable time): propagation delay from time OE and CS are negated until the tri-state drivers have entered Hi-Z state • tOH (output-hold time): the length of time the outputs remain valid after a change in the address inputs, or after OE and CS are negated 21
  • 22. ROM Timing • tAA access time from address • tACS access time from chip select • tOE/tOZ output-enable/disable time • tOH output-hold time 22
  • 23. ROM -Advantages and Disadvantages • Ease of speed and design • For moderately complex function a ROM-based circuit is usually faster than a circuit using multiple SSI/MSI devices and PLDs • The program that generates the ROM contents can easily be structured to handle unusual or undefined cases that would require additional hardware in any other design. e.g. the adder program easily handles out-of-range sums. • A ROM’s function is easily modified just by changing the stored pattern, usually without changing any external connections • The prices of ROMs are dropping and densities increasing making them more economical and expanding the scope with a single chip 23
  • 24. ROM -Advantages and Disadvantages • May consume more power • For functions with more inputs a ROM based circuit is impractical because of the limit on ROM sizes that are available 24