fhnw fpga technology and industry experience 110302 at technopark zurich currently 7 employees ......

51
FPGA Technology and Industry Experience Guest Lecture in the context of the DT2 course at FHNW, Brugg-Windisch March 2nd 2011 Marc Oberholzer, FPGA Design Center, Enclustra GmbH Oliver Bründler, FPGA Design Center, Enclustra GmbH

Upload: dangdien

Post on 15-Mar-2018

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

FPGA Technology and Industry Experience

Guest Lecture in the context of the DT2 course at FHNW, Brugg-Windisch

March 2nd 2011

Marc Oberholzer, FPGA Design Center, Enclustra GmbHOliver Bründler, FPGA Design Center, Enclustra GmbH

Page 2: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 2 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 3: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 3 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 4: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 4 -

Enclustra GmbH – Company Profile

� Quick Facts

� Founded in 2004

� Located at Technopark Zurich

� Currently 7 employees

� Vendor-Independent

� FPGA Design Center

� FPGA-Related Design Services

� Firmware (VHDL/Verilog)

� Hardware (incl. analog and digital interfaces)

� Embedded Software (for FPGA soft processors)

� FPGA Solution Center

� FPGA Modules

� Mars, Mercury and Saturn

� IP Cores

� TFT Display Controller

� Universal Drive Controller

� Etc.

Page 5: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 5 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 6: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 6 -

FPGA Basics – Programmable LogicHistory

1960

1970

1980

1990

2000

2010

Page 7: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 7 -

FPGA Basics – FPGA ArchitectureThe Big Picture

� Field Programmable Gate Array

� Regular array of configurable logic blocks

� Embedded RAM blocks

� DSP blocks

� Configurable I/O blocks

� Dedicated clock management blocks

� Connected through configurable routing resources

� Global routing (long, fast, few lines)

� Local routing (short, abundant)

� Switch boxes

� Configuration data stored in distributed SRAM cells

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

S S S S

S S S S

S S S S

S S S S

I/O

I/O

I/O

I/O

I/O

I/O I/O I/O I/O I/O

I/O I/O I/O I/O I/O

I/O

I/O

I/O

I/O

I/O

Page 8: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 8 -

FPGA Basics – FPGA ArchitectureLogic Blocks

� LUTs are used for implementing logic functions

� 1-4 input functions in a single LUT

� LUT trees or carry chain architectures for more complex logic functions

� LUTs are in fact small SRAMs

� FFs are used for storing data and for pipelining

� Increasing logic levels result in increased propagation time

� Routing delay is dominant over LUT delay

� Pipelining helps to break long paths

� FFs are expensive in ASICs but are cheap in FPGAs

� Up to 500 MHz for real-world designs

� ~1500 .. 950‘000 (2 Mio) per FPGA

Page 9: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH

++ x

A

B

C

MULT

ACCU

ADD

OPMODE

Pre-Adder Multiplier Post Adder / Accumulator

01.03.2011- 9 -

FPGA Basics – FPGA ArchitectureDSP Blocks

� DSP blocks are used to implement fixed-point arithmetic operations

� Typically 18 x 18 bit multiplier

� 48 + 48 bit adder/accumulator

� Pre-adder for symmetric FIR filters

� Dynamic configuration via OPMODE

� Highly pipelined (configurable)

� Up to 600 MHz clock frequency

� Support for carry and adder chains

� ~4 .. 2000 (4000) per FPGA

� Up to 1200 (2400) GMAC/s per FPGA!!!

Page 10: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 10 -

FPGA Basics – FPGA ArchitectureMemory Blocks

� Memory Blocks are used to implement

� Simple data storage

� Shared memory

� Synchronous/asynchronous FIFOs

� Configurable large delays

� ROM (content is part of FPGA bitstream)

� Data tap / coefficient storage for FIR filters

� Program/data memory for embedded soft processors

� Widely configurable in

� Width/depth aspect ratio

� Size (cascadeable)

� Read behaviour (registered/combinatorial)

� Granularities from 512 bit to 36 Kbit

� 72 kbit .. 65 Mbit per FPGA

Page 11: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 11 -

FPGA Basics – FPGA ArchitectureI/O Blocks

� I/O blocks are used to interface to the outside world

