SlideShare a Scribd company logo
1 of 37
Digital Electronics
UNIT V PROGRAMMABLE LOGIC
DEVICES
R.Kanmani
Assistant Professor (Sr.Gr)/ECE
Sri Ramakrishna Institute of Technology
Coimbatore.
Memory Unit
• A memory unit is a device to which binary information is stored and
retrieved when needed
• Eg. 1 KB of memory  2^10= 1024
 2^k =1024, Hence k=10
 k address lines=1024 address lines
 Each 1024 locations has 8 bit Data(Byte)
• Example – 1024x16 memory Content
Memory operation
Write and Read Operations
Write Operation
1. Apply the binary address of the
desired word to the address lines.
2. Apply the data bits that must be
stored in memory to the data input
lines.
3. Activate the write input.
Read Operation
• 1. Apply the binary address of the
desired word to the address lines.
• 2. Activate the read input.
Classification of Memories
• Memory
ROM RAM
Masked ROM PROM EPROM EEPROM
Static
RAM
Dynamic
RAM
Random Access Memory (RAM)
 Can be written to or read from.
 Read/Write memory
 Reading from RAM is non-destructive.
 Access time to read from any memory location is the same.
 As compared to serial access memory.
 Volatile
 Information is lost when power is removed.
Random Access Memory (RAM)
 Static Random Access Memory (SRAM)
 Based on the Flip-Flop
 Requires a large number of transistors
 Fast
 Dynamic Random Access Memory (DRAM)
 Uses a single transistor to store charge
 Requires very few transistors
 Must be periodically refreshed
 Slow(er)
SRAM- Memory Cell
Internal Construction -SRAM Block Diagram
Construction of 4x4 RAM
Coincident Decoding
• For 1K-word memory instead of using 10 x1024 decoder, we use two 5x32
decoder in a two dimensional selection scheme.
• A 10x1024 decoder requires 1024 AND gates with 10 inputs each, whereas
when we use two 5x32 decoder it requires totally 64 AND gates with five
inputs each
• 10 Bit address is split into MSB 5 bits and LSB 5 bits. The MSB bits are
given to X and LSB bits are given to y
Coincident Decoding-Example
Two-dimensional decoding structure for a 1K-word memory
DRAM
• SRAM typically has 6 transistors
• DRAM consists of only one transistor and capacitor
• Capacitor charge will be discharged with respect to time. Hence it should
be periodically recharged.
• DRAMS have 4 times the density and cost is also 4 times less
Address multiplexing for 64K DRAM
Random Access Memory
Read Cycle
Random Access Memory
Write Cycle
Read Only Memory (ROM)
 Can only be read from.
 Memory is written (or “programmed”) once
 Reading from ROM is non-destructive.
 Access time to read from any memory location is the same.
 As compared to serial access memory.
 Non-Volatile
 Information is retained even after power is removed.
Read Only Memory
• The inputs provide the address for memory, and the outputs give the data
bits of the stored word that is selected by the address.
• The number of words in a ROM is determined from the fact that k address
input lines are needed to specify 2k words.
• Note that ROM does not have data inputs, because it does not have a write
operation.
Eg:32x 8 ROM
• Here 2^k = 32 and n=8, Therefore 32 address locations and 8 output lines.
The 32 addresses are generated by a 5 x32 decoder.
Internal logic of a 32x8 ROM
Programming ROM
ROM Example
• Design a combinational circuit using a ROM. The circuit accepts a three‐bit
number and outputs a binary number equal to the square of the input
number.
Types of Read Only Memory (ROM)
 Programmable Read Only Memory (PROM)
 Can be “programmed”
 Erasable PROM (EPROM)
 Can be “programmed” and erased
 Electrically Erasable PROM (EEPROM)
 Can be erased using an electrical signal
 UV Erasable PROM (UVEPROM)
 Can be erased using Ultraviolet light
