IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

107
IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Transcript of IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Page 1: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

12 October 2001Sungjoo YooISRC, Seoul Nat’l Univ.

Page 2: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Outline

Design productivity gap and design reuse IP-based design

Interface-based design

Platform-based design Function-architecture co-design

Practical issues in IP/Platform-based design

Summary

Page 3: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Design Productivity Gap

Page 4: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

How to Increase Design Productivity?

(1)Reuse What to reuse? How to reuse? IPs (Intellectual Properties) IP-

based design Previous system design (or

architecture), platform platform-based design

Page 5: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

How to Increase Design Productivity?

(2) Design at higher levels of abstraction E.g. 200 lines/man-day

code size: C > assembly

Abstraction levels higher than C code level. SPW, COSSAP, etc. SDL, CORBA, etc.

(3) Combine reuse and high-level design Currently, function-architecture co-

design

Page 6: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Design Methodology Evolution

Page 7: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Basic strategy SoC design by assembling IP cores.

Page 8: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Virtual Component (VC) = IP

Page 9: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

VC Interface VC Interface at RT level (VCI).

To reuse RTL IP’s

System-level interface (SLIF) To reuse behavioral IP’s

Page 10: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

VC integration with on-chip bus (OCB)

Page 11: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Bus wrapper

Page 12: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Example of VCI transactions

Page 13: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

VCI Options

Page 14: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design w/ behavioral IP

System Level Interface (SLIF)

Page 15: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

VC example

Page 16: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

VC internal behavior

Page 17: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Layering of VC refinement

Page 18: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Page 19: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Page 20: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP-based Design

Integration of VC’s with OCB. IP w/ VCI VC w/ VCI + bus wrapper OCB

Incremental refinement of VC interface Behavioral IP SLIF OCB protocol w/ the behavior

unchanged. IP-based design

Formally, interface-based design

Page 21: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Interface-based Design

Separation between behavior and communication

Page 22: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Interface-based Design

Separation between behavior and communication It enables IP reuse. Each one can be refined separately.

Behavior refinementCommunication refinement

Design Automation Conf.’97 paper James A. Rowson (Cadence) and Alberto

Sangiovanni-Vincentelli (Berkeley).

Page 23: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Communication in Interface-based Design

sender receiver

master slave

substitution

repartition

Page 24: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Incremental Communication Refinement

Page 25: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Checkpoint:IP-based Design

Separation between behavior and communication

It works in incremental communication refinement.

It includes SW IP’s as well as HW ones. To be explained later in function-architecture

co-design.

Bottom-up approach SoC design by assembling IP cores.

Page 26: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Evolution to Platform-based Design

A Problem of Bottom-Up IP Integration How can the designer find the optimal

system architecture? Can we re-use our design experience

at a higher level than IP level? Reuse of previous designs in a similar

application domain. Platform-based design.

Page 27: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Platform-based Design

Platform Common hardware/software

denominator that could be shared across multiple applications in a given application domain.

E.g. Derivative design of Qualcomm CDMA mobile station modems (MSM’s)

MSM3000 MSM3100 MSM3100 MSM5100

Page 28: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Derivative Design of Qualcomm CDMA Chips

MSM3000, 3100, 5100, … Added functionality and interfaces Base functionality and interfaces

Platform of MSM3000 series

Note Platform consists of software parts as

well as hardware ones.

Page 29: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

MSM3000

Page 30: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

MSM3100

Page 31: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Derivative Design Example

Page 32: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Derivative Design Example 1 MSM3000 -> 3100

Page 33: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Derivative MSM Design

Functional viewpoint MSM3000 3100

+ PLL, USB, PM (ADC, Vtg reg.) RF i/f, Vocoder (QCELP EVRC), Codec

(chip in)

Page 34: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Derivative Design Example 2 MSM3100 -> 5100

Page 35: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Summary of Case Study: Derivative MSM Design

Functional viewpoint MSM3000 3100

+ PLL, USB, PM (ADC, Vtg reg.) RF i/f, Vocoder (QCELP EVRC), Codec (chip in)

MSM3100 5100 + gpsOne processor, Bluetooth baseband processor,

MMC, R-UIM controllers, MP3, MIDI Vocoder DSP (QDSP2000)

