SlideShare a Scribd company logo
1 of 21
Lecture #4: Programmable Logic
Structure
Paul Hartke
Phartke@stanford.edu
Stanford EE121
January 17, 2001
Book Reading
• Chapter 1
• Chapter 2.1-2.6
• Chapter 3.1.-3.7
• Chapter 4.1-4.3, 4.5
• Chapter 5.3, 5.4.1, 5.4.8, 5.5.1, 5.7.0, 5.8.1-5.8.4,
5.9.1-5.9.3, 5.10.1-5.10.7, 5.11.1
– Know the architectures involved but don’t need the
TTL equivalents or ABEL/VHDL
• Chapter 10.5-10.6
– Difference between CPLD and FPGA architecture
How do you drive a LED
with CMOS?
• Point is that static power is used.
• Static power is a problem.
• Dynamic power has its
issues as well.
• V=L*di/dt
Ground Bounce
• Mitigations
– Internal Bypass Capacitors
– More Power and Ground Pins
– Lower Slew Rate of I/O
• More info:
– http://www.idt.com/docs/AN_147.pdf
• We did this in E40 and it’s the same here
• Wired like this, small ROM
• If the inputs are configurable
Then basis for LookUp Table
(LUT) FPGAs
Mux as way to Implement Logic
I3
I2
I1
I0
S1 S0
Out
A B
0
1
1
0
Combinational Programmable
Logic Devices
O1
O2
O3
Vcc P1
P2 P3 P4 P5 P6
Vcc
I1
I2
I3
I4
Fusible
Link
CPLDs (2)
• Burn in the interconnection to create logic
– Uses wired logic but could be implemented
with static CMOS
• In Eetimes this week, Xilinx announced they are
phasing out this architecture.
– Too much power.
Erasable PLD
• Replace fuse with re-programmable device
– Charge can be injected onto the floating gate
thus turning the transistor off. The charge will
remain on the gate even if
the power is turned off. Later,
if desired , the charge can
be removed. The process is
repeatable.
Floating gate
FPGAs
• Field Programmable Gate Arrays have a
more general structure but based on these
primitives.
FPGA Micro-Architecture
Xilinx Logic Cell Arrays General Chip Architecture:
• Lock Blocks (CLBs)
• IO Blocks (IOBs)
• Wiring Channels
• Other goodies (BlockRam)
• Use Data Books
• http://xilinx.com/partinfo/ds001_1.pdf
Wiring Channels
• Interconnect Logic
created in FPGA
to connect up
logic
• Reconfigurable
• BIG FPGA feature
CLB Diagram From Data Book
IOB Diagram from Data Book
IOB Notes
• Note Tristate output driver
• Slew Rate control used to limit edge speed
to lower instantaneous power (which affects
ground bounce).
• Flip Flop at input so you don’t have to drive
into interconnect.
Interconnect around CLBs
Programmable Switch Matrix
More
Routing
Last Routing Slide!! 
Timing Info
• http://xilinx.com/partinfo/ds005.pdf
• Use this info to guesstimate how fast design
“should” run.
FPGA Figures of Merit
• FPGA operating frequency for your design
is hard to predict beforehand.
• Run some micro-benchmarks on different
FPGAs to get a feel for their perf and how
much logic you can put between flip flops.
• 32 bit fast adder size and speed.
Understand FPGA Architecture
• Look up table (LUT) based with fixed and limited
routing resources.
• So logic is cheap (consider 4 input XOR in VLSI)
but wires are very expensive.
• FPGAs are manufactured in the same chip fabs as
“high performance” ASICs based on standard
CMOS. The tradeoff is easy of design vs
performance.
– Often a good tradeoff.

More Related Content

Similar to Programming Programming logic devicespptx

Implementation of Soft-core Processor on FPGA
Implementation of Soft-core Processor on FPGAImplementation of Soft-core Processor on FPGA
Implementation of Soft-core Processor on FPGADeepak Kumar
 
cpld vs fpga Positionning presentation.ppt
cpld vs fpga Positionning presentation.pptcpld vs fpga Positionning presentation.ppt
cpld vs fpga Positionning presentation.pptNourallahAouina
 
Field programmable Gate Arrays Chapter 6.pdf
Field programmable Gate Arrays Chapter 6.pdfField programmable Gate Arrays Chapter 6.pdf
Field programmable Gate Arrays Chapter 6.pdfffwwx10
 