Combinational PLDs
• The PROM is a combinational programmable logic device (PLD)—an
integrated circuit with programmable gates divided into an AND array and
an OR array to provide an AND–OR sum‐of‐product implementation.
• Three types
a) PROM (Programmable read only memory)
b) PAL (Programmable Array logic)
c) PLA (Programmable Logic Array)
Types of Combinational PLDs
1.Programmable Read Only Memory(PROM)
2.Programmable Array Logic(PAL)
3.Programmbale Logic Array (PLA)
Programmable Logic Array(PLA)
• The PLA is similar in concept to the PROM, except that the PLA does not
provide full decoding of the variables and does not generate all the
minterms.
• The decoder is replaced by an array of AND gates that can be programmed
to generate any product term of the input variables.
• The product terms are then connected to OR gates to provide the sum of
products for the required Boolean functions.
Boolean Function Implementation in PLA
• Eg. Implement the following fn in PLA
PLA with three inputs, four product terms and two outputs
• PLA Programming Table
Boolean Function Implementation in PLA
(Contd.)
PLA Example
• Implement the following two Boolean functions with a PLA:
Programmable Array Logic(PAL)
• The PAL is a programmable logic device with a fixed OR
array and a programmable AND array. Because only the AND
gates are programmable, the PAL is easier to program than, but
is not as flexible as, the PLA.
PAL with four inputs, four outputs and a three-wide AND-OR structure
PAL Implementation Example
• Implement the function
• After K-map simplification
w = ABC’+A’B’CD’
x = A+BCD
y = A’B+CD+B’D’
z = ABC’+A’B’CD’+AC’D’+A’B’C’D
• z can be written in terms of w as
z= w+ AC’D’+A’B’C’D
PAL Implementation Example(Contd.)
w = ABC’+A’B’CD’
x = A+BCD
y = A’B+CD+B’D’
z = w+ AC’D’+A’B’C’D
PAL Programming table
Sequential Programmable Devices
• Digital systems are designed with flip‐flops and gates. Since the
combinational PLD consists of only gates, it is necessary to include
external flip‐flops when they are used in the design.
• Sequential programmable devices include both gates and flip‐flops. In this
way, the device can be programmed to perform a variety of
sequential‐circuit functions.
• Three types
1. Sequential (or simple) programmable logic device (SPLD)
2. Complex programmable logic device (CPLD)
3. Field‐programmable gate array (FPGA)
1. Sequential (or simple) programmable logic device (SPLD)
• The SPLD includes flip‐flops, in addition to the AND–OR array
• A PAL or PLA is modified by including a number of flip‐flops connected to
form a register.
• The circuit outputs can be taken from the OR gates or from the outputs of the
flip‐flops.
Sequential programmable logic device
CPLD
• CPLD-The device consists of multiple PLDs interconnected through a
programmable switch matrix.
• The input–output (I/O) blocks provide the connections to the IC pins. Each I/O pin
is driven by a three state buffer and can be programmed to act as input or output.
• The switch matrix receives inputs from the I/O block and directs them to the
individual macrocells.
• Similarly, selected outputs from macrocells are sent to the outputs as needed.
• Each PLD typically contains from 8 to 16 macrocells, usually fully connected.
• If a macrocell has unused product terms, they can be used by other nearby
macrocells. In some cases the macrocell flip‐flop is programmed to act as a D, JK,
or T flip‐flop.
CPLD
General CPLD configuration

More Related Content

What's hot

What's hot (20)

ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Pin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorPin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX Microprocessor
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
06. thumb instructions
06. thumb instructions06. thumb instructions
06. thumb instructions
 
Unit4.tms320c54x
Unit4.tms320c54xUnit4.tms320c54x
Unit4.tms320c54x
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 
Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
 
8251 USART
8251 USART8251 USART
8251 USART
 
8251 a usart programmable communication interface(1)
8251 a usart   programmable communication interface(1)8251 a usart   programmable communication interface(1)
8251 a usart programmable communication interface(1)
 
USART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav ShuklaUSART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav Shukla
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
TMS320C6X Architecture
TMS320C6X ArchitectureTMS320C6X Architecture
TMS320C6X Architecture
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Semiconductor memory
Semiconductor memorySemiconductor memory
Semiconductor memory
 
axi protocol
axi protocolaxi protocol
axi protocol
 

Similar to Programmable Logic Devices Digital Electronics

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
 
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCETEC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCETSeshaVidhyaS
 
System design using HDL - Module 3
System design using HDL - Module 3System design using HDL - Module 3
System design using HDL - Module 3Aravinda Koithyar
 
Unit 5 Programmable Logic Devices.pdf
Unit 5 Programmable Logic Devices.pdfUnit 5 Programmable Logic Devices.pdf
Unit 5 Programmable Logic Devices.pdfSaurabhJaiswal790114
 
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptxSEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptxMomin24
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronicsSijuGeorge10
 
programmable logic devices part 1
programmable logic devices part 1programmable logic devices part 1
programmable logic devices part 1Kundan Gupta
 
Digital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptx
Digital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptxDigital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptx
Digital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptxFilibertoMoralesGarc
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devicesNisarg Amin
 
