Download - labview_fpga_compactrio
-
8/13/2019 labview_fpga_compactrio
1/15
-
8/13/2019 labview_fpga_compactrio
2/15
LabVIEW FPGA and CompactRIO
Wei Lin, PhDDepartment of Biomedical Engineering
Stony Brook University
631-632-1639Email: [email protected]
-
8/13/2019 labview_fpga_compactrio
3/15
What is FPGA?
A field-programmable gate arrayis a semiconductor devicecontaining programmable logic
components called "logicblocks", and programmableinterconnects.
From: Wikipedia
-
8/13/2019 labview_fpga_compactrio
4/15
-
8/13/2019 labview_fpga_compactrio
5/15
Inside the I/O Block
FPGA Configurable I/O block (Xilinx)
-
8/13/2019 labview_fpga_compactrio
6/15
Inside the Logic Block
FPGA Configurable logic block (CLB) (Xilinx)
-
8/13/2019 labview_fpga_compactrio
7/15
Inside Interconnect
FPGA programmable interconnect (Xilinx)
Two types of interconnect: Local and Global
-
8/13/2019 labview_fpga_compactrio
8/15
FPGA Design Flow
Design: determine functionality anddescribe the functionality usinghardware description language suchas VHDL.
Verification: Use simulator to verifyfunctionality.
Synthesis: Use CAD tools generate
optimized bit-stream file to programthe FPGA.
The process has a steep learning curve.
-
8/13/2019 labview_fpga_compactrio
9/15
LabVIEW FPGA
The NI LabVIEW FPGA Module uses LabVIEW
graphic program technology to generate bit-stream file for FPGA.
LabVIEW FPGA Module can simulate thefunctionality of FPGA
Advantages of LabVIEW FPGA module: Easy to use, no requirement on the knowledge of
HDL
The parallel processing of LabVIEW is well fit forFPGA
Limitation of LabVIEW FPGA module: It currently targets NI FPGA hardware such as
CompactRIO.
-
8/13/2019 labview_fpga_compactrio
10/15
LabVIEW FPGA Features
Graphic Design
Built-in VIs for Control, Filtering,and Signal Generation IP
Implementation of FIFO, DMA andinterrupt
HDL Interface Node to import HDLcode
Fixed-point support
Component-Level IP (CLIP)
-
8/13/2019 labview_fpga_compactrio
11/15
NI CompactRIO System
NI CompactRIO system is an advanced embedded system for dataacquisition. Its open architecture, small form factor and extremeruggedness enables engineers to quickly build custom embedded
systems.
-
8/13/2019 labview_fpga_compactrio
12/15
NI CompactRIO System
Running RT VIson controller
FPGA code forchassis
backbone
CompactRIOI/O Module
-
8/13/2019 labview_fpga_compactrio
13/15
LabVIEW VI Design for CompactRIO
Host VIs RT VIs FPGA VIs
Three types of VIs required.CompactRIO can run independently from host PC.
Ethernet Cable
-
8/13/2019 labview_fpga_compactrio
14/15
Applications of LabVIEW FPGA
Embedded control system
Communication protocol evaluation
Hardware in the loop
-
8/13/2019 labview_fpga_compactrio
15/15