SlideShare a Scribd company logo
Name:- Nisarg Amin
Topic:- Digital Logic Devices
1
DECODER
2
•A decoder is a logic circuit that accepts a set of inputs that
represents a binary number and activates only the output
that corresponds to the input number.
•In other words, a decoder circuit looks at its inputs,
determines which binary number is present there, and
activates the one output that corresponds to that number ;
all other outputs remain inactive.
•In its general form, a decoder has N input lines to handle N
bits and form one to 2 N output lines to indicate the presence
of one or more N-bit combinations.
General decoder diagram
3
There are 2N possible input combinations, from A0 to AN1.
For each of these input combinations only one of the M outputs will be active HIGH (1),
all the other outputs are LOW (0).
4
• If an active-LOW output (74138, one of the output will
low and the rest will be high) is required for each decoded
number, the entire decoder can be implemented with
1. NAND gates
2. Inverters
• If an active-HIGH output (74139, one of the output will
high and the rest will be low) is required for each decoded
number, the entire decoder can be implemented with
• AND gates
• Inverters
3-8 line decoder (active-HIGH)
5
6
•This decoder can be referred to in several ways. It can
be called a 3-line-to- 8-line decoder, because it has three
input lines and eight output lines.
•It could also be called a binary-octal decoder or
converters because it takes a three bit binary input code
and activates the one of the eight outputs corresponding
to that code. It is also referred to as a 1-of-8 decoder,
because only 1 of the 8 outputs is activated at one time.
7
Logic diagram of 74138 (Example of a 3Bit
Decoder)
Truth table of 74138 (Example of a 3 8 Bit Decoder)
active-LOW
8
Classification Of Memory
1. RAM
a) SRAM
b) DRAM
2. ROM
a) PROM
b) EPROM
c) EEPROM
d) NVRAM
e) Flash Memory
1. RAM
• The RAM family includes two important memory
devices: Static RAM (SRAM) and Dynamic RAM
(DRAM). The primary difference between them is the
lifetime of the data they store.
• SRAM retains its contents as long as electrical power is
applied to the chip. If the power is turned off or lost
temporarily, its contents will be lost forever.
• DRAM, on the other hand, has an extremely short data
lifetime-typically about four milliseconds. This is true
even when power is applied constantly. DRAM
controller is used to refresh the data before it expires,
the contents of memory can be kept alive for as long as
they are needed. So DRAM is as useful as SRAM after
all.
2. ROM
• Memories in the ROM family are distinguished by the
methods used to write new data to them (usually called
programming), and the number of times they can be
rewritten.
• This classification reflects the evolution of ROM devices
from hardwired to programmable to erasable-and-
programmable.
• A common feature is their ability to retain data and
programs forever, even during a power failure.
• The contents of the ROM had to be specified before chip
production, so the actual data could be used to arrange the
transistors inside the chip.
• One step up from the masked ROM is the PROM
(programmable ROM), which is purchased in an
unprogrammed state. If you were to look at the contents of
an unprogrammed PROM, the data is made up entirely of
1's.
• The process of writing your data to the PROM involves a
special piece of equipment called a device programmer.
The device programmer writes data to the device one word
at a time by applying an electrical charge to the input pins
of the chip.
• Once a PROM has been programmed in this way, its
contents can never be changed. If the code or data stored
in the PROM must be changed, the current device must be
discarded. As a result, PROMs are also known as one-time
programmable (OTP) devices.
a) PROM
• An EPROM (erasable-and-programmable ROM) is
programmed in exactly the same manner as a PROM.
However, EPROMs can be erased and reprogrammed
repeatedly.
• To erase an EPROM, you simply expose the device to a
strong source of ultraviolet light. (A window in the top
of the device allows the light to reach the silicon.) By
doing this, you essentially reset the entire chip to its
initial-unprogrammed-state.
• Though more expensive than PROMs, their ability to be
reprogrammed makes EPROMs an essential part of the
software development and testing process.
b) EPROM
c) EEPROMS
•EEPROMS are electrically-erasable-and-programmable.
Internally, they are similar to EPROMs, but the erase
operation is accomplished electrically, rather than by
exposure to ultraviolet light.
•Any byte within an EEPROM may be erased and rewritten.
Once written, the new data will remain in the device
forever-or at least until it is electrically erased.
•The primary tradeoff for this improved functionality is
higher cost, though write cycles are also significantly longer
than writes to a RAM. So you wouldn't want to use an
EEPROM for your main system memory.
d) Flash memory
• Flash memory combines the best features of the memory
devices described thus far. Flash memory devices are high
density, low cost, nonvolatile, fast (to read, but not to write),
and electrically reprogrammable.
• These advantages are overwhelming and, as a direct result,
the use of flash memory has increased dramatically in
embedded systems. From a software viewpoint, flash and
EEPROM technologies are very similar.
• The major difference is that flash devices can only be erased
one sector at a time, not byte-by-byte. Typical sector sizes
are in the range 256 bytes to 16KB. Despite this
disadvantage, flash is much more popular than EEPROM and
is rapidly displacing many of the ROM devices as well.
e) NVRAM
• The third member of the hybrid memory class is NVRAM
(non-volatile RAM). Nonvolatility is also a characteristic of the
ROM and hybrid memories discussed previously.
• However, an NVRAM is physically very different from those
devices. An NVRAM is usually just an SRAM with a battery
backup. When the power is turned on, the NVRAM operates
just like any other SRAM.
• When the power is turned off, the NVRAM draws just enough
power from the battery to retain its data. NVRAM is fairly
common in embedded systems.
• However, it is expensive-even more expensive than SRAM,
because of the battery-so its applications are typically limited
to the storage of a few hundred bytes of system-critical
information that can't be stored in any better way.
Internal Structure Of ROM
Digital logic devices