Programmable Logic Devices Plds
Programmable Logic Devices PldsProgrammable Logic Devices Plds
Programmable Logic Devices PldsGaditek
 
Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modesbalbirvirdi
 
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfPart of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfAbhishekkumar397974
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSDr.YNM
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devicesISMT College
 
Computer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and OrganizationComputer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and OrganizationSmit Luvani
 

Similar to Programmable Logic Devices Digital Electronics (20)

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
 
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCETEC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
 
DSD
DSDDSD
DSD
 
System design using HDL - Module 3
System design using HDL - Module 3System design using HDL - Module 3
System design using HDL - Module 3
 
Memory And Storages
Memory And StoragesMemory And Storages
Memory And Storages
 
Unit 5 Programmable Logic Devices.pdf
Unit 5 Programmable Logic Devices.pdfUnit 5 Programmable Logic Devices.pdf
Unit 5 Programmable Logic Devices.pdf
 
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptxSEMICONDUCTOR MEMORIES(RAM &ROM).pptx
SEMICONDUCTOR MEMORIES(RAM &ROM).pptx
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronics
 
programmable logic devices part 1
programmable logic devices part 1programmable logic devices part 1
programmable logic devices part 1
 
Unit IV Memory.pptx
Unit IV  Memory.pptxUnit IV  Memory.pptx
Unit IV Memory.pptx
 
Digital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptx
Digital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptxDigital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptx
Digital Devices Parcial 1 PLD, CPLD, SPLD, FPGA.pptx
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devices
 
Programmable Logic Devices Plds
Programmable Logic Devices PldsProgrammable Logic Devices Plds
Programmable Logic Devices Plds
 
Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
 
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfPart of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
 
Memory_Interface.pdf
Memory_Interface.pdfMemory_Interface.pdf
Memory_Interface.pdf
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
 
Computer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and OrganizationComputer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and Organization
 

Recently uploaded

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 

Recently uploaded (20)

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