Cpld and fpga mod vi
Cpld and fpga   mod viCpld and fpga   mod vi
Cpld and fpga mod viAgi George
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)A B Shinde
 
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang Spark Summit
 
Implementation strategies for digital ics
Implementation strategies for digital icsImplementation strategies for digital ics
Implementation strategies for digital icsaroosa khan
 
Basic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate ArraysBasic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate ArraysUsha Mehta
 
Van jaconson netchannels
Van jaconson netchannelsVan jaconson netchannels
Van jaconson netchannelsSusant Sahani
 

Similar to Programming Programming logic devicespptx (20)

FPGA
FPGAFPGA
FPGA
 
Implementation of Soft-core Processor on FPGA
Implementation of Soft-core Processor on FPGAImplementation of Soft-core Processor on FPGA
Implementation of Soft-core Processor on FPGA
 
cpld vs fpga Positionning presentation.ppt
cpld vs fpga Positionning presentation.pptcpld vs fpga Positionning presentation.ppt
cpld vs fpga Positionning presentation.ppt
 
Field programmable Gate Arrays Chapter 6.pdf
Field programmable Gate Arrays Chapter 6.pdfField programmable Gate Arrays Chapter 6.pdf
Field programmable Gate Arrays Chapter 6.pdf
 
Fpga
FpgaFpga
Fpga
 
Fpga & VHDL
Fpga & VHDLFpga & VHDL
Fpga & VHDL
 
FPGA.ppt
FPGA.pptFPGA.ppt
FPGA.ppt
 
Cpld and fpga mod vi
Cpld and fpga   mod viCpld and fpga   mod vi
Cpld and fpga mod vi
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)
 
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang
 
UNIT-1.pptx
UNIT-1.pptxUNIT-1.pptx
UNIT-1.pptx
 
Smart logic
Smart logicSmart logic
Smart logic
 
Implementation strategies for digital ics
Implementation strategies for digital icsImplementation strategies for digital ics
Implementation strategies for digital ics
 
Technical Seminar.pptx
Technical Seminar.pptxTechnical Seminar.pptx
Technical Seminar.pptx
 
Dr.D.RUKMANIDEVI PPT.ppt
Dr.D.RUKMANIDEVI PPT.pptDr.D.RUKMANIDEVI PPT.ppt
Dr.D.RUKMANIDEVI PPT.ppt
 
Actel fpga
Actel fpgaActel fpga
Actel fpga
 
Basic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate ArraysBasic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate Arrays
 
ASIC VS FPGA.ppt
ASIC VS FPGA.pptASIC VS FPGA.ppt
ASIC VS FPGA.ppt
 
Lecture syn 024.cpld-fpga
Lecture syn 024.cpld-fpgaLecture syn 024.cpld-fpga
Lecture syn 024.cpld-fpga
 
Van jaconson netchannels
Van jaconson netchannelsVan jaconson netchannels
Van jaconson netchannels
 

Recently uploaded

Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdfKamal Acharya
 
E-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are presentE-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are presentjatinraor66
 
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...MohammadAliNayeem
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxkarthikeyanS725446
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1T.D. Shashikala
 
ANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdfANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdfBertinKamsipa1
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsMathias Magdowski
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor banktawat puangthong
 
ROAD CONSTRUCTION PRESENTATION.PPTX.pptx
ROAD CONSTRUCTION PRESENTATION.PPTX.pptxROAD CONSTRUCTION PRESENTATION.PPTX.pptx
ROAD CONSTRUCTION PRESENTATION.PPTX.pptxGagandeepKaur617299
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoninghotman30312
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...Roi Lipman
 
How to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdfHow to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdftawat puangthong
 
Lect_Z_Transform_Main_digital_image_processing.pptx
Lect_Z_Transform_Main_digital_image_processing.pptxLect_Z_Transform_Main_digital_image_processing.pptx
Lect_Z_Transform_Main_digital_image_processing.pptxMonirHossain707319
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AISheetal Jain
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxRashidFaridChishti
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdfKamal Acharya
 
ChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdfChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdfqasastareekh
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineJulioCesarSalazarHer1
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdfKamal Acharya
 

Recently uploaded (20)

Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdf
 