More Related Content

PPT
Read Only Memory
PPTX
PPT
EEPROM Part-21
PPTX
Reliability and yield
PPTX
what is ROM? Rom(read only memory)
PPTX
Semiconductor memories
PPTX
Read Only Memory
PDF
Memory Organization | Computer Fundamental and Organization
Read Only Memory
EEPROM Part-21
Reliability and yield
what is ROM? Rom(read only memory)
Semiconductor memories
Read Only Memory
Memory Organization | Computer Fundamental and Organization

What's hot (20)

PPTX
PPTX
Computer Organisation (DFT1113)
PPTX
Memory organization
PDF
Csc1401 lecture06 - internal memory
PPT
Cpu organisation
PDF
Rom (read only memory)
PPTX
Ch05 coa9e
PPTX
Semiconductor memories and auxiliary memories
PDF
Sram technology
PPTX
Memory organisation
PPTX
ROM (Read Only Memory)
PDF
Memory
PPTX
SRAM- Ultra low voltage operation
PPT
Memory
PDF
CPU Architecture
PPTX
Read & write
PPTX
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
PPT
Microprocessor
PPT
05 internal memory
PPTX
Internal memory
Computer Organisation (DFT1113)
Memory organization
Csc1401 lecture06 - internal memory
Cpu organisation
Rom (read only memory)
Ch05 coa9e
Semiconductor memories and auxiliary memories
Sram technology
Memory organisation
ROM (Read Only Memory)
Memory
SRAM- Ultra low voltage operation
Memory
CPU Architecture
Read & write
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
Microprocessor
05 internal memory
Internal memory
Ad

Viewers also liked (20)

PPTX
Servomechanism in Control systems engineering
PPTX
Firewall and its types and function
PPTX
Responsabilidad
PDF
Listado Alumnos 1251204-B - I 2014
PPTX
Code metrics
PPTX
Apresentação do jornal sustentabilidade 2
DOC
Alfabet
PDF
CCAO Article
PDF
08 07-2012
PDF
ELEIÇÕES 2012 - ASTORGA: EDUARDO MARQUES 12345
PPTX
1 b riso paradiso
PDF
Conférence I Optimisez votre ROI grâce aux nouvelles méthodes d’acquisition d...
PPTX
1 b riso gallo
PPTX
Le varieta’ di riso
PPTX
Dynamic characteristics of thyristor
PPTX
1 b azienda curtiriso
PPTX
Franco rosso international samaritani
PPT
Presentazione ITCT Bordoni 16/17
Servomechanism in Control systems engineering
Firewall and its types and function
Responsabilidad
Listado Alumnos 1251204-B - I 2014
Code metrics
Apresentação do jornal sustentabilidade 2
Alfabet
CCAO Article
08 07-2012
ELEIÇÕES 2012 - ASTORGA: EDUARDO MARQUES 12345
1 b riso paradiso
Conférence I Optimisez votre ROI grâce aux nouvelles méthodes d’acquisition d...
1 b riso gallo
Le varieta’ di riso
Dynamic characteristics of thyristor
1 b azienda curtiriso
Franco rosso international samaritani
Presentazione ITCT Bordoni 16/17
Ad

Similar to Digital logic devices (20)