Platform-based design in functional viewpoint Common functionality + added/modified

functionality Architectural viewpoint?

Page 36: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Levels of Platform-based Design

Architectural viewpoint Fixed platform at layout or RTL Parameterized platform A family of parameterized platforms

Function/architecture codesign

Page 37: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Fixed Platform[p. 113, Surviving the SoC Revolution]

Page 38: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Fixed Platform at Layout

HW Kernel [p. 148, 156 Surviving the SoC …]

Page 39: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Parameterized Platform

UCI, digital camera platform

D$, I$ parameterssize, line, assoc

Bus parameterswidth, BI coding

DCT parametersprecisions

Page 40: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function-Architecture Co-design

SoC platforms A family of parameterized platforms

High abstraction level design SW-centric SoC design Top-down flow in platform-based design

A key design step Mapping functions to SoC platform W/ different HW/SW, communication mapping

Thus, it is named Function-Architecture Co-design

Page 41: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function-Architecture Co-design Flow

Function Architecture

Mapping Local optimizationCom. network design

Evaluation

HW/SW implementation

Cosimulation/emulation

AlgorithmArch.-indep opt.

Arch. dev.

Page 42: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Three Commercial Approaches

Cadence VCC Coware N2C Synopsys CoCentric

Page 43: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function-Architecture Co-design: Cadence Approach

Page 44: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function

Page 45: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Architecture

Page 46: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function to Architecture Mapping

Page 47: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Mapping to HW and SW

Page 48: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Mapping Function to SW

Page 49: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Mapping Function to HW

Page 50: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function-Architecture Co-design: Cadence Approach

Page 51: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Architecture Exploration w/ Different Architectures

Page 52: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function-Architecture Co-design: Cadence Approach

Page 53: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Incremental Refinement of Function/Architecture

Page 54: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Three Ways to Performance Estimation

Limit the estimation to the runtime Applicable to other design metrics, e.g. power

Depending on where the function is mapped Processor and micro-controller

Addition of assembly instruction delays Usage of virtual instruction set

DSP Estimation of kernel function delays

ASIC With measurement or simulation models

Page 55: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Using Virtual Instruction Set in SW Performance Estimation

Page 56: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Usage of Virtual Instruction Set (VIS)

Constructing the delay table From the datasheet Run benchmark programs on actual processor

and measure Run benchmark programs on cycle-accurate

instruction set simulators Solve a set of linear equations

Compile the function code (e.g. in C) to the VIS.

Delay calculation by adding the delays of virtual instructions.

Page 57: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

White Box Model

Page 58: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Characterization of SW Execution Time for DSPs

Two reasons of not using the VIS Many legacy/high-performance codes are assembly code. Performance is highly dependent on memory locations of

instructions and data. VIS ignores accesses to different memory locations.

DSP SW codes are usually dataflow functions with small amounts of control.

Dataflow functions dominate the total cycle count. Measure or estimate a set of standard DSP kernels or

atomic functions on a processor. Derive a parameterized delay equation for each kernel

function on each processor. Model an application as a scheduled sequence of kernel

functions.

Page 59: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Abstraction Levels of DSP Kernel Functions

Basic arithmetic Integer barrel shift, integer add Integer & long multiply

Generic signal processing and complex mathematical functions Auto-correlation, FIR filter Convolution, discrete time FFT

Application specific: e.g. for CDMA: Viterbi decoder Convolutional Encoder Block Interleaver 64-ary Orthogonal Modulator

Page 60: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Non-programmable HW Components and Custom HW

Examples MPEG decoder, CDMA modem, IP peripheral IO

block, etc. Modeling method

Generate delay equations for the VC block Output pin delay equations Considering the internal resource contention

To derive the delay equations, measure real HW or use the simulation model

Then, derive high level delay equations In terms of frame, packet, token processing

Page 61: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function-Architecture Co-design: Cadence Approach

Page 62: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Refine HW/SW Architecture

Page 63: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Function-Architecture Co-design: Cadence Approach

Page 64: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Architectural Service Concept

Each architectural component provides a set of services. E.g. processor gives

Instruction fetching, interrupt handling, bus adapters

E.g. OS gives Scheduling, standard C library, software

timers, etc. E.g. Bus gives

Arbitration, single read/write, burst read/write.

