41
Steve Poret RCS – ENG 6530 June 10, 2008

Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs Ian Kuon and Jonathan Rose The Edward S. Rogers Sr. Department

Embed Size (px)

Citation preview

Page 1: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Steve PoretRCS – ENG 6530

June 10, 2008

Page 2: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

[1] Measuring the Gap between FPGAs and ASICs Ian Kuon and Jonathan Rose The Edward S. Rogers Sr. Department of Electrical and Computer Engineering University of Toronto, 2006

[2] (When) Will FPGAs Kill ASICs? Rajeev, Jayaraman Xilinx Inc. DAC-2001

[3] ASICs Verses FPGAs Frank J. Bartos Control Engineering 6/1/2005

[4] Structured ASICs Dan Lander, Haru Yamamoto, Shane Erickson UCLA - EE 201A Spring 2004

Page 3: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

[5] Signal, Timing Integrity Assured with FPGAs - Technology Information Rich Sevcik Electronic News  July 24, 2000  

[6] Navigating the Silicon Jungle: FPGA or ASIC? Blyler, John Chip Design Magazine June/July 2005

[7] FPGA vs. ASIC Xilinx Inc. Getting Started with Xilinx 2006

[8] Xilinx: Virtex-5 Family Overview Xilinx Inc. datasheet DS100(v4.2) May 7, 2008

Page 4: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Introduction Performance Perspective

◦ Measuring the Gap between FPGAs and ASICs, [1] Cost/Risk/Lifecycle Perspective

◦ (When) Will FPGAs Kill ASICs?, [2]◦ ASICs verses FPGAs, [3]

Summary Future Technology

◦ Structured/Platform ASICs, [4] Conclusion

Page 5: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

ASIC (Application Specific Integrated Circuit)◦ An IC designed for a particular use◦ Standard cell, full-custom ASIC

Applications◦ Processors◦ RAM◦ ROM

Page 6: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Why are we interested?◦ The size of transistors are shrinking to sub-micron

levels

Deep Sub-Micron (DSM) designs have problems

Two main fundamental issues:◦ Signal Integrity◦ Timing Closure

Is an ASIC still the best architecture?

Page 7: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

FPGA (Field Programmable Gate Array)◦ Logic blocks and programmable interconnects◦ Synthesis tools are designed to counter DSM issues

Applications◦ ASIC Prototyping◦ Massive parallelism (code breaking, cryptography)◦ DSP, SDR, medical imaging◦ FFT

Page 8: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Implementation medium: FPGA or ASIC?◦ Based on:

Area Performance Power consumption Cost Time-to-market Design Cycle Complexity of design

How do we measure the gap between FPGAs and ASICs?

Page 9: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

New FPGA vs. ASIC comparison, (Kuon, Rose)

System Architecture:◦ Altera Stratix II (FPGA)◦ STM CMOS090 Design Platform standard cell (ASIC)

Look at previous comparisons: inadequate

Authors took many considerations to ensure most accurate possible comparison

Page 10: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Chose 23 benchmark designs

Implement all benchmarks in both FPGA and ASIC

Compare:◦ Silicon Area◦ Maximum Operating Frequency◦ Power Consumption

Page 11: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Silicon Area Hard DSP blocks significantly

reduce the area gap (40 -> 28)

Memories slightly reduced (40 -> 37)

All components utilized (40 -> 21)

Introduction of heterogeneous blocks are very important in decreasing FPGA area

Page 12: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Speed Hard DSP blocks increase delay?

◦ The multipliers are fixed size, thus will slightly decrease performance, but the additional time comes with extra routing to accommodate for fixed positions of DSPs.

Memories◦ 3.2 -> 2.3, offer speed-up vs. ASIC design,

but slow low power memory is used in the ASIC, and is no real advantage vs. newer memory

Overall, the memory blocks offer the same advantage as the DSP blocks: primary benefit is improved area efficiency

Page 13: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Speed Fastest speed is useful for

understanding the best case solution, but not fair to ASIC.

ASICs are generally designed for worst-case process

As seen the performance gaps are respectively larger, confirming that ASICs perform faster then FPGAs.

2.8 times faster

Page 14: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Power Consumption FPGAs consume 9-to-12 times the

amount of power as an ASIC

Area savings suggest a slight power reduction as less wires & components are used

Introducing DSP and/or memory blocks to the FPGA reduce power consumption

Page 15: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Presented empirical measurements quantifying the gap between FPGAs and ASICs

FPGA design is 21-40 times larger than an standard-cell ASIC design

FPGA is 2.1-4.5 times slower than a standard-cell ASIC design

FPGA consumes 9-12 times more power than ASIC

Page 16: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Clearly ASICs have better performance than FPGAs, though they lack the flexibility

So why are FPGAs even used?

Page 17: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Non-performance factors: Unit costs Non Recurring Engineering (NRE) costs Time to market System reconfigurability Design cycle Volume/Gate Count/Freq/IP requirements

Page 18: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Unit cost analysis◦ ASIC: lower unit costs for high volumes◦ ASIC: design tools tend to cost more

◦ FPGA: No upfront NRE - costs typically associated with an ASIC design

Page 19: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Exploding (NRE) ASIC Cost

High mask costs as process geometry decreases

Page 20: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Time to market

Page 21: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

System reconfigurability

Lack of reconfigurability is a large opportunity cost of ASICs as FPGAs offer flexible design cycle management

Page 22: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Design Cycle

ASIC: very unforgiving (no late changes)FPGA: flexible to allow late design changes

