24
Technion – Israel Institute of Technology Qualcomm Corp. Research and Development, San Diego, California Leveraging Application-Level Requirements in the Design of a NoC for a 4G SoC – a Case Study Rudy Beraha, Isask’har (Zigi) Walter, Israel Cidon, Avinoam Kolodny March, 2010

Leveraging Application-Level Requirements in the Design of a NoC for a 4G SoC – a Case Study

  • Upload
    sereno

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

Leveraging Application-Level Requirements in the Design of a NoC for a 4G SoC – a Case Study. Technion – Israel Institute of Technology Qualcomm Corp. Research and Development, San Diego, California. Rudy Beraha , Isask’har ( Zigi ) Walter, Israel Cidon , Avinoam Kolodny. March, 2010. - PowerPoint PPT Presentation

Citation preview

Page 1: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

Technion – Israel Institute of TechnologyQualcomm Corp. Research and Development, San Diego, California

Leveraging Application-Level Requirements in the Design of a NoC for a 4G SoC –

a Case Study

Rudy Beraha, Isask’har (Zigi) Walter, Israel Cidon, Avinoam Kolodny

March, 2010

Page 2: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

2

Network on-Chip (NoC) Introduction Design Process

NoC Design A Case Study

Outline

Page 3: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

Why Network on-Chip? Buses scale badly

- Power, area, performance- Testability, verification, timing closure, …

Networks are replacing system busesLow areaLow powerBetter scalability

Higher parallelismSpatial reuseUnicast

3

Page 4: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

Grid topology Packet-switched XY Routing Wormhole flow-control

NoC Architecture Basics

Module

Module

Module

Module

Module

Module

Module

Module

Module

Module

ModuleModule Module Module Module

ModuleModule Module Module Module

ModuleModule Module Module Module

R

R

R

R

R R

R

R

R

RR R R R

RR R R R

RR R R R

R

Router Link

4

Page 5: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

Module

Module

Module

Module

Module

Module

Module

Module

Module Module Module

Module

Module

ModuleModule

Module

Module

NoC Design Flow

Map modules

Allocate link capacities

Evaluate QoS and cost

R

R

R R R

R

RR R R R

R RR

R

R

R

R

R

RR

R

R

R

R

R

R

R R

R R

R

R

R

R

R

RR

R

Rinter-module traffic

Synthesize+P&R

5

Page 6: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

Module

Module

Module

Module

Module

Module

Module

Module

Module Module Module

Module

Module

Module

R

R

R R R

R

RR R R R

R R

R

R

R

R

Module

NoC Design Flow

ModuleModule

Module

Module

Module

Module

Module

Module

Module Module Module

ModuleModule

Module

R

R

R R R

R

RR R R R

R R

R

R

R

R

Module

Map modules

Allocate link capacities

Evaluate QoS and cost

inter-module traffic

Synthesize+P&R

Goal: Design a NoC for a 4G

SoC Study design

alternatives 6

Page 7: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

7

Typical modeling Latency and dynamic power

proportional to distance Dynamic power consumed by the

NoC:

Why is Mapping Important?

1 ,

( ) ( , )l i jl L i j N

Cost P BW b Dist i j

Cost of mapping π

Page 8: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

8

Example

1 ,

( ) ( , )l i jl L i j N

Cost P BW b Dist i j

2( ) 30 2 100 2 260Cost

PE1 PE2

PE4 PE5

PE3

PE6

1 2 6 4 3( ) 30 ( ) 100 ( )Cost Dist PE PE Dist PE PE

100

30

1 2 6 2 6 4 3 4 3( ) ( ) ( ) ( ) ( )Cost bw PE PE Dist PE PE bw PE PE bw PE PE

1( ) 30 2 100 3 360Cost

Mapping π1

Mapping π2

Page 9: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

9

Network on-Chip (NoC) NoC Design – a Case Study

Mapping Link capacity allocation Results

Outline

Page 10: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

10

Approached by Qualcomm R&D Got a real, 4G Modem SoC design to

