18
RISC-V: Enabling Innovation in Embedded and Enterprise Data- Centric Computing Architectures Zvonimir Z. Bandic, Sr. Director, Research, Western Digital Corporation

RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

RISC-V: Enabling Innovation in Embedded and Enterprise Data-Centric Computing Architectures

Zvonimir Z. Bandic, Sr. Director, Research,Western Digital Corporation

Page 2: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

2©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Forward-Looking StatementsSafe Harbor | Disclaimers

This presentation contains certain forward-looking statements that involve risks and uncertainties, including, but not

limited to, statements regarding: the RISC-V Foundation and its initiatives; our contributions to and investments in

the RISC-V ecosystem; the transition of our devices, platforms and systems to RISC-V architectures; shipments of

RISC-V processor cores; our business strategy, growth opportunities and technology development efforts; market

trends and data growth and its drivers. Forward-looking statements should not be read as a guarantee of future

performance or results, and will not necessarily be accurate indications of the times at, or by, which such

performance or results will be achieved, if at all. Forward-looking statements are subject to risks and uncertainties

that could cause actual performance or results to differ materially from those expressed in or suggested by the

forward-looking statements.

Additional key risks and uncertainties include the impact of continued uncertainty and volatility in global economic

conditions; actions by competitors; business conditions; growth in our markets; and pricing trends and fluctuations in

average selling prices. More information about the other risks and uncertainties that could affect our business are

listed in our filings with the Securities and Exchange Commission (the “SEC”) and available on the SEC’s website at

www.sec.gov, including our most recently filed periodic report, to which your attention is directed. We do not

undertake any obligation to publicly update or revise any forward-looking statement, whether as a result of new

information, future developments or otherwise, except as otherwise required by law.

Page 3: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

3©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Diverse and Connected Data TypesTight coupling between Big Data and Fast Data

Fast Data

Performance

Big Data

Scale

Mobility

Real-timeResults

SmartMachines

Insight

Prediction

Prescription

BatchAnalytics

StreamingAnalytics

ArtificialIntelligence

MachineLearning

DataAggregation

Modeling

Page 4: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

4©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

BigData

Fast Data

From General Purpose to Purpose BuiltArchitectures designed for Big Data, Fast Data applications

General purposecompute-centric architecture

Expanding applications and workloads

Devices

Platforms

Systems

Solutions

Page 5: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

5©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

• Simple

– Far smaller than other commercial ISAs

• Clean-slate design

– Clear separation between user and privileged ISA

– Avoids µarchitecture or technology-dependent features

• A modular ISA designed for extensibility/specialization

– Small standard base ISA, with multiple standard extensions

– Sparse and variable-length instruction encoding for vast opcode space

• Stable

– Base and standard extensions are frozen

– Additions via optional extensions, not new versions

• Community designed

– Developed with leading industry/academic experts and software developers

What’s Different about RISC-V?

Page 6: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

6©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

• IoT key requirements:– Performance:

• Tuned for the applications, typically by moving SW/HW boundary and adding custom accelerator appropriate for the workload

– Power:

• Scalable architecture for performance vs. power compromise

• Some IoT applications may require implementation area <0.05 mm^2 and few mW

– Freedom to implement custom accelerators for specific workload

RISC-V for IoT/Embedded

Page 7: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

7©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

• Challenges with closed architectures:– Fixed set of cores offered to customers:

• Does not cover all power/performance scenarios; often has unnecessary IP (do you really need double precision IEEE754 FPU in the refrigerator IoT device)

– Does not cover all accelerators needed:

• Leakage of use cases and solutions to IP vendors

– Not having right accelerators for all markets – rapidly evolving use cases

RISC-V for IoT/Embedded

Page 8: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

8©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

• Key requirements:√ Improve performance

√ Reduce power

√ Enable tightly coupled memories

√ Open source software support

√ Implement internal system bus

√ Enable adding proprietary and future standard instructions

Not all cores will be in-house – some may be open-source, some internal will be open-source, some may be licensed:

but all with adhere to the same RISC-V specification, guaranteeing

COMMON Software ToolChain!

Western Digital: Key Requirements

Page 9: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

9©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Western Digital RISC-V Core

• First Western Digital RISC-V core

• 2-way, superscalar, mostly in-order core with 9 stages pipeline:– Support for RV32IMC

– 1 Load/Store pipe