� Highly configurable in

� Direction (input, output, bidirectional)

� Data rate (SDR, DDR, SERDES)

� I/O standard (single-ended, differential, referenced, etc.)

� I/O voltage (1.2 V .. 3.3 V for single-ended standards)

� FFs in the I/O block guarantee a stable I/O timing

� ~100 .. 1200 per FPGA

Flip-Flop(FF)

Flip-Flop(FF)

Flip-Flop(FF)

Buffer

Buffer

Pad

OUT_ENA

DOUT

DIN

CFG

CFG

CFG

Page 12: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 12 -

FPGA Basics – FPGA ArchitectureHard Macro Blocks

� Hard macro blocks provide complex functions like

� Embedded processor cores (PowerPC, ARM, etc.)

� External memory controllers (DDR, DDR2, DDR3, QDR, QDR II, etc.)

� Triple-speed Ethernet MACs

� Multi-gigabit serial transceivers

� PCI-Express endpoints

� Etc.

� Even low-cost FPGAs provide some hard macro blocks today

� No hard macro CPU in low-cost FPGAs so far

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

Hard Macro Block

RAM

Blo

ck

DSP B

lock

LogicBlock

S S S S

S S S S

S S S S

S S S S

I/O

I/O

I/O

I/O

I/O

I/O I/O I/O I/O I/O

I/O I/O I/O I/O I/O

I/O

I/O

I/O

I/O

I/O

Page 13: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 13 -

FPGA Basics – FPGA ArchitectureSoft Processors

� Embedded processor core implemented with FPGA logic, DSP and memory blocks

� Highly configurable

� Starting with an ultra-simple 8-bit uC core

� Ending with 32-bit RISC CPUs including FPU and MMU, capable of running a desktop Linux distribution

� Enables SoPCs with low-cost FPGAs

� System on a Programmable Chip

� Single-chip solution, uC and legacy peripheral ICs are replaced by FPGA logic resources

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

LogicBlock

RAM

Blo

ck

DSP B

lock

LogicBlock

S S S S

S S S S

S S S S

S S S S

I/O

I/O

I/O

I/O

I/O

I/O I/O I/O I/O I/O

I/O I/O I/O I/O I/O

I/O

I/O

I/O

I/O

I/O

Soft

Processor

Page 14: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 14 -

FPGA Basics – FPGA ArchitectureTime Division Multiplexing (TDM)

� Register replication

� State registers: Yes

� Pipeline registers: No

� BRAM/SRL can be used

� Advantages

� Power

� Area

� Less hard macros

� Disadvantages

� Longest path

� Debugging

50 MHz

200 MHz

x

+

x

+

Page 15: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 15 -

FPGA Basics – FPGA Design FlowOverview

� Architecture design is vital for

� System performance

� Resource usage

� Timing closure

� Power consumption

� HDL: Hardware Description Language

� Only strict synchronous design practices lead to reliable FPGA systems!

� FPGAs allow on-chip debugging with fast iteration times (typically less than one hour)

HDL Design Entry

Behavioral Simulation

Synthesis

Implementation

Bitstream Generation

Device Configuration

Static Timing Analysis

Architecture Design

Test Environment Design

Requirements

Test on Hardware / On-Chip Debugging

Page 16: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 16 -

FPGA Basics – FPGA Design FlowDesign Entry

� Code Generation vs. HDL Entry

� Code Generation

� Allows fast migration of already available code (e.g. written in C or MATLAB) to an FPGA target

� Not very resource-efficient, lacks performance

� Tools are very expensive and often complicated to use and maintain

� HDL Entry

� Allows very resource-efficient and performant implementations

� Same functionality fits into a smaller, slower and therefore cheaper FPGA

� Longer development time

� Simple tools, available for free (text editor...)

� IP Cores and HDL Libraries

� IP Cores

� Device-specific implementation (netlist)

� Provide complex functions

� MPEG encoder

� CAN interface

� Many vendors

� HDL Libraries

� Device-independent implementation (HDL)

� Provide mostly basic functions

� Asynchronous FIFO

� SPI Master

� Company-internal

Page 17: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 17 -

FPGA Basics – FPGA Design FlowImplementation

� Floorplanning, mapping, place and route