PDF
Esd mod 3
PPTX
DPSD MEMORY DEVICES UNIT memory device 4.pptx
PPTX
Memories in digital electronics
PPTX
rom-140919103032-phpapp02.pptx
PPTX
Semiconductor Memory
PPTX
Unit IV Memory.pptx
PDF
DSD presentation.pdf for students having DSD in ECE branch
PPTX
Lecture 09 - Ch No. 05 Internal Memory.pptx
PPTX
Topic 11- Read Only Memory (ROM).pptx
PDF
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
PPT
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
PPT
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
PPT
digital logic circuits, digital component memory unit
PPT
ROM(Read Only Memory )
PPTX
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
PPTX
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
PPTX
5A. Semiconductor Memories Part I (4).pptx
PPTX
Memory unit 6
PPTX
Lecture_9_EPROM_Flash univeristy lecture fall 2022
DOCX
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
Esd mod 3
DPSD MEMORY DEVICES UNIT memory device 4.pptx
Memories in digital electronics
rom-140919103032-phpapp02.pptx
Semiconductor Memory
Unit IV Memory.pptx
DSD presentation.pdf for students having DSD in ECE branch
Lecture 09 - Ch No. 05 Internal Memory.pptx
Topic 11- Read Only Memory (ROM).pptx
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
digital logic circuits, digital component memory unit
ROM(Read Only Memory )
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
5A. Semiconductor Memories Part I (4).pptx
Memory unit 6
Lecture_9_EPROM_Flash univeristy lecture fall 2022
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS

More from Nisarg Amin (20)

PPTX
Goods & services tax (gst)
PPTX
Power system earthing
PPTX
Improving boiler availability
PPTX
Types of welding
PPT
Symmetrical component method for 3 phase power representation
PPTX
Streamer theory
PPTX
Single phase full bridge inverter
PPTX
Flowchart for optimal design of dc machine and transfomer
PPTX
Design of commutator and brush
PPT
Typical a.c. supply system
PPTX
Design of field regulators for dc shunt generators
PPTX
Nuclear power plant
PPTX
Properties of fourier transform
PPTX
Induction generator
PPTX
Engineering applications of thermodynamics
PPTX
Decimal number system
PPTX
Cylindrical co ordinate system
PPTX
Types of cables
PPT
Engineering graphics
PPTX
Logic gates
Goods & services tax (gst)
Power system earthing
Improving boiler availability
Types of welding
Symmetrical component method for 3 phase power representation
Streamer theory
Single phase full bridge inverter
Flowchart for optimal design of dc machine and transfomer
Design of commutator and brush
Typical a.c. supply system
Design of field regulators for dc shunt generators
Nuclear power plant
Properties of fourier transform
Induction generator
Engineering applications of thermodynamics
Decimal number system
Cylindrical co ordinate system
Types of cables
Engineering graphics
Logic gates

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Lesson notes of climatology university.
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
master seminar digital applications in india
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
GDM (1) (1).pptx small presentation for students
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Institutional Correction lecture only . . .
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Insiders guide to clinical Medicine.pdf
Classroom Observation Tools for Teachers
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial diseases, their pathogenesis and prophylaxis
PPH.pptx obstetrics and gynecology in nursing
Lesson notes of climatology university.
TR - Agricultural Crops Production NC III.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
master seminar digital applications in india
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Pharmacology of Heart Failure /Pharmacotherapy of CHF
GDM (1) (1).pptx small presentation for students
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Complications of Minimal Access Surgery at WLH
Institutional Correction lecture only . . .
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
O5-L3 Freight Transport Ops (International) V1.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Insiders guide to clinical Medicine.pdf