– 1 MLY

– 1 DIV

– 4 ALU engines

• Performance targets @ 28nm:– Dhrystone >2 MIPS/MHz

– Coremark > 4 CM/MHz

– 1 GHz operation

• Core part was fun, uncore was all the work

RV32IMC

PIC

Debug

Power Mgmt

Write Buffer

I$ D$

Bus Interface Unit

Page 10: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

10©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Performance CoreMark/MHz

0

1

2

3

4

5

6

Intel Xeon E5(Ivy)

WD Core ARM CortexA15

BOOM-4w BOOM-2w ARM CortexA9

MIPS 74K ARM CortexA8

Rocket(RV64G)

ARM CortexA5

• WD Core is currently at 4.9 CoreMark/MHz, ahead of all RISC-V cores, including many industry and academia out of order implementations:– Additional performance gains are possible with compiler optimizations

– Multi-threaded/multi-core results are always renormalized to a single execution context

CoreMark data from C.Celio, D.Patterson, K.Asanovic,https://www2.eecs.berkeley.edu/Pubs/TechRpts/2015/EECS-2015-167.pdf

Page 11: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

11©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

• Multi-purpose SoC for consumer SSD applications

• First RISC-V based SoC for NAND controller applications

• Advantages:– Full advantage of open source

software ecosystem for RISC-V

– Instruction optimization for NAND media handling

– Freedom of power and performance optimization for end application

NAND Controller SoC

Hostsubsystem

Error Correction (ECC)Engine

PHYI/F

Main CPU Datapath CPU

NANDChannels

NANDChannels

to NAND

Page 12: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

12©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

RISC-V and Interface Control Points

• RISC-V in embedded:– Free and open IP connectivity buses enabling plug and play of proprietary and open source IPs

• RISC-V in enterprise:– Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms

essential for AI workloads

Open source IPs

Open buses

Embedded Enterprise

CPU cores

CPU uncore

CPU CPU CPU GP-GPUASIC orFPGA

Smart & FastPeripheral Bus

DRAM

DDR I/F

Persistentmemory

NVM I/F

NIC

SSD

Asic(Inference)

PersistentMemory

Asic(Inference)

………

Cohere

ncy b

us

……………………

Share

d p

ers

iste

nt

mem

ory

CPU

ASIC

Page 13: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

13©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Design Logic Synthesis

Place and Route

Hardware Implementation

Hardware Design Lifecycle

HDL

Netlist (i.e., list of electronic

components and connections)

Bitstream FPGA

GDSII ASIC

Gerber PCB

Open Source Software Licenses

Open Source Hardware Licenses

Legal protections with copyrights, mask works and patents

Page 14: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

14©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Permissive vs CopyleftLicenses define the potential community

• Harder obligations

- Source code sharing

- No DRM

- Less corporate adoption

• Disallows proprietary silos

• May be incompatible with other components

• Easier obligations

- Attribution

- More corporate adoption

• Allows for proprietary silos

PermissiveLicense

Goal: Broad use

of code

Copyleft License

Goal: Reciprocity

©2018 Western Digital Corporation or its affiliates. All rights reserved.

Page 15: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

15©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive 15

RISC-V Meets Big Data and Fast Data Needs

FastData

BigData

Genomics

PredictiveAnalytics

AutonomousMachines

Safety& Security

PrivateExchange

MachineLearning

Page 16: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

16©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive 16

Western Digital ships in excess of

1 Billion cores per year

…and we expect to double that.

Driving Momentum

16©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Page 17: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

17©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Accelerating the RISC-V EcosystemWestern Digital to contribute one billion cores annually to fuel RISC-V

1

2

3

4

Support development of open source IP building blocks for the community

Actively partner and invest in the ecosystem

Accelerate development of purpose-built processors for a broad range of Big Data and Fast Data environments

Multi-year transition of Western Digital devices, platforms and systems to RISC-V purpose-built architectures

Page 18: RISC-V: Enabling Innovation in Embedded and Enterprise ... · –Datacenter CPUs with smart, fast and open peripherals buses enable new compute paradigms essential for AI workloads

18©2018 Western Digital Corporation or its affiliates. All rights reserved. #LetDataThrive

Acknowledgements

Robert Golla & CPU design team

Kalpesh Mehta

Pradeep Elamanchili

Raghu Valetti