� Floorplanning

� Necessary for high-speed designs on large FPGAs

� Map

� Mapping of the synthesized netlist to available resource elements of the target device

� Place

� Placing of the mapped elements to the available physical resources of the device

� Route

� Implementation of the logical connections with physical routing resources

Page 18: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 18 -

FPGA Basics – FPGA Design FlowOn-Chip Debugging

� On-Chip Debugging

� Today‘s FPGA tools allow toeasily implement logicanalyzer functionality inFPGA logic

� Real-time capturing ofFPGA-internal signals

� Offline readout ofcaptured signals via JTAG

� Logic analyzer GUI onhost computer

� Almost unlimited trigger-conditions, configurable on the fly

� Possibility to control FPGA-internal signals from the host PC

� Very limited memory depth

� FPGA has to be re-implemented in order to change the logic analyzer structure

Page 19: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 19 -

FPGA Basics – Market OverviewRevenue

� Roughly 1.3% of total semiconductor market revenue

� PLD market revenue is believed to grow by 35% from 2009 to 2013

� FPGAs make up about 75% of the PLD market revenue

3.7

3.2

3.63.9

4.2 4.3

0

0.5

1

1.5

2

2.5

3

3.5

4

4.5

2008 2009 2010E 2011E 2012E 2013E

PLD Market Revenue ($B)

Page 20: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 20 -

FPGA Basics – Market OverviewVendors

� Xilinx and Altera share the high-performance FPGA market as well as the major part of the low-cost FPGA market

� Lattice Semi is a traditional player in the low-cost FPGA and CPLD market

� Actel provides Flash-based, low-power, mixed-signal and space-qualified FPGAs

FPGA market by Vendors

51%

36%

6% 6% 1%

Xilinx AlteraLattice Semi ActelOthers

Page 21: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 21 -

FPGA Basics – Market OverviewRegions

� Japan actually belongs to APAC

� Europe is the smallest market

� The Americas are not the biggest market

FPGA Market by Regions

39%

36%

14%

11%

The Americas Asia Pacific

Europe Japan

Page 22: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 22 -

FPGA Basics – Market OverviewEnd Applications

� Industrial applications are dominant in Switzerland

� There is also some significant activity in the communications sector in Switzerland

FPGA Market by End Applications

42%

11%10%

23%

9% 5%

Communications Computer and StorageConsumer IndustrialMilitary Automotive

Page 23: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 23 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 24: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 24 -

The Case for FPGAs – Unique Selling Points (1)

� Real parallel processing

� Vast parallel processing power for DSP applications

� No conflicts in accessing shared resources (because there aren‘t any...)

� Hard real-time capabilities

� No operating system, no scheduler, no IRQ latency, only pure hardware

� Nanosecond time resolution (e.g. 200 MHz FPGA clock frequency -> 5 ns cycle time)

� High integration and customization potential

� Single-chip systems with standard and custom parts

Page 25: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 25 -

The Case for FPGAs – Unique Selling Points (2)

� Reconfiguration / remote update capability

� Configuration can be changed over and over again

� Allows early system tests on hardware instead of time-consuming simulations

� Deployed systems can be updated in the field, e.g. over the internet

� Therefore often used as configurable external I/O

� Long-term availability

� Devices are usually available for > 10 years

� System functionality is defined by HDL code rather than by hardware schematics

� HDL code is easily ported to a new FPGA generation (no change toembedded processor code)

Page 26: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH

Volume

TotalCost

Parameter FPGA ASIC

Clock frequency

Power consumption

Form factor

Reconfiguration

Design security

Redesign risk (weighted)

Time to market

NRE

Total Cost FPGA vs. ASIC

01.03.2011- 26 -

The Case for FPGAs – FPGA vs. ASIC

� FPGAs can‘t beat ASICs when it comes to

� Low power

� Ultra small form factor

� Ultra high design security

� Ultra high volume

� ASICs need volume to overcome the NRE penalty

� NRE increase with each process shrink

� FPGA logic gets cheaper with each process shrink

� The break-even is moving towards higher volumes with each process shrink

� Remote update and faster time to market become more and more important

� FPGAs gain ground in the ASIC domain

� FPGAs are often used for ASIC prototyping

