Beruflich Dokumente
Kultur Dokumente
J. K. Bekkeng, 3.7.2011
Lecturer
Jan Kenneth Bekkeng (Senior Scientist FFI, Ass. prof-II
Sounding rockets
UIO)
Email:
j.k.bekkeng[at]fys.uio.no
T&E
Goals
Learn digital design using programmable logic
circuits (FPGA and CPLD)
Circuits
Design tools
Design methods
Laboratory exercises
Lab 1:
Switches, LEDs, counters, debouncer, testbenches
Lab 2:
Use of components and packages, LPMs, FSM (vending machine)
Lab 3:
Control of ADC (state machine), timing
Laboratory exercises
Room V442, Physics building
Teaching assistant available from 10.15 to 14.00 for guidance
on the lab days
Lab availability (without guidance):
The lab at V442 is available Monday - Friday
Read the lab text and the corresponding manuals, and try to
find solutions before you come to the lab.
All mandatory labs (3 labs for FYS4220, 4 labs for FYS9220)
must be approved in order to take the exam
All labs must be approved before 1. December
Note that Quartus II Web Edition and
Modelsim-Altera Starter Edition software
can be downloaded for free from the
Altera web page: Altera Free software
Plasma and Space Physics
Aerospace
Defence
Medicine
Imaging / Image processing
Digital signal processing
ASIC prototyping
Software defined Radio
Software defined GPS
NSM
Air-to-Air missile
What is an FPGA?
FPGA = Field Programmable Gate Array
Logic Array Blocks (LABs)
Each LAB contains a given number of Logic Elements (LE)
Cyclone II LE
FPGA advantages
High reliability
High determinism
High performance
True parallelism
Reconfigurability
General
Purpose
Processor
SOPC
DSP Processor
Custom
Interface
Logic
Spare gates
DSP Logic
Nios
Processor
Pitch (Y)
Yaw (Z)
IRU PCBs
Roll PCB
FPGA
DAQ PCB
Programmable logic
FPGA
CPLD
CPLD
Flash
Circuit manufacturers:
Altera (www.altera.com)
Xilinx (www.xilinx.com)
Tools:
QUARTUS II (Altera)
Modelsim Altera (Mentor VHDL simulator)
NIOS II Embedded design suite (+ C2H compiler)
DSP builder (Altera)
ISE (Xilinx)
FPGA
Examples of programming
languages for programmable logic
VHDL
SystemC
Handel-C
Verilog (mainly used for ASICs, VHDL is better for
FPGAs)
Schematic tools (e.g. in Quartus II)
System
Integration
IP Integration
DSP Algorithm
Development
Software
Development
27 and Space Physics
Plasma
LabVIEW FPGA
LabVIEW from National Instrument (NI) can be used to
program (graphically) NIs RIO (RIO = Reconfigurable
I/O) cards
Requires license on NI LabVIEW and NI FPGA Module
Can write/import VHDL code
Circuit technologies
Programmable logic device (PLD):
Simple Programmable Logic Device (SPLD)
Complex Programmable Logic Devices (CPLD)
Field Programmable Gate Array (FPGA)
Application Specific Integrated Circuit (ASICs)
System On Chip (SoC)
Programmable logic
CPLD - Complex
Programmable Logic Device
Programming technology: non-volatile memory, such
as EEPROM or FLASH.
Configuration stored in the circuit (even without power)
High voltage (EEPROM) or logic voltage (FLASH)
FPGA
Flash
FPGA vs ASIC
ASIC = Application Specific Integrated Circuit
circuits that are fabricated in a silicon foundry
FPGA advantages
Dramatically reduce the cost of errors (by reprogramming)
Much cheaper than an ASIC for small volumes
Cons:
Slower and simpler than hard processor cores.
Less area efficient compared to hard cores.
Plasma and Space Physics
Hardware vs Software
Hardware (digital logic):
Time critical parts
Software (on the CPU):
Less time critical parts.
Interface (Ethernet, RS232, USB, Wi-Fi, etc.)
Code that normally would have been executed on an external
processor.
Altera Embedded
processing
http://www.altera.com/technology/embedded/embindex.html
Examples of COTS
hardware for embedded systems
National Instruments PXI rack with FPGA-card(s)
and a real-time controller
18-slot PXI Express chassis
Controller with
Windows and/or RT-OS
CompactRIO from NI
Real-time processor
and FPGA