Escolar Documentos
Profissional Documentos
Cultura Documentos
CHAPTER 2: INTRODUCTION TO
THE FPGAs
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
Index
1. A brief review about digital logic gates
2. What is an FPGA?
3. Applications with FPGAs
4. FPGAs Vs. Processors
5. Pitfalls of FPGAs
6. Main manufactures on the market
7. How can we program an FPGA? VHDL Vs. Verilog
8. Extra material on Internet
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
1. A brief review about logic gates
The most basic and elemental digital logic gate is the inverter which is built
from two MOSFET transistors: NMOS and PMOS.
The layout defines all the masks necessary for creating the device.
The inputs and outputs of digital circuits can only be 0 (low level) or 1 (high
level).
Digital logic gates are defined by their table of truth
Asynchronous circuit
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
1. A brief review about logic gates
How fast is the response of an inverter?
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
1. A brief review about logic gates
CMOS technology allows to obtain complex logic gates only using MOSFET
transistors (resistors, capacitors or whatever else is not required).
What kind of logic
gate do we have ?
A B OUT?
0 0
0 1
1 0
1 1
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
1. A brief review about logic gates
CMOS technology offers to digital designers a paramount feature: scalability
Every logic
function can be
implemented by
NANDs gates
All the processes
can be developed
automatically from
the basic elements
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
1. A brief review about logic gates
The simplicity of the CMOS technology and its low power consumption are
the clues of its rise.
NAND GATE (CMOS Technology) NAND GATE (TTL Technology)
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
1. A brief review about logic gates
Homework: take a look to your notes about logic gates
OR NOR
NAND
XOR XNOR
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
1. A brief review about logic gates
Last challenge...
What kind of digital logic gate do we have ?
A B OUT?
0 0
0 1
1 0
1 1
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
2. What is a FPGA?
The acronym of FPGA comes from Field Programmable Gate Array
INPUTS OUTPUTS
Any connection is implemented inside the chip these ones have to be program by the user
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
3. Applications with FPGAs
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
3. Applications with FPGAs
Proximity
water sensor
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
3. Applications with FPGAs
Land motor
Proximity land controller
sensor Function 1
Function 2
Driving System
Water sensor FPGA
Function 3
Water motor
Proximity controller
water sensor
The FPGA can be separately
programmed and the overall
system will still exhibit a real
time response
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
4. FPGA Vs. Processor
Land motor
Proximity land controller
sensor Function 1
Function 2
Driving System
Water sensor FPGA
Function 3
Water motor
Proximity controller
water sensor The FPGA's response
depend on the
propagation time and the
fanout.
For CMOS technology
fanout is ~34.000
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
4. FPGA Vs. Processor
Land motor
Proximity land controller
sensor Stack
Stack
Inst.1
pointer
Inst.2 Driving System
Water sensor Inst.3
Inst.4 Water motor
Proximity controller
water sensor Memory The processor is limited by the
internal clock.
If the processor needs too
much time for an instruction or
Processor cluster of them, the system
stops being a realtime system
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
4. FPGA Vs. Processor
The Curiosity was lunched in 2011 and landed on Mars in The FPGA has the advantage that
2012 . Although, it was governed by a processor, some can be reprogrammed from afar.
specifics tasks were controlled by FPGAs
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
5. Pitfalls of FPGAs
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
6. Main manufactures on the market
Xilinx
On the market from 1984 Altera. No longer on the market!!
VHDL Evolution
Hardware program language created by U.S.
Defence Department for ASICs designs in 1981
Intermetrix, IBM and TI create a baseline language
IEEE leaded the project and publish the first
standard in 1987
The standard is revised each 5 year (or sooner)
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
7. How can we program an FPGA? VHDL Vs. Verilog
VHDL is used mostly
in Europe, Korea and
Japan
Verilog is used in
North and South,
South-East Asia and
India
VHDL Verilog
Strongly-typed Weak-typed
More verbose More concise
Very deterministic only deterministic if you follow some rules carefully
Non-C-like syntax More C-like syntax
Everything is exportable to Verilog No everything is exportable to VHDL
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es
8. Extra material on Internet
Complex digital system design. EPS de Linares. Vicente Muñoz Diez. Office: D-115. Email: jmunoz@ujaen.es