Page 27: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 27 -

The Case for FPGAs – FPGA vs. DSP

� DSPs are widely used in low-cost, low-power and low- to mid- performance systems

� DSPs suffer from their serial instruction stream when it comes to more complex systems running at high sample rates

� FPGAs can provide a performance boost of 10..1000 compared to DSPs for such applications (e.g. software defined radio).

� FPGAs even excel when compared in MAC/$ and MAC/W.

� Hard-macro CPU cores in the FPGAs take over traditional DSP tasks (e.g. complex protocol stacks), enabling single-chip high-performance signal processing systems Sample

Rate

Operations per Sample

Parameter FPGA DSP

System performance

Multi-channel architecture

Many conditional operations

Floating point

Absolute power consumption

Performance FPGA vs. DSP

Many operations per sample

Page 28: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 28 -

The Case for FPGAs – FPGA vs. uC

� „Microcontrollers are cheap and energy-efficient, FPGAs are expensive and power-consuming“

� If a microcontroller can do it, there is usually no need for an FPGA

� SoPC designs with FPGA-internal soft processors are beneficial if

� The system requires an FPGA anyway

� Many external ICs would be needed along with a microcontroller

� PCB space is a major concern

� High design flexibility is required

� Long-term availability is a major concern

� Reduced part count

� BSP defined through VHDL-code

Micro-controller

TFTLVDSDriver

Camera Link

Receiver

FFT Processor

External Memory

Embedded Soft

Processor

TFTLVDSDriver

Camera Link

Receiver

FFT Processor

External Memory

Page 29: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 29 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 30: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH

ADC Interface

Channel Filter Bank

Demodulator

Packet Engine

Local Interface

SPI

Down Converter

RF Frontend

Host PC

240 Msps

40 x 2 Msps

1 StreamReal-Valued

40 ChannelsComplex

40 x 2 Msps40 ChannelsComplex

40 x 1 MSps40 Channels

01.03.2011- 30 -

Real-World Applications – Software Defined Radio

� Software defined radio

� Most of the signal processing of a RF receiver/transmitter is done in „software“

� Real-world application

� 2.4 GHz RF receiver

� 240 Msps sampling rate

� Down conversion to 40 channels at 2 Msps each

� Parallel baseband-processing of all 40 channels with a time division multiplexed datapath architecture

� Channel filters

� Demodulators (FSK, PSK)

� Spartan-3A DSP low-cost FPGA

� 126 multipliers running at 240 MHz clock frequency

� Ported to Spartan-6 LX

� TDM / Floorplanning

Page 31: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 31 -

Real-World Applications – Linux on FPGA

� FPGA SoPC demonstrator

� TFT display with touch function

� PS/2 keyboard

� Gigabit Ethernet (TCP/IP)

� Stepper motor controller

� 32-bit RISC CPU running Linux 2.6

� GUI based on Nano-X

� Everything in a single low-cost FPGA(Xilinx Spartan-3A DSP on a Enclustra Saturn SX1 FPGA module)

� Linux provides user I/O, networking and a well-known application development platform

� FPGA logic provides custom functions

Page 32: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 32 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 33: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 33 -

Example Project – Motion ControlSpecification

� Technical requirements:

� Motion control module

� Up to 4 DC or 2 stepper motors

� Up to 2 BLDC motors in a later stage

� CAN interface

� Trajectory planner/integrator

� All calculations in SI units

� 1..5 KHz position/velocity control

� 10..100 KHz current control

� 4 integrated FET H-bridges

� Credit-card size

� General information:

� Motion control platform for next-generation products

� High-volume(> 10‘000 units/year)

� Must comply with various engineering standards

� Commercial requirements:

� Manufacturing costs < X $

� Available no later than day Y

� Engineering costs are secondary

Page 34: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 34 -

Example Project – Motion ControlProject Setup

� General project setup:

� The customer is responsible for hardware design, production and embedded software

� Enclustra is responsible for FPGA firmware and FPGA-related system design issues

� Team setup at Enclustra:

� 1 project manager

� 1 FPGA firmware engineer

� 1 hardware consultant

� Team setup at the customer:

� 1 project manager

� 2 embedded software engineers

� 2 hardware engineers

