+ All Categories
Home > Documents > Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core...

Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core...

Date post: 17-Mar-2020
Category:
Upload: others
View: 10 times
Download: 0 times
Share this document with a friend
46
Design and Test Solutions for Networks-on-Chip Jin-Ho Ahn Hoseo University
Transcript
Page 1: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

Design and Test Solutionsfor Networks-on-Chip

Jin-Ho AhnHoseo University

Page 2: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

2

Topics

• Introduction• NoC Basics• NoC-Related Research Topics • NoC Design Procedure• Case Studies of Real Applications• NoC-Based SoC Testing Issues• Conclusions

Page 3: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

3

SoC: Core of Digital Convergence

Page 4: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

4

SoC Components

• Processing unit• On-chip memory• H/W accelerator• I/O device controllers

(peripherals)• Interconnection structure

S3C2510(Samsung)

Page 5: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

5

Future SoCs

• In 45 nm, up to 10x on a single chipPhilips Viper2

130 nm 50M trans.1 MIPS 2 Trimedia

60 IP blocks 250 RAMs

Page 6: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

6

On-Chip Interconnect Evolution

ASB

core core core core

core core core core

Shared Bus

core core

Bridge corecore core

Hierarchy or Bridged Bus

core core core core

core core core core

Direct/Indirect network

Network Based

AHBAXI

AHBML

(Example) AMBA Case

??

– Complexity– Scalability– Predictability

Page 7: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

7

Wire Design in Sub-100 nm Tech.

•65nm low-power library•very high frequencies or very long links infeasible

Page 8: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

8

Networks-on-Chip• NoC (Networks-on-Chip)

– An evolution of on-chip bus interconnect technology– Interconnection model implemented on a chip in the form of a

micro-network

• Borrow models, techniques, and tools from the computer network design field and apply them to SoC design

Page 9: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

9

NoC Pros and Cons

• Pros– Canonical interconnect

structure– Shared interconnect

bandwidth– Increased flexibility

• Cons– Intra-PE interconnect delay– Overhead due to

interconnects

Page 10: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

10

NoC TopologyR

Mesh

R R R

R R R R

R R R R

R R R R

Butterfly Fat-Tree

R

RR

R

RR

Octagon

R RR

R

RR

R

R

Core

Router

R R

R R

R

R

R

R

R

R

R

R R

R R

R

R

R

R

R

R

H-Tree

Page 11: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

11

NoC-Based SoC

• Typical applications– Complex– Highly heterogeneous (component specialization)– Communication intensive

• Tailor-made interconnects for applications• NoCs are resource constrained:

– Power, area constraints – low buffering available• Large available wire bandwidth

– But tapping it with modular, structured design is key

Page 12: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

12

Design Space for NoC-Based SoC

Page 13: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

13

Category of NoC Platform

• Hard NoC– NoC and IP positions are fixed

• Firm NoC– NoC is pre-designed, but IP positions can

be changed • Soft NoC

– NoC components and IP positions can be changed

Page 14: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

14

Topology Synthesis

• From multi-computer networks

• Designed for general-purpose and homogenous systems

Regular-Topology NoC

Page 15: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

15

Topology Synthesis• Application-Specific NoC• Customized NoC for

each application– ASNoC brings significant

performance improvements

• For both homogenous and heterogeneous systems

Irregular-Topology NoC

Page 16: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

16

Regular-Topology NoC Synthesis

• Example: XPipe

Page 17: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

17

Other NoC Synthesis

• Irregular and hybrid-Topology NoC– can produce optimal topology at a given application – difficult to develop EDA tools – heuristic approaches are required

Page 18: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

18

Design of NoC Components

• Router– Network Interface– Switching fabric– Buffering scheme– Flow control– Arbitration

Page 19: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

19

Design Issues of NoC Components

• NoC channel width• NoC channel structure

– (Ex) Serial and Parallel• NoC router buffer size

– Buffer is critical to decide the overall NoC size– Needs an efficient traffic modeling

• NoC floorplaning– maximize the performance and reduce coupling

effect

Page 20: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

20

NoC Communication Protocol

• Major objective function– minimal routing path – congestion avoidance – deadlock or livelock– uniform power consumption – fault tolerant

ApplicationLayer

NetworkLayer

PhysicalLayer

Router

Page 21: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

21

Criterion for NoC Routing Policy

Page 22: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

22

General NoC Design FlowSystem Level Modeling

NoC Model

NoC Parameters

Performance and PowerEstimation

Mapping and Scheduling

Application Model

Design Objective

Objective is satisfied ?N Y

RTL Generation

HW/SW Co-Sim.

Verified?

Synthesis andFormal Verification

Verified?

Emulation andLayout

Verified?

To Fab.

N

Y

Y

N

N

Y

Page 23: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

23

NoC Scheduling and Mapping

NoC Characteristics

Task Scheduling

Task and PE mapping to NoC Model

TargetObjective Feasible ?

Application Model

Satisfied ?

NoC Model • Application mapping– Assign embedded cores

to the given NoC model

• Key of the overall performance

