Ariane + NVDLA Seamless Third-Party IP Integration with ESP Davide - - PowerPoint PPT Presentation

ariane nvdla
SMART_READER_LITE
LIVE PREVIEW

Ariane + NVDLA Seamless Third-Party IP Integration with ESP Davide - - PowerPoint PPT Presentation

Ariane + NVDLA Seamless Third-Party IP Integration with ESP Davide Giri Kuan-Lin Chiu Guy Eichler Paolo Mantovani Nandhini Chandramoorthy (IBM Research) CARRV 2020 Luca P. Carloni Motivation SoCs are increasingly heterogeneous [1]


slide-1
SLIDE 1

Ariane + NVDLA

Seamless Third-Party IP Integration with ESP

Davide Giri Kuan-Lin Chiu Guy Eichler Paolo Mantovani Nandhini Chandramoorthy (IBM Research) Luca P. Carloni

CARRV 2020

slide-2
SLIDE 2

Motivation

  • SoCs are increasingly heterogeneous [1]
  • Heterogeneity increases the engineering effort [2]

→ IP reuse enables the design of complex SoCs

  • Thanks to open-source hardware (OSH) movement [3]

→ Proliferation of open-source IPs Seamless third-party IP integration is key!

2

[1] Shao, SLCA’15 [2] Khailani, DAC’18 [3] Gupta, IEEE Computer’17

slide-3
SLIDE 3

In this work

Enhance ESP with support for third-party accelerators

  • ESP is our open-source platform for SoC design [4]

3

[4] ESP: esp.cs.columbia.edu [5] Ariane: github.com/pulp-platform/ariane [6] NVDLA: nvdla.org

Demonstrate integration capabilities of ESP

  • Integration of Ariane [5] and NVDLA [6]
  • Rapid FPGA prototyping

Open-source release as part of ESP

  • Hands-on tutorial: esp.cs.columbia.edu/docs/thirdparty_acc
slide-4
SLIDE 4

ESP P overview

4

slide-5
SLIDE 5

ESP architecture

5

slide-6
SLIDE 6

ESP methodology

6

Accelerator Flow

  • Simplified design
  • Automated integration

SoC Flow

  • Mix&match

floorplanning GUI

  • Rapid FPGA prototyping

Rapid Prototyping SoC Integration HLS Design Flows RTL Design Flows

Vivado HLS Catapult HLS Stratus HLS

Ariane

… …

accelerator

IP Library

accelerator

third-party accelerator

** By lewing@isc.tamu.edu Larry Ewing and The GIMP * By Nvidia Corporation

** *

slide-7
SLIDE 7

ESP methodology: SoC flow

7

** By lewing@isc.tamu.edu Larry Ewing and The GIMP

Rapid Prototyping SoC Integration

Ariane

… …

accelerator

IP Library

accelerator

third-party accelerator

**

slide-8
SLIDE 8

Third-party IP integration with ESP

8

slide-9
SLIDE 9

ESP accelerator tile

9

slide-10
SLIDE 10

third-party accelerator

Third-party RTL and SW files list Accelerator definition (xml) RTL wrapper wiring Makefile targets definition

ESP accelerator flow

automated manual

ESP accelerator

Accelerator skeleton

Test behavior Generate RTL Test RTL Instantiate into SoC

… … …

accelerator accelerator accelerator

Accelerator specific functions

10

slide-11
SLIDE 11

Ariane + NVDLA with ESP

11

slide-12
SLIDE 12

Integration of Ariane

ESP processor tile

  • RISC-V Ariane (new!) or Sparc-v8 Leon3
  • Boot unmodified Linux
  • AXI4 (new!) or AHB bus to access memory
  • APB bus to access peripherals
  • Optional L2 private cache
  • Processor-specific interrupt controller

placed in the I/O tile

12

slide-13
SLIDE 13

NVDLA

NVIDIA Deep Learning Accelerator

  • Open source
  • Fixed function
  • Highly configurable

NVDLA small

  • 8-bit integer precision
  • 64 MAC units
  • 128 KB local memory

13

slide-14
SLIDE 14

SoCs evaluated on FPGA (Xilinx XCVU440)

  • Ariane core
  • 1-4 NVDLA tiles
  • 1-4 memory channels

Evaluation: setup

14

Evaluation networks

slide-15
SLIDE 15

Evaluation: results

15

3.8 4.5 1.3 0.4 1 2 3 4 5 LeNet Convnet SimpleNet ResNet50

frames / second 1 NVDLA

Performance of NVDLA small in ESP @ 50 MHz

1 2.1 3.1 3.9 1 2 3 4 5 1 NVDLA 1 mem ctrl 2 NVDLA 2 mem ctrl 3 NVDLA 3 mem ctrl 4 NVDLA 4 mem ctrl

frames / second (normalized) LeNet

Scaling NVDLA instances and DDR channels @ 50 MHz

18x lower than NVIDIA’s results @ 1GHz

performance preserved

slide-16
SLIDE 16

Thank you from the ESP team!

sld.cs.columbia.edu esp.cs.columbia.edu sld-columbia/esp ColumbiaSld ESP channel

Ariane + NVDLA

Seamless Third-Party IP Integration with ESP

Davide Giri Kuan-lin Chiu Guy Eichler Paolo Mantovani Nandhini Chandramoorthy (IBM) Luca P. Carloni

CARRV 2020