Page 65: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Communication based on Architectural Services

Post()

RegisterMappedSWSender

Std. C lib. API

Std. C lib. Service

CPU mem. API

CPU Memory ServiceMaster Adapter API

FCFS Bus Adapter

Value(), Enabled()

RegisterMappedReceiverASIC mem. API

Bus Slave AdatperBus Slave API

SW

HW

Page 66: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Reuse of Architectural Services

Post()

RegisterMappedSWSender

Std. C lib. API

Std. C lib. Service

CPU mem. API

CPU Memory ServiceMaster Adapter API

FCFS Bus Adapter

Value(), Enabled()

RegisterMappedReceiverASIC mem. API

Bus Slave AdatperBus Slave API

SW

HW

If the designer uses a different bus,the remaining architectural servicesare reused.

Page 67: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Communication Patterns

Page 68: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Refine HW/SW Architecture

Page 69: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Coware N2C

Also supports function-architecture co-design Gradual refinement of communication/behavior

Untimed functional timed func RTL C HDL RPC BCASH real i/f

HW/SW Interface Synthesis Comparable to communication patterns in VCC

InterState Synthesis HW synthesis from C description Abstract port physical port implementation

E.g. scheduling port accesses On-chip bus modeling

Page 70: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Synopsys Approach: CoCentric

Compared to N2C and VCC, CoCentric first focuses on control/dataflow mixed functional specification Control flow FSM Data flow data flow models used in COSSAP

As a design entry, SystemC can be used. Control/dataflow spec. is compiled to

synthesizable/compilable HW and SW codes. Especially, HW synthesis from SystemC by SystemC

Compiler Existing Synopsys tool chains are used.

COSSAP stream driven simulation (SDS)

Page 71: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Control/Dataflow Specification

Page 72: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Dataflow Model (static I/O pattern)

Page 73: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Dataflow Model (dynamic I/O pattern)

Page 74: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Control Flow Model

Page 75: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Case Study

OR model embedded in a hierarchical DFG Bit-serial signals of mixed text and

image are multiplexed into a TDMA signal, modulated and transmitted.

Receiver Equalization based on LMS and

demodulation

Page 76: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Case Study

Page 77: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Case Study

Training Sequence Model

Page 78: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric: Case Study

OR model of Mux-TrainingSequence

Page 79: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric

Code scheduling and generation Control model

FSM sequential code Like Esterel C code

Dataflow model Use COSSAP

• Fixed I/O pattern sequential code• Dynamic I/O pattern scheduler

Page 80: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

CoCentric

Import of HDL models Cosimulation with external HDL

simulators Import of SystemC models

Cosimulation with SystemC simulator

Page 81: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP/Platform-based Design

IP/Platform Characterization IP/Platform Authoring SoC design validation in IP/Platform-

based design Testbench reuse Mixed-abstraction-level simulation

SoC Testing IEEE P1500

Page 82: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP and Platform Characterization

Problem: exhaustive characterization Due to the large number of parameters, full

characterization does not seem to be possible.

E.g. IP or platform w/ 100 binary parameters --> 2100 configurations

For each configuration• HW area, runtime, power estimation• By simulation/estimation

In an exhaustive way, it is impossible to characterize the IP/platform!

How to do practical characterization?

Page 83: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP and Platform Characterization

What the designer wants is pareto-optimal points in design space.

Solution Search space pruning by decomposing the

parameter space into orthogonal sub-spaces.

Exe. time

Power

x

x xxx

x

x

x xx

x

xxx

Page 84: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP and Platform Characterization

Search space pruning Dependency between parameters

E.g. I$ line size and I$ associativity are dependent with each other.

E.g. I$ line size and D$ associativity are independent.

Key idea If parameter sub-spacess P1 and P2 are

independent Parato-optimal points (P1xP2) = POP(P1) x POP(P2)

Page 85: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP and Platform Characterization

UCI, digital camera platform

Page 86: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Parameter Dependency

Page 87: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Parameter Clustering

Exhaustivesearch in a cluster

Page 88: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Cluster Merging

Design space =DS(AHI)xD(LMPQ)

Page 89: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Pareto-Optimal Points of (0.25, 0.08m)

Average pruning ratio = 99.999997%