• For simplification, mapping and scheduling process are separated

• Mapping constraints– avg. hop number– power consumption– etc...

Page 24: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

24

Re-mapping for Flexible NoC

Page 25: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

25

SunFloor NoC Design Flow

Page 26: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

26

Æthereal NoCDesign Flow

Page 27: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

27

NoC Research Projects

• Nostrum at KTH• Æthereal at Philips• Proteo at Tampere University of Technology• SPIN at UPMC/LIP6 in Paris• XPipes at Bologna and Stanford Univ.• Octagon at ST and UC San Diego• SoCIN at UNIVALI and UFRGS• CHAIN at the Univ. of Manchester• MANGO at the Tech. Univ. of Denmark

Page 28: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

28

Case Studies of Real Applications

• H.264 HDTV decoder system-on-chip• High-end consumer-electronics TV system-on-chip• KAIST Bone series

Page 29: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

29

H.264 HDTV Decoder SoC• Candidate for HDTV broadcast• High compression rate: 2X of MPEG2• High definition: 2 million pixel/frame

Page 30: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

30

H.264 HDTV Decoder SoC• ASNoC has two local networks• RAW is implemented based on its design documentation• Positions of computation nodes are optimized• The same group of computation nodes• Different communication architectures• ASNoC has less switches and links

ASNoCRAW

Page 31: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

31

H.264 HDTV Decoder SoC

Page 32: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

32

High-End Consumer-ElectronicsTV SoC• The main TV chip, companion chip, and external

memories.

Page 33: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

33

High-End Consumer-ElectronicsTV SoC

• Architecture of companion chip with NoC

Page 34: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

34

High-End Consumer-ElectronicsTV SoC

• 100MHz in a 0.13um tech.• IP: 100MHz, NoC: 300MHz(1.2Gbit/sec)• Area overhead: 4%• Power overhead: 12%• Latency overhead : 10%• Simulation overhead : 15 ~ 60%• Design time: 12 months by 2 designers

Page 35: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

35

KAIST BONE Series• BONE(Basic On-Chip Networks) Project

– launched in 2002 at KAIST– covers circuit-level design, architectural researches and system

integration on an NoC platform (http://ssl.kaist.ac.kr/ocn/)

Page 36: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

36

NoC-Based SoC Testing Issues

under investigation(standard-compliant wrapper design)

Wrapper Design

NoC reuseTAM Design

under investigation(mainly related to integrated test

scheduling)Test Strategy

NoC reuseTAM Design

standardized wrapper definition Wrapper Design

Functional Core Testing

Test Strategy

Category

open problemIntegrated System Testing

under investigation(related to testing with multiple identical

cores or distributed BIST scheme for multiple FIFOs)

NoCCommunication Fabric Testing

StatusIssue

Page 37: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

37

Generic Procedure

NI NI NI NI NI

P MP P M

R R R

R RNI

NI NI NI

M P M

NI NI NI NI NI

P MP P M

R R R

R RNI

NI NI NI

M P M

NoC Testing Core Testing

Page 38: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

38

NoC Testing

• Testing target– router(=switch) blocks– comm. wire segments

• Fault model– comm. link: max. aggressor fault(MAF)– switch

• routing logic: SAF• routing FIFO: 2-port memory

– mem. cell array: SAF, TF, DRF, BF– addressing fault: SAF– other functionality faults

Page 39: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

39

Packet-Based Test Data Transport

• Unicast mode• Multicasting mode• Broadcasting mode

Page 40: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

40

Problems of Data Transport

• Unicast mode– High latency, Long test time

• Multicasting mode– High traffic load, High power consumption

• Broadcasting mode– High traffic load, High power consumption– Needs a list of all sending packets to avoid loops

Page 41: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

41

NoC Router Testing• Routing logic

– small F/F and gates: full-scan– uses multiple identical core testing approaches

Page 42: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

42

NoC Router Testing• Routing buffer

– main problem for the router testability– normal BIST is not suitable: small buffers are spread over NoC– NoC buffer: 2-port memory type

Page 43: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

43

NoC Wrapper Design

• IEEE 1500 standard wrapper assumes that– TAM wires connected to a core can be assigned individually– wrapper control signals can be controlled individually by an

external ATE

• Thus, standard wrapper is unsuitable for NoC test reusing NoC as TAM

Page 44: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

44

NoC Wrapper Example (1)

A single test wrapper for the whole NoC

Page 45: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

45

NoC Wrapper Example (2)

Page 46: Design and Test Solutions for Networks-on-ChipBE%C8%C1%F8%C8%A3.pdf · ASB core core core core core core core core Shared Bus core core core Bridge core core Hierarchy or Bridged

46

Conclusions• Present

– Interconnect now dominates the design process– Interconnect-aware design methodologies are needed

• NoC era is coming– NoC is here and important for on-chip global data transfer

• Designing NoCs– Huge design space– Demonstrate good potential

• Application-specific networks can pay off in performance/energy– But, take more time to design

• Efficient NoC-based SoC test is important in real cases– NoC-based TAM is a prerequisite


Recommended