and

� The strategic procurement department

and

� The upper management

and

� Many potential users of the motion control module

Page 35: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 35 -

Example Project – Motion ControlProject Schedule (Basic Functions)

Hardware Support

Hardware Design / Schematics / Layout

FPGA Firmware

Embedded Software

Bring-Up, Integration & Test

Hardware Production

Kick

-Off

System Design

Syst

em D

esig

n Fr

eeze

Sche

mat

ics F

reez

e

Layo

ut F

reez

eFi

rst P

roto

type

s

Cust

omer

Acc

epta

nce

EnclustraCustomer 3rd Party

Page 36: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 36 -

Example Project – Motion ControlSystem Design (1)

Page 37: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 37 -

Example Project – Motion ControlFirst Prototypes!

� Bring-Up

� Power, clocks, FPGA configuration

� Nios II booting and JTAG communication

� First tests on hardware

� The first logged move!

Position

0.000

0.200

0.400

0.600

0.800

1.000

1.200

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161 166 171 176 181

Time [ms]

Po

siti

on

[ro

t]

DesPos

ActPos

ActVel

0.000

2.000

4.000

6.000

8.000

10.000

12.000

14.000

16.000

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161 166 171 176 181

Time [ms]

Vel

oci

ty [

rot/

s]

ActVel

Acceleration

-500.000

-400.000

-300.000

-200.000

-100.000

0.000

100.000

200.000

300.000

400.000

500.000

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161 166 171 176 181

Time [ms]

Acc

eler

atio

n [

rot/

s^2]

ActAcc

Page 38: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 38 -

Example Project – Motion ControlNext Steps

� In-System testing at the customer‘s site

� Bugfixes

� Small improvements

� First ideas for new features

� First release to internal users

� More bugfixes

� More small improvements

� More ideas for new features

� Customer acceptance for basic functionality on schedule

� New feature wishlist

� BLDC motor: Field oriented control (FOC) instead of block commutation

� BLDC motor behaves like a DC motor

� Resource-consuming

� Versatile I/O handler with interrupt support

� Big muxes -> resource consuming

� Power outputs with custom waveforms generated in FPGA logic

� 6 times -> resource-consuming

� Additional custom functionality

� Much more configurable parameters

� Growing register bank

Page 39: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH

StepperMotor

Controller

Nios II DSPwith FPU

I/O Handler

Power Outputs (x6)

Nios II CPUwith FPU

Shared Memory

Register Bank

CANIP Core

SPIMaster

Custom Functionality

DCMotor

Controller

BLDCMotor

Controller

01.03.2011- 39 -

Example Project – Motion ControlSystem Design (2)

Page 40: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 40 -

Example Project – Motion ControlFPGA Resources over Time

Page 41: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 41 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 42: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 42 -

Conclusions – Field Update

� FPGAs allow fast market entry thanks to their field update capability

� This often leads to the fallacy that FPGA development does not require thorough verification („we can fix an error after it occurs“)

� This might be partly true for non security relevant applications running in static ambient conditions

� FPGA development actually IS done like this a lot more than one might think

� This often wrongs FPGA technology in the user‘s minds, because there WILL be errors in this case

� The development of a reliable FPGA system does not get by without thorough verification!

� Verification may include behavioral simulation and tests running on the hardware

Page 43: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 43 -

Conclusions – „Featuritis“

� FPGA-based systems allow step-by-step introduction of new features

� FPGA projects require a thorough change management

� Request, classification, design, approval, implementation, verification, release

� FPGA projects require a strict release management

� Define specific feature sets for planned releases and stick to it

� Build number, build date and time, release number, accurate release history

� Resource usage and power consumption must always be monitored

� Device migration over different densities (assembly option) is possible, but complicates the initial hardware design

� Power consumption is highly dependent on the FPGA design (resource usage, clock frequencies, etc.) and the system operating conditions (data toggle rates, etc.)

Page 44: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 44 -

Conclusions – Outsourcing

� Make or buy – the case for outsourcing FPGA development

� Successful and efficient FPGA design requires in-depth knowledge of

� Basic digital and analog circuit design, chip design, VLSI

� HDL (VHDL/Verilog/etc.), FPGA architecture and tools

� High-speed hardware design

