23
RISC-V: Opportunities and Challenges in SoCs Greg Wright Sr Director, Engineering Qualcomm Technologies, Inc. @qualcomm December 5, 2018 Santa Clara, CA

RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

RISC-V: Opportunities and Challenges in SoCsGreg Wright

Sr Director, Engineering

Qualcomm Technologies, Inc.

@qualcommDecember 5, 2018 Santa Clara, CA

Page 2: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

2

Introductions

• Who am I?

• Why am I here?

Page 3: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

3

Quick tour of an SoC

Greg Wright - RISC-V Summit December 2018

Page 4: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

4

Quick tour of an SoC

Greg Wright - RISC-V Summit December 2018

GPU Video Camera Audio GPS

Secure

coreLTE

modem

Wifi PCIePower

mgmt

Sensors

DDR

Power-optimized CPU cluster

Perf-optimized CPU cluster

Crypto

Interconnect

Page 5: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

5

Complex system

• Multiple ISAs and software stacks

• Multiple roots of trust

• Multiple power domains

• Multiple product tiers and configurations

• Multiple development cycles across different components

Greg Wright - RISC-V Summit December 2018

Page 6: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

6

All across the spectrumScale of CPUs

Greg Wright - RISC-V Summit December 2018

Tiny microcontroller

Application processor

Embedded core

DSP

GPU

Minimal area, power Known functionality &

Perf/power requirements

Specialized application processing

Some third party code

General purpose

Page 7: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

7

Power envelope

Greg Wright - RISC-V Summit December 2018

“Always on” ≈2 W

Page 8: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

8

ISA & microarchitecture

Greg Wright - RISC-V Summit December 2018

Single-issue

in-order RISC

Wideout-of-order

RISC + SIMD

VLIW DSP

Multithreaded GPU

Vector

Other customization

Page 9: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

9

Software stack complexityLines of code – order of magnitude

Greg Wright - RISC-V Summit December 2018

80 million*100s

* Not including 3rd party applications

Page 10: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

10

ISA features and extensions

Greg Wright - RISC-V Summit December 2018

High-level features

Multi-vendor standard

3rd party ecosystemMinimal

Customized for

• Signal processing

• Image processing

• Security

• Machine learning

• …

At least 6 different ISAs in use today in a single SoC

Page 11: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

11

RISC-V: The opportunityThe power of freedom and open community

Greg Wright - RISC-V Summit December 2018

Customization

+Harmonization

Mix-and-match extensions

Domain-specific features

Proprietary extensions (“secret sauce”)

Spectrum of implementations (freedom to build)

Common base

Shared toolchains, infrastructure, libraries

Rich software ecosystem

Page 12: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

12

What is ISA?Two views

Greg Wright - RISC-V Summit December 2018

Software

Hardware

Interface “Contract”Software Team

Hardware Team

Page 13: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

13

In practice

Greg Wright - RISC-V Summit December 2018

Time

Software

Interface

Hardware

Page 14: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

14

What is ISA?

Instruction Set Architecture, noun

My definition

Greg Wright - RISC-V Summit December 2018

The art of turning a hardware problem

into a software problem

Page 15: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

15Greg Wright - RISC-V Summit December 2018

“Contract”

Software Ecosystem

Hardware

Developers

Design

Points

Solutions

Means to an end

Page 16: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

16Greg Wright - RISC-V Summit December 2018

“Multiple

Contracts” ?

Software Ecosystem

Changing over time?Hardware

Developers

Design

Points

Page 17: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

17

RISC-V: The opportunityThe power of freedom and open community

Greg Wright - RISC-V Summit December 2018

Customization

+Harmonization

Mix-and-match extensions

Domain-specific features

Proprietary extensions (“secret sauce”)

Spectrum of implementations (freedom to build)

Common base

Shared toolchains, infrastructure, libraries

Rich software ecosystem

Tension

Page 18: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

18

Core spectrum revisited

Greg Wright - RISC-V Summit December 2018

Tiny microcontroller

Application processor

Embedded core

DSP

Minimize architectural tension

Common toolchains, debug infrastructure, libraries

Third party software ecosystem

Security, Virtualization

Page 19: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

19

RISC-V: The opportunity

•Great potential

◦ Common base + ability to specialize where necessary

◦ Enthusiastic community

•Opportunity to rationalize and simplify complex SoC design

◦ Enable new features and capabilities

Greg Wright - RISC-V Summit December 2018

Page 20: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

20

RISC-V: Some challenges

• Success = Attractive platform for solving problems

◦ Software portability• Feature discoverability, not a unique software build per target

◦ Interface stability vs evolution

◦ Balancing hardware vs software needs

• Fragmentation is the enemy

◦ Avoid a labyrinth of options, configurations, platforms• => Software and hardware test nightmare

◦ Complex software needs standardization and stability

◦ Good standards support a range of implementations and future evolution

Greg Wright - RISC-V Summit December 2018

Page 21: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

21

Appeal to the community

• Come together, participate and standardize!

◦ Bring experience & expertise => build the future on lessons of the past

• Lower-end and (future) high-end cores need to play nicely in a complex SoC environment:

◦ Security

◦ Virtualization

◦ Memory models

◦ Cache & TLB management

◦ Power management

◦ Interrupt delivery

◦ Coexistence with current solutions (bus protocols, etc.)

• Great potential – let’s make this happen!

Greg Wright - RISC-V Summit December 2018

Common platform

= reusable software

= growing ecosystem

Page 22: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

22

An announcement

Qualcomm Technologies, Inc., will be

shipping RISC-V in a high volume

product in 2019

Greg Wright - RISC-V Summit December 2018

Page 23: RISC-V: Opportunities and Challenges in SoCs · 11/12/2018  · 21 Appeal to the community •Come together, participate and standardize! Bring experience & expertise => build the

Follow us on:

For more information, visit us at:

www.qualcomm.com & www.qualcomm.com/blog

Thank you!

Nothing in these materials is an offer to sell any of the

components or devices referenced herein.

©2018 Qualcomm Technologies, Inc. and/or its affiliated

companies. All Rights Reserved.

Qualcomm is a trademark of Qualcomm Incorporated,

registered in the United States and other countries. Other

products and brand names may be trademarks or registered

trademarks of their respective owners.

References in this presentation to “Qualcomm” may mean Qualcomm

Incorporated, Qualcomm Technologies, Inc., and/or other subsidiaries

or business units within the Qualcomm corporate structure, as

applicable. Qualcomm Incorporated includes Qualcomm’s licensing

business, QTL, and the vast majority of its patent portfolio. Qualcomm

Technologies, Inc., a wholly-owned subsidiary of Qualcomm

Incorporated, operates, along with its subsidiaries, substantially all of

Qualcomm’s engineering, research and development functions, and

substantially all of its product and services businesses, including its

semiconductor business, QCT.