E-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are presentE-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are present
 
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptx
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
ANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdfANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdf
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor bank
 
ROAD CONSTRUCTION PRESENTATION.PPTX.pptx
ROAD CONSTRUCTION PRESENTATION.PPTX.pptxROAD CONSTRUCTION PRESENTATION.PPTX.pptx
ROAD CONSTRUCTION PRESENTATION.PPTX.pptx
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
How to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdfHow to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdf
 
Lect_Z_Transform_Main_digital_image_processing.pptx
Lect_Z_Transform_Main_digital_image_processing.pptxLect_Z_Transform_Main_digital_image_processing.pptx
Lect_Z_Transform_Main_digital_image_processing.pptx
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdf
 
ChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdfChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdf
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 

Programming Programming logic devicespptx

  • 1. Lecture #4: Programmable Logic Structure Paul Hartke Phartke@stanford.edu Stanford EE121 January 17, 2001
  • 2. Book Reading • Chapter 1 • Chapter 2.1-2.6 • Chapter 3.1.-3.7 • Chapter 4.1-4.3, 4.5 • Chapter 5.3, 5.4.1, 5.4.8, 5.5.1, 5.7.0, 5.8.1-5.8.4, 5.9.1-5.9.3, 5.10.1-5.10.7, 5.11.1 – Know the architectures involved but don’t need the TTL equivalents or ABEL/VHDL • Chapter 10.5-10.6 – Difference between CPLD and FPGA architecture
  • 3. How do you drive a LED with CMOS? • Point is that static power is used. • Static power is a problem. • Dynamic power has its issues as well. • V=L*di/dt
  • 4. Ground Bounce • Mitigations – Internal Bypass Capacitors – More Power and Ground Pins – Lower Slew Rate of I/O • More info: – http://www.idt.com/docs/AN_147.pdf
  • 5. • We did this in E40 and it’s the same here • Wired like this, small ROM • If the inputs are configurable Then basis for LookUp Table (LUT) FPGAs Mux as way to Implement Logic I3 I2 I1 I0 S1 S0 Out A B 0 1 1 0
  • 6. Combinational Programmable Logic Devices O1 O2 O3 Vcc P1 P2 P3 P4 P5 P6 Vcc I1 I2 I3 I4 Fusible Link
  • 7. CPLDs (2) • Burn in the interconnection to create logic – Uses wired logic but could be implemented with static CMOS • In Eetimes this week, Xilinx announced they are phasing out this architecture. – Too much power.
  • 8. Erasable PLD • Replace fuse with re-programmable device – Charge can be injected onto the floating gate thus turning the transistor off. The charge will remain on the gate even if the power is turned off. Later, if desired , the charge can be removed. The process is repeatable. Floating gate
  • 9. FPGAs • Field Programmable Gate Arrays have a more general structure but based on these primitives.
  • 10. FPGA Micro-Architecture Xilinx Logic Cell Arrays General Chip Architecture: • Lock Blocks (CLBs) • IO Blocks (IOBs) • Wiring Channels • Other goodies (BlockRam) • Use Data Books • http://xilinx.com/partinfo/ds001_1.pdf
  • 11. Wiring Channels • Interconnect Logic created in FPGA to connect up logic • Reconfigurable • BIG FPGA feature
  • 12. CLB Diagram From Data Book
  • 13. IOB Diagram from Data Book
  • 14. IOB Notes • Note Tristate output driver • Slew Rate control used to limit edge speed to lower instantaneous power (which affects ground bounce). • Flip Flop at input so you don’t have to drive into interconnect.
  • 19. Timing Info • http://xilinx.com/partinfo/ds005.pdf • Use this info to guesstimate how fast design “should” run.
  • 20. FPGA Figures of Merit • FPGA operating frequency for your design is hard to predict beforehand. • Run some micro-benchmarks on different FPGAs to get a feel for their perf and how much logic you can put between flip flops. • 32 bit fast adder size and speed.
  • 21. Understand FPGA Architecture • Look up table (LUT) based with fixed and limited routing resources. • So logic is cheap (consider 4 input XOR in VLSI) but wires are very expensive. • FPGAs are manufactured in the same chip fabs as “high performance” ASICs based on standard CMOS. The tradeoff is easy of design vs performance. – Often a good tradeoff.