Page 23: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Volume Requirements (Unit cost)

ASICs are cost effective for large volumes (> 250,000)

Page 24: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Gate Count Requirements

FPGAs have limited gate count: 3 million (2000)

Page 25: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Performance Requirements (Speed)

FPGAs can operate up to 200Mhz (2000)Note: 550Mhz Xilinx Virtex-5 (2008)

Page 26: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

IP in FPGAs◦ 1995 – Only gates and routing

◦ 2000 – Multiple I/O standards, clock management, RAM, multipliers, processors

◦ 2008 – Ethernet, GTP/GTX transceivers, microprocessors, 65-nm technology,

DCM, PLLs, 12 routing layers, triple-oxide for reduced power consumption

◦ 20xx – Power down individual sections of FPGAs?

Page 27: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Traditionally, ASICs are used for large projects and FPGAs for smaller projects that need to get to market faster, or can benefit from remote upgrades

Improved FPGA performance, density, and fabrication cost are pushing the ASICs out of the market; as the key remains FPGAs quick time-to-market value

2 years for ASIC, verses 9 months for FPGA

Page 28: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Earlier FPGAs were only viable for prototyping or low-density applications; now they see very high-volume usage in consumer products and other moderate volume high-density applications

Highest-density FPGAs (90 nm) still have a definitive higher unit price than ASICs

However, cost trade-offs often favour FPGAs even with these highest density applications, when development and NRE charges are factored in

David Greenfield, senior director of high-density FPGAs at Altera Corp

Page 29: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Upfront development investment is higher with a cell-based ASIC approach

At high volumes, ROI is significantly better due to smaller die size and lower per unit costs.

FPGAs tend to be a better choice where unit price is less important, or time-to-market, or low initial development cost drives the solution

FPGAs and structured ASICs are suitable for low volume, short lifetime applications where customers can compromise on functionality and performance while still achieving their system objectives

John DiFilippo, silicon architect for TI's ASIC Communications Infrastructure Business Unit

Page 30: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

FPGAs are closing in on ASICs for performance values, even though ASICs are smaller, faster and more efficient at the moment

FPGAs provide cost, time, reconfigurability and flexibility over ASIC designs which make them attractive

Gap is narrowing between the technologies

Page 31: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Structured ASICs Newer term in the industry

Page 32: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

The logic mask layers of a device are predefined by the ASIC vendor

Design differentiation and customization is achieved by creating custom metal layers that create custom connections between predefined lower layer logic elements

Because only a small number of chip layers must be custom-produced, structured ASIC designs have much smaller NRE costs than other ASIC chips, which require that a full mask set be produced for every design

Page 33: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Both manufacturing cycle time and design cycle time are reduced compared to standard cell-based ASIC by:

Pre-defined metal layers Pre-characterization of what is on the silicon Pre-defined power, clock, test structures

Pre-Routed Layer

Pre-Routed Layer

Pre-Routed Layer

Routing Layer

Routing Layer

Page 34: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

FPGA vendors have also designed their own version of the structured ASICs:

Altera (HardCopy)◦ Same design cells as FPGA, but programmable routing

replaced with fixed wire interconnects

Xilinx (EasyPath)◦ “customer specific FPGA”; 30-70% cheaper than

standard FPGA, same standard FPGA cells

Both designs have the programming capabilities removed

Page 35: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Advantages

Mainly used for mid-density designs

High performance (close to standard-cell)

Low power consumption

Less complex (fewer layers to fabricate)

Small time-to-market (pre-defined cell blocks)

Page 36: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Disadvantages Design tools

Expensive

Immature architecture◦ Therefore have not been formally evaluated and

compared; Tradeoffs within the architecture (LUTs, RAM size)

Page 37: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Parameter FPGA* Structured ASIC Standard-cell ASIC

Area 40 10 1

Speed 4.5 1.5 1

Power consumed

12 2 1

Unit costs High Medium Low (high V)

NRE cost Low Medium High

Time-to-market Low Low-Medium High

Reconfigurability Full No No

Market Volume Low-medium Medium High*used worst-case values (from Kuon, Rose)

Structured ASICs have many of the advantages of both FPGAs and standard ASICs

Page 38: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

FPGAs, Structured ASICs and ASICs each have their own advantages and disadvantages

◦ ASICs High costs, high performance Low flexibility Difficult and long design cycle

◦ FPGAs Low cost, low performance Reconfigurable Quick and easy for designers

Page 39: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Do you have any questions?

Project …..

Page 40: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Project Outline: Start with 1-bit ALU design using VHDL (Xilinx) Modify an ALU from a 4-bit to 16-bits Add other capabilities to the ALU (Multiplication, Division) Duplicate the ALU to max capacity of the FPGA The ALUs are connected using different connections:

◦ Bus◦ Point-to-point matrix connection

Comparisons between the two implementations Solve Benchmarks

Page 41: Steve Poret RCS – ENG 6530 June 10, 2008. [1] Measuring the Gap between FPGAs and ASICs  Ian Kuon and Jonathan Rose  The Edward S. Rogers Sr. Department

Project Outline: Start with 1-bit ALU design Re-learn VHDL code Modify an ALU from a 4-bit to 16-bits Add other capabilities to the ALU (Multiplication, Division) Duplicate the ALU to max capacity of the FPGA The ALUs are connected using different connections:

◦ Bus◦ Point-to-point matrix connection

Comparisons between the two implementations Solve Benchmarks