� Deployed algorithms, I/O standards, protocols, etc.

� Many companies have extensive knowledge in their application area, but do not have the required expertise for successfully employing FPGA technology

� Building up FPGA know-how is a lengthy and expensive process

� Collaboration between application specialists and FPGA technology experts shows great promise for successful product development

Page 45: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 45 -

Conclusions – Skills

� FPGA jobs in engineering services - what skills do we expect?

� Technical skills

� Basic digital and analog circuit design, chip design, VLSI (very important)

� HDL (VHDL, Verilog, etc.)

� Basic understanding of FPGA architecture and tools

� Basic understanding of DSP and SoPC

� Soft skills

� Keen perception also for complex structures

� Good communication with customers and colleagues

� Ability to work in a team

� Flexibility for changing tasks quickly

Page 46: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 46 -

Conclusions – How to Stand Out

� How can an FPGA engineering company stand out from the crowd?

� Focus on

� FPGA technology (don‘t be a „general merchandise store“)

� Key application domains (e.g. DSP, SoPC, etc.)

� Provide solutions, not only engineering resources

� FPGA modules as HW platform

� IP cores for complex building blocks

� Custom design for custom functionality

� System integration

� Not only make the customer happy, but also make him successful

� What the customer initially wants is most often not what he really needs

Page 47: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 47 -

Content

� Enclustra GmbH

� Company Profile

� FPGA Basics

� Programmable Logic History

� FPGA Architecture

� FPGA Design Flow

� Market Overview

� The Case for FPGAs

� Unique Selling Points

� FPGA vs. ASIC

� FPGA vs. DSP

� FPGA vs. uC

� Real-World FPGA Applications

� Software Defined Radio

� Linux on FPGA

� Example Project

� Motion Control

� Conclusions

� Field Update

� „Featuritis“

� Outsourcing

� Skills

� How to Stand Out

� Outlook & Trends

Page 48: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 48 -

Outlook and Trends – Targeted Design Platforms

� Enable designers to focus on innovation rather than on infrastructure by the help of

� Advanced FPGA silicon

� Socketable IP cores

� Development boards

� Reference designs

� Base IP and tools provided by silicon vendor for free (e.g. SPI)

� Domain-specific IP and tools provided by silicon vendor and design partners (e.g. FFT)

� Market-specific IP and tools provided by design partners and 3rd parties (e.g. video deinter-lacer)

� Application-specific boards and FPGA designs done by the end customer

© Xilinx Inc.

Page 49: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 49 -

Outlook and Trends – CPU goes FPGA

� CPU goes FPGA(not FPGA goes CPU)

� Xilinx Extensible Processing Platform

� ARM Dual Cortex-A9 @ 800 MHz

� Memory interfaces and common peripherals as hard macros

� Programmable logic custom peripherals and accelerators

� High-bandwidth interconnect between CPU, peripherals and accelerators

� Partial reconfiguration of programmable logic via CPU

� Fixed processing system

� Scalable programmable logic

� Broad range of available IP

� Software-centric development flow

© Xilinx Inc.

Page 50: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 50 -

Outlook and Trends – FPGA Mezzanine Card (FMC)

� PMC, XMC & Co. allow flexible I/O interfaces for traditional single-board computers

� Providing flexible I/O interfaces for FPGA-based processing boards is a different story

� The FPGA Mezzanine Card (FMC) standard is addressing this issue

� 160 (LPC) or 400 (HPC) pin connector, up to 10 Gb/s

� Standardized connector pin assignments optimized for FPGAs

� Possible applications

� Different RF frontends for FPGA-based software defined radio systems

� Various I/O engines for a single FPGA-based processing board

© Xilinx Inc.

Page 51: FHNW FPGA Technology and Industry Experience 110302 at Technopark Zurich Currently 7 employees ... Outlook & Trends. Enclustra GmbH -6 ... Consumer Industrial

Enclustra GmbH 01.03.2011- 51 -

Questions?

Oliver Bründler Marc Oberholzer

Enclustra GmbH Enclustra GmbH

[email protected] [email protected]

Fon +41 43 343 39 40 Fon +41 43 343 39 47

Slides in PDF format:http://www.enclustra.com/de/company/publications/