38
1 ni.com

ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

  • Upload
    lenhu

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

1 ni.com

Page 2: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

ni.com

Page 3: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

ni.com

Don’t Think You Need an FPGA? Think Again!

Arun Veeramani

Senior Program Manager

National Instruments

Page 4: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

4 ni.com

Don’t Think You Need an FPGA? Think Again!

Goals for Today

• Define and explain FPGAs

• Address common misconceptions about FPGAs

• Understand the best and most intuitive way to program FPGAs

• Understand when and how FPGAs can add value to your applications

Page 5: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

5 ni.com

Audience Poll

• Are you using FPGAs in designs today?

• What are some reasons people DON’T use FPGAs?

Page 6: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

6 ni.com

Page 7: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

7 ni.com

What is an FPGA?

Page 8: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

8 ni.com

The Effect of Moore’s Law on FPGAs: Heterogeneous, Massively Parallel SOCs

HARD CORE DSP SLICES

PROGRAMMABLE LOGIC & COMMUNICATION

EXTERNAL COMMUNICATION

MICROPROCESSORS

• Reduced power

consumption

• Smaller overall footprint

• Improved re-configurability

• Lower Cost

Page 9: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

9 ni.com

MACS = Multiply-accumulate operations per second (measure of DSP performance)

Dual-Core DSP

Spartan-6 LX45 HFPGA

Zynq 7020 SoC

Performance Ratio (FPGA/DSP)

Performance Ratio (Zynq-7020/DSP)

Million MACS per Chip 600 14,500 92,000 24 153 Million MACS per Watt 571 5,897 23,000 10 40 Million MACS per Dollar 7 279 515 40 74

Advantages Over DSPs or ASICs

Page 10: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

10 ni.com

Evolving Design Approaches Along With Technology

Traditional Improved

Page 11: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

11 ni.com

Don’t Think You Need an FPGA? Think Again! -- 3 Reasons to Augment your Application with an FPGA --

Future-Proof Your Design

Adapt to changing requirements, evolution of projects

Maximize Reliability and Determinism

For time-critical, safety-critical, and deployed systems

Enhance Performance & Improve Functionality

Offload processing, Ultra-fast control, Custom timing…

Page 12: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

12 ni.com

1. Future-Proof Your Designs

• Adapt to changing requirements

• Change, enhance, add (or remove!) functionality over time

• Re-use hardware (and code) from project to project

Reasons to Augment your Application with

an FPGA

Page 13: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

13 ni.com

Case Study: Innosiv Engineering Complex Control System

Results:

• Reproduced the coast-down timing within .10 s

• Force error smaller than 10 N.

• Slippage between front and rear-wheel kept to a minimum of 0.07 ppm.

• The system can run at 140 km/h with the speed differences as small as 0.01 m/s.

http://sine.ni.com/cs/app/doc/p/id/cs-12996

“The flexibility of the system based on CompactRIO and LabVIEW was more impressive than the end results. For all measurement

and control challenges discovered during the implementation, we quickly found a satisfying and innovative solution.”

Page 14: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

14 ni.com

2. Maximize Reliability and Determinism

Reasons to Augment your Application with

an FPGA

• Application executes in hardware

• Incredibly reliability & safety (maximize uptime!)

• Extreme determinism and clock cycle control

o Practically zero jitter; Loop rates up to ~200MHz

Page 15: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

15 ni.com

CPU

Processor Based Approach

Hard

ware

Op

era

ting S

ystem

Drive

r AP

I

Ap

plic

atio

n S

oftw

are

Calcu

lation

Outputs

System or Device

Inputs

~25 us Response

Page 16: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

16 ni.com

CPU

Decision Making in Hardware

Hardware

Op

era

ting S

ystem

Drive

r AP

I

App

licatio

n S

oftw

are

Calcu

lation

Outputs

System or Device

Inputs

~25 ns Response

Page 17: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

17 ni.com

3. Enhance Performance and Functionality

Reasons to Augment your Application with

an FPGA

• Extremely fast closed loop control or stimulus/response test

• Inline processing (ie Vision)

• Extend your DAQ or PLC application

• Custom timing, triggering, high speed Analog I/O

• Integrate custom digital sensors

THIS IS AN IMAGE OF NEW FPGA IMAGE PROCESSING IP RELEASING IN LV 2014!