Programmable Logic Devices Digital Electronics

  • 1. Digital Electronics UNIT V PROGRAMMABLE LOGIC DEVICES R.Kanmani Assistant Professor (Sr.Gr)/ECE Sri Ramakrishna Institute of Technology Coimbatore.
  • 2. Memory Unit • A memory unit is a device to which binary information is stored and retrieved when needed • Eg. 1 KB of memory  2^10= 1024  2^k =1024, Hence k=10  k address lines=1024 address lines  Each 1024 locations has 8 bit Data(Byte)
  • 3. • Example – 1024x16 memory Content
  • 5. Write and Read Operations Write Operation 1. Apply the binary address of the desired word to the address lines. 2. Apply the data bits that must be stored in memory to the data input lines. 3. Activate the write input. Read Operation • 1. Apply the binary address of the desired word to the address lines. • 2. Activate the read input.
  • 6. Classification of Memories • Memory ROM RAM Masked ROM PROM EPROM EEPROM Static RAM Dynamic RAM
  • 7. Random Access Memory (RAM)  Can be written to or read from.  Read/Write memory  Reading from RAM is non-destructive.  Access time to read from any memory location is the same.  As compared to serial access memory.  Volatile  Information is lost when power is removed.
  • 8. Random Access Memory (RAM)  Static Random Access Memory (SRAM)  Based on the Flip-Flop  Requires a large number of transistors  Fast  Dynamic Random Access Memory (DRAM)  Uses a single transistor to store charge  Requires very few transistors  Must be periodically refreshed  Slow(er)
  • 9. SRAM- Memory Cell Internal Construction -SRAM Block Diagram
  • 11. Coincident Decoding • For 1K-word memory instead of using 10 x1024 decoder, we use two 5x32 decoder in a two dimensional selection scheme. • A 10x1024 decoder requires 1024 AND gates with 10 inputs each, whereas when we use two 5x32 decoder it requires totally 64 AND gates with five inputs each • 10 Bit address is split into MSB 5 bits and LSB 5 bits. The MSB bits are given to X and LSB bits are given to y
  • 13. DRAM • SRAM typically has 6 transistors • DRAM consists of only one transistor and capacitor • Capacitor charge will be discharged with respect to time. Hence it should be periodically recharged. • DRAMS have 4 times the density and cost is also 4 times less
  • 17. Read Only Memory (ROM)  Can only be read from.  Memory is written (or “programmed”) once  Reading from ROM is non-destructive.  Access time to read from any memory location is the same.  As compared to serial access memory.  Non-Volatile  Information is retained even after power is removed.
  • 18. Read Only Memory • The inputs provide the address for memory, and the outputs give the data bits of the stored word that is selected by the address. • The number of words in a ROM is determined from the fact that k address input lines are needed to specify 2k words. • Note that ROM does not have data inputs, because it does not have a write operation.
  • 19. Eg:32x 8 ROM • Here 2^k = 32 and n=8, Therefore 32 address locations and 8 output lines. The 32 addresses are generated by a 5 x32 decoder. Internal logic of a 32x8 ROM
  • 21. ROM Example • Design a combinational circuit using a ROM. The circuit accepts a three‐bit number and outputs a binary number equal to the square of the input number.
  • 22. Types of Read Only Memory (ROM)  Programmable Read Only Memory (PROM)  Can be “programmed”  Erasable PROM (EPROM)  Can be “programmed” and erased  Electrically Erasable PROM (EEPROM)  Can be erased using an electrical signal  UV Erasable PROM (UVEPROM)  Can be erased using Ultraviolet light
  • 23. Combinational PLDs • The PROM is a combinational programmable logic device (PLD)—an integrated circuit with programmable gates divided into an AND array and an OR array to provide an AND–OR sum‐of‐product implementation. • Three types a) PROM (Programmable read only memory) b) PAL (Programmable Array logic) c) PLA (Programmable Logic Array)
  • 24. Types of Combinational PLDs 1.Programmable Read Only Memory(PROM) 2.Programmable Array Logic(PAL) 3.Programmbale Logic Array (PLA)
  • 25. Programmable Logic Array(PLA) • The PLA is similar in concept to the PROM, except that the PLA does not provide full decoding of the variables and does not generate all the minterms. • The decoder is replaced by an array of AND gates that can be programmed to generate any product term of the input variables. • The product terms are then connected to OR gates to provide the sum of products for the required Boolean functions.
  • 26. Boolean Function Implementation in PLA • Eg. Implement the following fn in PLA PLA with three inputs, four product terms and two outputs
  • 27. • PLA Programming Table Boolean Function Implementation in PLA (Contd.)
  • 28. PLA Example • Implement the following two Boolean functions with a PLA:
  • 29. Programmable Array Logic(PAL) • The PAL is a programmable logic device with a fixed OR array and a programmable AND array. Because only the AND gates are programmable, the PAL is easier to program than, but is not as flexible as, the PLA.
  • 30. PAL with four inputs, four outputs and a three-wide AND-OR structure
  • 31. PAL Implementation Example • Implement the function • After K-map simplification w = ABC’+A’B’CD’ x = A+BCD y = A’B+CD+B’D’ z = ABC’+A’B’CD’+AC’D’+A’B’C’D • z can be written in terms of w as z= w+ AC’D’+A’B’C’D
  • 32. PAL Implementation Example(Contd.) w = ABC’+A’B’CD’ x = A+BCD y = A’B+CD+B’D’ z = w+ AC’D’+A’B’C’D PAL Programming table
  • 33.
  • 34. Sequential Programmable Devices • Digital systems are designed with flip‐flops and gates. Since the combinational PLD consists of only gates, it is necessary to include external flip‐flops when they are used in the design. • Sequential programmable devices include both gates and flip‐flops. In this way, the device can be programmed to perform a variety of sequential‐circuit functions. • Three types 1. Sequential (or simple) programmable logic device (SPLD) 2. Complex programmable logic device (CPLD) 3. Field‐programmable gate array (FPGA)
  • 35. 1. Sequential (or simple) programmable logic device (SPLD) • The SPLD includes flip‐flops, in addition to the AND–OR array • A PAL or PLA is modified by including a number of flip‐flops connected to form a register. • The circuit outputs can be taken from the OR gates or from the outputs of the flip‐flops. Sequential programmable logic device
  • 36. CPLD • CPLD-The device consists of multiple PLDs interconnected through a programmable switch matrix. • The input–output (I/O) blocks provide the connections to the IC pins. Each I/O pin is driven by a three state buffer and can be programmed to act as input or output. • The switch matrix receives inputs from the I/O block and directs them to the individual macrocells. • Similarly, selected outputs from macrocells are sent to the outputs as needed. • Each PLD typically contains from 8 to 16 macrocells, usually fully connected. • If a macrocell has unused product terms, they can be used by other nearby macrocells. In some cases the macrocell flip‐flop is programmed to act as a D, JK, or T flip‐flop.