+ All Categories
Home > Documents > Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN...

Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN...

Date post: 15-Jul-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
9
Electrical Engineering – Electronic Systems group Presenter: Kanishkan Vadivel Lab Support: Mohammed Emad Lab3: DNN Implementation on Enbedded ASIP
Transcript
Page 1: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

Electrical Engineering – Electronic Systems group

Presenter: Kanishkan VadivelLab Support: Mohammed Emad

Lab3: DNN Implementation on Enbedded ASIP

Page 2: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

Outline• Introduction to ASIP• Lab3 – Overview• Guidelines for Submission

2

Page 3: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

Motivation for ASIP

ASIP – Application Specific Instruction-set Processor

• Problem

• General Purpose Processor – too slow for some applications, and not energy efficient

• ASIC – Lacks flexibility

• ASIP – Compromise between flexibility and performance

3

Flexibility

Ene

rgy

Effi

cien

cy

ASIC

DSPGPP

Performance/AreaASIP

Page 4: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

ASIP Introduction• Processor tuned for specific application

• Custom Instruction-set, compute nodes, and datapaths

• Compiler support• Example: Transport Triggered Architecture

4

Compute nodes

Datapath

Basband chip(source: Synopsys)

Page 5: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

Goals and Learning Objective• Goal: “Design and implement ASIP on FPGA for LeNet-5”

• Optimize the design (HW and SW) for maximum performance (runtime)

• Synthesis and implement your design on Pynq FPGA board• Learning Objectives

• Practical view point of ASIP design flow

• Trade-offs in ASIP design for DNN (e.g. Performance vs Flexibility)

• Hands-on experience on end-to-end design flow (from high-level software to Accelerator interfaced to SoC)

5

Page 6: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

LeNet - Architecture

6

• Trained with MINST dataset

• Network (C code) and weights are provided as starting point

MINST Dataset

Page 7: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

TTA-based Co-design Environment (TCE)

7

Page 8: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

Submission• Timeline:

• Opens on 1st Oct 2019 (today) – OnCourse

• Deadline: 1st Nov 2019 (23:59)

• Submission: OnCourse (report in pdf format + design files)

• Report format: IEEE double-column (at max 5-pages)• Questions: Use “Q&A Forum” on OnCourse• Grading: Report + Oral exam at end of the course (exact dates will be

communicated later)• Starting point: “Lab3 – Assignment” document in OnCourse

8

Page 9: Lab3: DNN Implementation on Enbedded ASIPheco/courses/IA-5LIL0/IA_lab3_intro.pdf · Lab3: DNN Implementation on Enbedded ASIP. Outline • Introduction to ASIP • Lab3 – Overview

Selecting your Assignment

9

GPU

ASIP

Note: Enrollment Limit is 15 students for both assignment.!

OnCourse


Recommended