analyze! Very few NoCs for real systems are described in the

literature

A Case Study…

Page 11: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

11

Challenge: a Bus-Based 4G SoC

34 Modules, ~100 flows 2 AXI buses Several modes of operation (Data, voice,

data+voice, etc.)

Page 12: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

12

Given: Traffic pattern

Optimize: Mapping Link capacities

Synthesize+place&route

Design Flow

Step AStep B

Page 13: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

13

Traditional P2P traffic requirements

Input Data – Traffic PatternBandwidth demands [Mb/s] Point-to-point timing requirements

[nSec]

'R' is for read operations, 'W' is for write operations

Page 14: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

14

Minimize power subject to performance constraints

Captures dynamic power and area (static power)

Mapping Optimization - Goal

router ll links

Cost AREA BW

Static power Dynamic power

Page 15: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

15

Scheme 1: Ignore timing requirements Account for them in subsequent design

phases Scheme 2: Use P2P timing requirements

Discard solutions that violate any requirement

Scheme 3: Use application-level requirements

Mapping Alternatives

New!

Latency Dst SrcT1 CPU IO

T2 DSP CPU

T3 MEM DSP

Latency Dst SrcT1+ T2+ T3 MEM IO

IO CPU MEMDSP

Page 16: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

16

Assumption: latency hop distance NP-hard

Use heuristic algorithm Simulated annealing

Solving the Mapping Problem

Power optimized Power and point-to-pointtiming requirements

Power and end-to-endtiming requirements

Scheme 1

Scheme 2

Scheme 3

Page 17: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

17

Find minimal “NoC capacity” such that all timing requirements are met

Account for run-time effects finite router queues, backpressure mechanism,

virtual channel multiplexing, network contention, etc.

Too much capacity: waste of resources Too little capacity: insufficient

performance

Step 2: Setting Link Capacities

_ ll links

NoC Capacity C

Page 18: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

18

IP1

Inte

rface

IP2Interface

More difficult than off-chip networks

Cannot set link capacity independently

Link Capacity and Wormhole

Page 19: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

19

Scheme 1: Uniform link capacity Simulation based

Scheme 2: Individually tuned, heuristic-based Simulation based

Capacity Allocation Alternatives

Result: 12 NoCs to compare(3 mappings)*(2 allocation schemes)*(2 VC configurations)

Page 20: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

20

Network on-Chip (NoC) NoC Design – a Case Study

Mapping Link capacity allocation Results

Outline

Page 21: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

21

Using E2E requirements during the design process reduces the total capacity Both for uniform and non-uniform link capacity allocation

Results: Total NoC Capacity

0

500

1000

1500

2000

2500

3000

Power-only Power+P2P latency Power+ETE latency

Gbp

s

Uniform (1VC)Uniform (2VC)Tuned (1VC)Tuned (2VC)

Total Capacity Requirements [Gbps]

Scheme 3(Power+ETE Latency)

Scheme 2(Power+P2P Latency)

Scheme 1(Power only)

Page 22: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

22

Synthesis Results

Up to 49% savings

!Up to 40% savings

!

Scheme 1 Scheme 2 Scheme 3 Scheme 1 Scheme 2 Scheme 3

Total router area Total wiring area

Mapping scheme 1: Ignore timing requirements during mapping

Mapping scheme 2: map using P2P timing requirements Mapping scheme 3: map using application-level

requirements

Page 23: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

23

Evaluated the benefit of mapping using application-level requirements Rather than P2P constraints

Using two link capacity allocation schemes

Real application Meaningful savings

To do Analyze place&route results Compare to a bus-based implementation

Conclusions and Future Work

Page 24: Leveraging Application-Level Requirements in the Design of a  NoC  for a 4G  SoC  – a Case Study

24

Thank you!

Questions?

[email protected]

Leveraging Application-Level Requirements in the Design of a NoC

Module

Modu le M odule

M odu le M odu le

M odu le M odu le

Modu le

Module

Modu le

M odu le

M odu le

QNoCResearch

GroupGroup

ResearchQNoC