Digital logic devices

  • 1. Name:- Nisarg Amin Topic:- Digital Logic Devices 1
  • 2. DECODER 2 •A decoder is a logic circuit that accepts a set of inputs that represents a binary number and activates only the output that corresponds to the input number. •In other words, a decoder circuit looks at its inputs, determines which binary number is present there, and activates the one output that corresponds to that number ; all other outputs remain inactive. •In its general form, a decoder has N input lines to handle N bits and form one to 2 N output lines to indicate the presence of one or more N-bit combinations.
  • 3. General decoder diagram 3 There are 2N possible input combinations, from A0 to AN1. For each of these input combinations only one of the M outputs will be active HIGH (1), all the other outputs are LOW (0).
  • 4. 4 • If an active-LOW output (74138, one of the output will low and the rest will be high) is required for each decoded number, the entire decoder can be implemented with 1. NAND gates 2. Inverters • If an active-HIGH output (74139, one of the output will high and the rest will be low) is required for each decoded number, the entire decoder can be implemented with • AND gates • Inverters
  • 5. 3-8 line decoder (active-HIGH) 5
  • 6. 6 •This decoder can be referred to in several ways. It can be called a 3-line-to- 8-line decoder, because it has three input lines and eight output lines. •It could also be called a binary-octal decoder or converters because it takes a three bit binary input code and activates the one of the eight outputs corresponding to that code. It is also referred to as a 1-of-8 decoder, because only 1 of the 8 outputs is activated at one time.
  • 7. 7 Logic diagram of 74138 (Example of a 3Bit Decoder)
  • 8. Truth table of 74138 (Example of a 3 8 Bit Decoder) active-LOW 8
  • 9. Classification Of Memory 1. RAM a) SRAM b) DRAM 2. ROM a) PROM b) EPROM c) EEPROM d) NVRAM e) Flash Memory
  • 10. 1. RAM • The RAM family includes two important memory devices: Static RAM (SRAM) and Dynamic RAM (DRAM). The primary difference between them is the lifetime of the data they store. • SRAM retains its contents as long as electrical power is applied to the chip. If the power is turned off or lost temporarily, its contents will be lost forever. • DRAM, on the other hand, has an extremely short data lifetime-typically about four milliseconds. This is true even when power is applied constantly. DRAM controller is used to refresh the data before it expires, the contents of memory can be kept alive for as long as they are needed. So DRAM is as useful as SRAM after all.
  • 11. 2. ROM • Memories in the ROM family are distinguished by the methods used to write new data to them (usually called programming), and the number of times they can be rewritten. • This classification reflects the evolution of ROM devices from hardwired to programmable to erasable-and- programmable. • A common feature is their ability to retain data and programs forever, even during a power failure. • The contents of the ROM had to be specified before chip production, so the actual data could be used to arrange the transistors inside the chip.
  • 12. • One step up from the masked ROM is the PROM (programmable ROM), which is purchased in an unprogrammed state. If you were to look at the contents of an unprogrammed PROM, the data is made up entirely of 1's. • The process of writing your data to the PROM involves a special piece of equipment called a device programmer. The device programmer writes data to the device one word at a time by applying an electrical charge to the input pins of the chip. • Once a PROM has been programmed in this way, its contents can never be changed. If the code or data stored in the PROM must be changed, the current device must be discarded. As a result, PROMs are also known as one-time programmable (OTP) devices. a) PROM
  • 13. • An EPROM (erasable-and-programmable ROM) is programmed in exactly the same manner as a PROM. However, EPROMs can be erased and reprogrammed repeatedly. • To erase an EPROM, you simply expose the device to a strong source of ultraviolet light. (A window in the top of the device allows the light to reach the silicon.) By doing this, you essentially reset the entire chip to its initial-unprogrammed-state. • Though more expensive than PROMs, their ability to be reprogrammed makes EPROMs an essential part of the software development and testing process. b) EPROM
  • 14. c) EEPROMS •EEPROMS are electrically-erasable-and-programmable. Internally, they are similar to EPROMs, but the erase operation is accomplished electrically, rather than by exposure to ultraviolet light. •Any byte within an EEPROM may be erased and rewritten. Once written, the new data will remain in the device forever-or at least until it is electrically erased. •The primary tradeoff for this improved functionality is higher cost, though write cycles are also significantly longer than writes to a RAM. So you wouldn't want to use an EEPROM for your main system memory.
  • 15. d) Flash memory • Flash memory combines the best features of the memory devices described thus far. Flash memory devices are high density, low cost, nonvolatile, fast (to read, but not to write), and electrically reprogrammable. • These advantages are overwhelming and, as a direct result, the use of flash memory has increased dramatically in embedded systems. From a software viewpoint, flash and EEPROM technologies are very similar. • The major difference is that flash devices can only be erased one sector at a time, not byte-by-byte. Typical sector sizes are in the range 256 bytes to 16KB. Despite this disadvantage, flash is much more popular than EEPROM and is rapidly displacing many of the ROM devices as well.
  • 16. e) NVRAM • The third member of the hybrid memory class is NVRAM (non-volatile RAM). Nonvolatility is also a characteristic of the ROM and hybrid memories discussed previously. • However, an NVRAM is physically very different from those devices. An NVRAM is usually just an SRAM with a battery backup. When the power is turned on, the NVRAM operates just like any other SRAM. • When the power is turned off, the NVRAM draws just enough power from the battery to retain its data. NVRAM is fairly common in embedded systems. • However, it is expensive-even more expensive than SRAM, because of the battery-so its applications are typically limited to the storage of a few hundred bytes of system-critical information that can't be stored in any better way.