http://sine.ni.com/cs/app/doc/p/id/cs-678

Page 18: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

18 ni.com

Page 19: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

19 ni.com

If FPGAs are so great… Why don’t more system designers consider them?

Traditional Approach = Very Costly

Page 20: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

20 ni.com

Traditional Approaches Are Worlds Apart

What they use?

C, C++, C#, Java

What they know?

Higher Level APIs

How they develop?

Compile early, often

Debug with probes, single stepping

What they use?

VHDL, Verilog

What they know?

RTL programming

How they develop?

Model based design

Debug with JTAG, ChipScope

Page 21: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

21 ni.com

The LabVIEW RIO Architecture: The Foundation for Innovation

Page 22: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

22 ni.com

Don’t Just Take Our Word For It…

“You need a high-level language to bring FPGA to the masses, people who are not essentially hardware programmers. We think LabVIEW is a very good tool that enables the domain experts to program FPGAs…”

– Ivo Bolsens, CTO, Xilinx

Page 23: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

23 ni.com

One Tool for Everything

Desktop Target

Real-Time Target

FPGA Target

In LabVIEW, you can…

• Manage FPGA resources

• Develop, compile and deploy application

• Simulate and debug your application

Page 24: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

24 ni.com

Graphical Programming for FPGAs

Front Panel

Block Diagram

Functions Palette

No need for prior knowledge or experience with VHDL or Verilog

Page 25: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

25 ni.com

FPGA Specific Language Elements

LabVIEW FPGA Elements

IO Interface Data Communication

Control Timing

Page 26: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

26 ni.com

New Rules for Software Development

• Your code actually configures hardware circuits • Compile times are longer compared to desktop

• Signals on a wire - harder to debug

• How can you stay productive? • Multiple simulation methods

o Compile fewer times

o Verify functionality and timing in simulation

• Cloud compilation for everyone

o Compile faster

o Compile offline

• IP Builder for automatic optimization

Page 27: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

27 ni.com

LabVIEW FPGA Demonstration

Page 28: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

28 ni.com

Porting Your DAQ Application

Configure Channel(s)

Configure Rate

& Number of Samples

Configure Start

Condition

Read Samples

Cleanup

Page 29: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

29 ni.com

Right Tool for the Job?

Page 30: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

30 ni.com

What tasks are taxing my processor?

Don’t Port Your Entire Application

• Pick the right place for your task: Processor or FPGA

• Certain operations might be way simpler on Processor

Identify parts that map the best to FPGA...

Are there any fast control loops? Highly deterministic tasks?

Which components need to be highly reliable?

Page 31: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

31 ni.com

Case Study: Innosiv Engineering

http://sine.ni.com/cs/app/doc/p/id/cs-12996

Page 32: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

32 ni.com

Partition a PXI Based Application?

Real-Time/Windows Controller

R Series Devices

AI AI DO

Time critical control

I/O

DAQ Timers, Counters, Buffers

DAQ Devices

Page 33: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

34 ni.com

Still think you don’t need FPGAs?

Maybe not today, but you might tomorrow!

Page 34: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

35 ni.com

The Foundation for Innovation

NI LabVIEW RIO Architecture

Co-Processor

Time critical control loops

Custom sensor

integration

Custom logic,

protocols

Safety, reliability

Page 35: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

36 ni.com

A Platform That Scales

Page 36: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

37 ni.com

Smaller Teams Get to Market Faster with NI Tools

NI UBM

Size of core embedded team (average # of SW/HW/firmware engineers)

4.8 11.5

Time to complete projects (months) 6.2 12.5

On/ahead of schedule 58% 42%

Behind schedule/late 38% 55%

Page 37: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

38 ni.com

Continue Your Journey…

• Visit the show floor to see FPGAs in action

Sessions

• Simplify System Complexity with the New High Performance CompactRIO Controller

• Wednesday, 1:00pm, Room 14

• Enhance Your DAQ Application with R Series Multifunction RIO

• Wednesday, 2:15pm, Room 16A

• LabVIEW FPGA Under the Hood (Advanced)

• Thursday, 1:00pm, Ballroom G

Page 38: ni - National Instruments: Test, Measurement, and ...australia.ni.com/sites/default/files/Don't Think You Need...Advantages Over DSPs or ASICs ni.com 10 Evolving Design Approaches

39 ni.com