Page 90: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP and Platform Authoring

Problem: unexpected IP/Platform usage Negative test is required. Usage-scenario-based testing

for expected IP usage

Solution: precisely define illegal inputs for each IP configuration activate corner cases

e.g. by random test vector generators check illegal inputs by assertion check

Page 91: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IP/Platform Trade-off

Quality, verification, characterization vs. parameterization

Quality,Verifiability,Testability,

Characterizability

No. of parameters,Generality

1 single instance

Page 92: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

SoC Validation in IP/Platform-based Design

SoC validation takes up to 2/3 of design cycle. Why?

E.g. if the integration of 1 core has 0.1% prob. of bug, then that of 200 core SoC has 20% prob. of bug!

How to reduce the validation efforts? Testbench reuse Mixed-abstraction-level simulation

Page 93: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

SoC Validation in IP/Platform-based Design

Testbench reuse Most errors come from the integration

step.

Page 94: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

SoC Validation in IP/Platform-based Design

Mixed-abstraction-level simulation Incremental integration of new

functionality

M4

High-levelSpecification M2 M3 M4

M1

OS

HW wr.

M3

PIP

AMBA

IntermediateImplementation

M1M1

Page 95: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

SoC Validation in IP/Platform-based Design Mixed-abstraction-level simulation

A conventional method: bus functional model (BFM)

Functional memory access• E.g. write to variable x located 0x100

Cycle-accurate (C/A) memory access• addr_bus = 0x100; nrw=0; • 1 cycle delay; • return data_bus;

SystemC and Coware BCASH: bus cycle accurate shell

• RPC (remote procedural call) access to C/A accesses

TIMA Wrapper concept

Page 96: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

SoC Testing Why SoC testing?

To detect manufacturing defects. Deep sub-micron technology various types of fault

Why core-based testing? Reuse of core test SoC test is constructed based on core test.

Core-based SoC testing Core provider

DFT (design for testability) hardware and test patterns

SoC Integrator SoC-level DFT, .e.g TAM (test access mechanism) SoC test patterns using core test patterns

Page 97: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

SoC Testing

SoC Test Challenges Cores have different test methods.

E.g. BIST, scan, mixed, memory test, etc. Test access to cores

Cores can be deeply embedded. Test access should be routed to the cores.

Test optimization Many cores very long test time TTM loss Area overhead of SoC test Power overhead of SoC test

• E.g. BIST consumes more power than usual operations.

Page 98: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Core Test Requirements

Test access mechanism (TAM) and test wrapper

Page 99: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Core Test Requirements

Wrapper and TAM

Page 100: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Core-based Test Standard

IEEE P1500 SECT (Standard for Embedded Core Test) Core Test Language (CTL)

Core test knowledge transfer Test patterns are written to be reused.

Core Test Wrapper Architecture Test access to embedded cores

Page 101: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

IEEE P1500

Core test wrapperElements-Wrapper Inst. Reg-Wrapper Bypass Reg.-Wrapper Boundary Reg.

Modes-Transparent mode-Serial InTest mode-Serial ExTest mode-Parallel InTest mode-Parallel ExTest mode

Page 102: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Automation of SoC Test Design Test wrapper generation and insertion Compliancy checking Interconnect test generation Test access planning and synthesis

E.g. # of TAM’s, mapping cores to TAM’s, TAM width Test expansion

Core test patterns SoC test patterns Test scheduling

Schedule core tests to minimize test resources (time, area, power, etc.).

Power Test application time and storage capacity

Page 103: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Case Study of Core-based Test Design

Fujitsu/LogicVision, ‘98

Page 104: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Case Study of Core-based Test Design

Core 1 (VD) DfT

Memory BIST insertion Scan chain insertion Logic BIST insertion

Page 105: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Case Study of Core-based Test Design

MPEG-2 Chip Core

Page 106: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Case Study of Core-based Test Design: Testability Results

Page 107: IP-based Design 12 October 2001 Sungjoo Yoo ISRC, Seoul Nat’l Univ.

Summary

Design productivity gain By reuse

IP reuse IP-based design Platform reuse platform-based design Test bench reuse Test reuse

By high-level SoC design Concurrent programming of SoC

Reuse and high-level SoC design Function-architecture co-design

Practical issues