27
MPSoC 04 Application Specific Processors in Industry SoC Designs Steffen Buch Senior Director Advanced Systems & Circuits N e v e r s t o p t h i n k i n g . 06.07.2004 Page 2 Steffen Buch Advanced Systems & Circuits MPSoC04 Agenda Motivation Example 1: Filter Development Platform ASMD Example 2: Network Processor Core PP32 Conclusions

Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

Embed Size (px)

Citation preview

Page 1: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 1

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

MPSoC �04

Application Specific Processors in Industry SoC Designs

Steffen Buch

Senior DirectorAdvanced Systems & Circuits

N e v e r s t o p t h i n k i n g .

06.07.2004Page 2

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Agenda

Motivation

Example 1: Filter Development Platform � ASMD

Example 2: Network Processor Core � PP32

Conclusions

Page 2: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 3

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Agenda

Motivation

Example 1: Filter Development Platform � ASMD

Example 2: Network Processor Core � PP32

Conclusions

06.07.2004Page 4

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Application Specific Control

What Means Application Specific Processor ?

Application Specific Interfaces

! Application Specific Processors cover a broad range of different flavors

! Different point of views from the hardware and the software world open up new possibilities

Assembler Assembler Programmable Programmable Reconfigurable Reconfigurable State MachinesState Machines

C Compiler C Compiler Targeted Targeted

ProcessorsProcessors

Application Specific Data Path

Page 3: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 5

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

4 Drivers for Application Specific Processors

"Performance Requirements

� throughput

� power efficiency

� code & data density (memory requirements)

06.07.2004Page 6

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Performance Driver: Shannon�s Law

1

10

100

1000

10000

100000

1000000

10000000

1980

1984

1988

1992

1996

2000

2004

2008

2012

2016

2020

Algorithmic Complexity(Shannon�s Law)

Processor Performance (Moore�s Law)

Battery Capacity1G

2G

3G

Page 4: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 7

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

MIPS Requirements for Wireless Technologies

� DECT 10 MIPS

� Bluetooth 20 MIPS

� GSM 100 MIPS

� GPRS 350 MIPS

� EDGE 1200 MIPS

� UMTS 5800 MIPS

⇒ Advances in air interface technology

(higher data rates, higher mobility, more flexibility ... )

significantly increases processing requirements

Next Challe

nge: MIM

O

Next Challe

nge: MIM

O

Source: Dr. J. Hausner, VP Concept Engineering, Secure Mobile Solutions, Infineon

06.07.2004Page 8

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Signal Processing for an UMTS Receiver(Air Interface)

Digital Filtering (RRC, channelization) ~3600 MIPSSearcher (frame, slot, delay path estimation) ~1500 MIPSRAKE receiver ~650 MIPSMaximum-ratio combining (MRC) ~24 MIPSChannel estimation ~12 MIPSAGC, AFC ~10 MIPSDeinterleaving, rate matching ~14 MIPSTurbo-decoding ~52 MIPSTotal ~5860 MIPS

# UMTS requires intensive layer 1 processingcompared to e.g. GSM

Example of processing requirements @ 384 kbps :

Source: Dr. J. Hausner, VP Concept Engineering, Secure Mobile Solutions, Infineon

Page 5: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 9

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Flexibility - Performance - Power Trade-Off

Lo

g F

L E

X I

B I

L I

T Y

Log P E R F O R M A N C E

Lo

g

P O

W E

R

D I

S S

I P

A T

I O

N

103 . . . 104

105

. . .

106

ApplicationSpecific

Processor

DigitalSignal

Processor

GeneralPurpose

Processor

FieldProgrammable

Device

ApplicationSpecific

IC

PhysicallyOptimized

IC

Source: T. Noll, RWTH Aachen

Strong ARM 1100.4 MIPS/mW

TMS320C543 MIPS/mW

ICORE25-35 MIPS/mW

06.07.2004Page 10

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

4 Drivers for Application Specific Processors

"Performance Requirements

� throughput

� power efficiency

� code & data density (memory requirements)

"Design Efficiency

� platform approach: easy adaptability to different applications in same domain

� predefined control & pipeline structure simplifies design

Page 6: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 11

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Driver for Better Design Efficiency:Moore�s Law

Source: ITRS Does anybody not know this slide?

06.07.2004Page 12

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Leading Edge SOC Design Cost

Note: Cost called out are for 8M gate PDA in 2001Source: International SEMATECH

ASIPs

Page 7: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 13

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

"Performance Requirements

� throughput

� power efficiency

� code & data density (memory requirements)

"Design Efficiency

� platform approach: easy adaptability to different applications in same domain

� predefined control & pipeline structure simplifies design

"Product Programmability

� late/in-field changes

� product derivatives

� bug fixing

4 Drivers for Application Specific Processors

06.07.2004Page 14

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Drivers for Programmability in SOC

! Fast evolving standards

! Unstable �standards�

! Concurrent engineering with customers

! Platform derivatives from one base chip (reduce NRE)

Page 8: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 15

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

"Performance Requirements

� throughput

� power efficiency

� code & data density (memory requirements)

"Design Efficiency

� platform approach: easy adaptability to different applications in same domain

� predefined control & pipeline structure simplifies design

"Product Programmability

� late/in-field changes

� product derivatives

� bug fixing

" IP Cost

� ASIP design allows quick and cheap IP development

4 Drivers for Application Specific Processors

06.07.2004Page 16

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

IP Cost Can Eat-Up Your Gross Margin

! Extensive IP licensing leads to high up-front & royalty payments

! Gross margins are lowered

! IDMs or design houses can not be successful by only integrating licensed IP

!!! France Telecom daughter company demands about 1$ !!!

!!! per chip from 3G chip makers for Turbo Coding !!!

Example:

Page 9: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 17

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Con�s for Application Specific Processors

$ Design Effort (Tools + Core)

- Requires new methodologies

06.07.2004Page 18

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Requirements for ASIP Design Methodology

! Easy profiling of applications

! Short processor design iteration loops

! Efficient development of tool environmentand hardware

! One source for hardware and software views

! Consistent verification environment

! Support of reuse concepts

! Support for documentation

Page 10: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 19

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Two Approaches to ASIP Design

! Extendible pre-defined processor cores

� customize basic instruction set with user defined extensions

� examples: Tensilica, ARC

� ARM and MIPS also offer extensions

! Language based processor design

� describe processor architecture and instruction set architecture in one language

� generate tool chain and HDL code from description

� C-like syntax with extensions (nML)

� examples: Target Compilers (Chess, Checkers)CoWare (LISATek)

06.07.2004Page 20

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Extendible Processors

" Only limited processor design know how required" Pre-defined modules speed-up design" Better C-compilers

$ Limited flexibility (e.g. pipeline structure and width ofregisters and instructions are fixed)

$ Royalty based licensing model

Page 11: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 21

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Language Based Processor Design

" High degree of configurability" No royalties just tool cost

$ Requires processor designers$ Danger of starting from scratch in every design$ Generated tool chain costs extra$ Automatic generation of C-compilers is difficult

06.07.2004Page 22

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Con�s for Application Specific Processors

$ Design Effort (Tools + Core)

- Requires new methodologies

$ Processor Verification

- Requires new methodologies

Page 12: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 23

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Processor Verification

! ASIP verification is as difficult as general purpose processor verification

! Exception: application is verified together with processor

! Constrained random pattern testing (configurable Genesys)

� IBM expert is here: Roy Emek

! Formal verification in processor design

� Application of property checking

Two complimentary solutions:Two complimentary solutions:

06.07.2004Page 24

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

IFX ASIP Verification Flow

Instruction Set SpecificationInstruction Set Specification

Tool GenerationLISA - Edge

Tool GenerationLISA - Edge

VHDL modelVHDL model

VHDL SimulationModelSim

Formal VerificationGateProp

PropertiesProperties

Assembler&Debugger

Test casesTest cases

Regression Test

Page 13: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 25

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Con�s for Application Specific Processors

$ Design Effort (Tools + Core)

- Requires new methodologies

$ Processor Verification

- Requires new methodologies

$ Programming Models for Multi-Processor Systems

- No general solution existing yet

- Further research required

06.07.2004Page 26

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Programming Models for Multi-Processor Systems

! Partitioning and verification of complete system inmulti-processor architectures are challenging

! Tendency of hardware designers: Use multiple (different) processors for efficiency reasons

! Tendency of software designers:Use single core solutions because that simplifies software/firmware development

!Generalized transparent programming of embedded MPSoCswould be the perfect solution BUT optimization problem is not solvable

!Constrain yourself to typical application scenarios

!Two typical scenarios

- Two core designs

- One master core + flexible coprocessors

Page 14: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 27

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Two Typical MPSoC Scenarios

1. Two core solutions (example Controller + DSP)

! Program from one source code

! Manual partitioning (annotation in source code)

! Inter-processor communication generated by compiler automatically

! Compiler friendly IPC

2. One master core and multiple programmable slave processors

! Program from one source code

! Either manual or automatic partitioning

! Communication automatically generated

??? Are there any solutions around ???

06.07.2004Page 28

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Agenda

Motivation

Example 1: Filter Development Platform � ASMD

Example 2: Network Processor Core � PP32

Conclusion

Page 15: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 29

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Design Goal:Expert System for Digital Filter Design

Requirements:

! High data rates with limited cycle budgetand high power sensitivity

! Typical cycle budget is 50 to 500 cycles per sample

! Typical clock speed is about 100 MHz

! Typical tasks are multi-rate interpolation/decimation, filtering, coding and mixing

! Short design time, quick adaptability

ASIP core + HW accelerators + glue logicfor digital part in mixed-signal front-ends(e.g. audio codecs, transceivers)

06.07.2004Page 30

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Application Specific Control

Application Specific Multi-Rate DSP - ASMD

Application Specific Interfaces

! Major driver for ASIP development

� design efficiency

! May be not even a processor but a flexible state machine

Assembler Assembler Programmable Programmable Reconfigurable Reconfigurable State MachinesState Machines

C Compiler C Compiler Targeted Targeted

ProcessorsProcessors

Application Specific Data Path

ASMD

Page 16: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 31

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

ASMD Architecture

� Shift-and-Add DSP

� Optimized for data flow operations

� Conditional operations

� Highly parameterised

� Assembler creates control sequence for data path

� Fully synthesizable

ControllerController

ShiftShift

InvertInvert

Arith regsArith regs

ConstantsConstants

State regsState regs

SaturationSaturation

Data path

Control path

++

ShiftShift

InvertInvert

SaturationSaturation

In

Out

06.07.2004Page 32

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Assembler Syntax and Instruction Set

Parallel execution of two instructions

example_lisa.asm.text

Program_test:!Subprog1 from label DA16b to label DA16end slice_flag !Subprog1 from label DA16a to label DA16a_e slice_flag end_flag

Subprog1:DA16a:

state12, state1, shift0, shift0, +(+), +(+), arith1arith1, arith1, shift1, shift3, +(+), +(+), arith2arith1, arith2, shift0, shift1, +(+), -(-), arith2

DA16a_e:arith1, arith2, shift0, shift0, +(+), -(-), state13, out1

DA16b:in1, con1, shift0, shift0, +(+), +(+), state12state12, state12, shift0, shift2, +(+), -(-), state12state12, state4, shift0, shift0, +(+), +(+), arith1

DA16end:arith1, arith2, shift0, shift0, +(+), -(-), state13, out1

.end

1st cycle

2nd cycle3rd cycle4th cycle

6th cycle

5th cycle

Poor utiliz

ation of data path

Page 17: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 33

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Parallel Control and Data Flow

Instruction Register

Instruction Register

ProgramMemoryProgramMemory

Decoder for Add InstructionDecoder for

Add Instruction

Decoder forControl Instruction

Decoder forControl Instruction

ControlUnit

ControlUnit

ArithmeticUnit

ArithmeticUnit

PC for Control InstructionPC for Control Instruction

PC for Arithmetic InstructionPC for Arithmetic Instruction

FetchUnit

FetchUnit

06.07.2004Page 34

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5

x 104

-120

-100

-80

-60

-40

-20

0

Frequency (Hz)

Mag

nitu

de (

dB)

Frequency Response

Upper Bound Lower Bound W01_sf96000_da48

Expert System for digital filter front-ends

1. Algorithm development in Matlab environment

Page 18: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 35

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Expert System for digital filter front-ends

ControllerController

ShiftShift

InvertInvert

Arith regsArith regs

ConstantsConstants

State regsState regs

SaturationSaturation

Data path

Control path

++

ShiftShift

InvertInvert

SaturationSaturation

In/Out

1. Algorithm development in Matlab environment

2. Configure and program ASMD using software macros

06.07.2004Page 36

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Expert System for digital filter front-ends

SystemC toplevel

ASMD SysC RTL

regs

datamem

progmem

pipeline controlprogseq

IF/ID ID/EXEX/WB

Interface

Interface

Interface

Interface

TX

RX

ChannelManagement

Config

Control FSMS2

S0

S1

3. Design complete module including HW accelerators and glue logic using pre-designed libraries

1. Algorithm development in Matlab environment

2. Configure and program ASMD using software macros

� Average design time could be reduced from 4 to 1 month� Flow applied in several projects:

GSM, UMTS, Bluetooth, VoIP, automotive multi-media

Page 19: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 37

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Productive Target Application for Code Generation

CVSD Speech Codec for Bluetooth

Requirements:

! Three channels for receive and transmit eachwith undo functionality

! 26 MHz clock frequency

% Design based on ASMD core modeled with LISA

% Research cooperation with RWTH Aachenon SystemC RTL generation

06.07.2004Page 38

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

CVSD Transmit Path

OutputInput int_3bir_64kOutput

int_5bir_32kInputOutput

Interpolation Path

InputOutputInputOutputInput

int_7bir_16kint_equ_8kM5M4M3

fs = 64 kHzfs = 32 kHz

M0

fs = 8 kHz fs = 16 kHz

0<>

)(kx )(kb

)(kδ

)(� kx

<−≥−

=0)(�)(,1

0)(�)(,0)(

kxkxkxkx

kb

Inter-polationFilters

CVSDEncoder

Problem:CVSD contains non-linear operation not suited for ASMD architecture

Problem:CVSD contains non-linear operation not suited for ASMD architecture

Solution:Additional data pathand instruction was implemented and verified within one day

Solution:Additional data pathand instruction was implemented and verified within one day

Page 20: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 39

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Hardware Partitioning / Design Environment

! SystemC1.0.2testbench

! Design of glue logic in SystemC RTL

! Cross compilation to VHDL

! Synthesis with Design Compiler

SystemC Top Level

ASMD SysC RTLASMD SysC RTL

regs

datamem

progmem

pipeline controlprogseq

IF/ID ID/EXEX/WB

InterfaceInterface

InterfaceInterface

InterfaceInterface

InterfaceInterface

TX

RX

Control FSMControl FSM

S2

S0

S1

ChannelManagement

ChannelManagement ConfigConfig

06.07.2004Page 40

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

SystemC Verification Testbench

Test Vehicle

Page 21: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 41

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Hardware / Software Co-Verification

SystemC toplevel

ASMD SysC RTLASMD SysC RTL

regs

datamem

progmem

pipeline controlprogseq

IF/ID ID/EXEX/WB

InterfaceInterface

InterfaceInterface

InterfaceInterface

InterfaceInterface

TX

RX

ChannelManagement

ChannelManagement ConfigConfig

Control FSMControl FSM

S2

S0

S1

Display / ModifyMemory State

Display / ModifyMemory State

LISAASMDModel

LISAASMDModel

Dynamically Connect toProcessor Core

Dynamically Connect toProcessor CoreDisplay / Control / Modify

Processor States

Display / Control / ModifyProcessor States

06.07.2004Page 42

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Agenda

Motivation

Example 1: Filter Development Platform � ASMD

Example 2: Network Processor Core � PP32

Conclusions

Page 22: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 43

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Design Goal:Efficient Core for Framing Applications

Requirements:

! Adaptability to different and/or changing protocols

! Optimized for hardware � software interaction

! Strong support of data interfaces

! Special features for protocol processing

! Predictability of execution time

Layer 1 and 2 packet processing in communication systems that require medium to high data throughput and flexibility.

06.07.2004Page 44

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Application Specific Control

32 Bit Protocol Processor � PP32

Application Specific Interfaces

! Major driver for ASIP development

� performance requirements

� product programmability

� IP cost

Assembler Assembler Programmable Programmable Reconfigurable Reconfigurable State MachinesState Machines

C Compiler C Compiler Targeted Targeted

ProcessorsProcessors

Application Specific Data Path

PP32

Page 23: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 45

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Principal Receiver Partitioning

Physical layer Layers 2 to 4 Higher layers

number-crunching

control plane

Signal Processing Protocol Processing

data plane

Digital signal processor +

co-processors

To/from

analog/RFfast path

slow path

General purpose

processor

...000101111010......Protocol

processor

Application Software

Processing

General purpose

processor

Application Middleware Operating System

Protocol

processor

06.07.2004Page 46

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

PP32 Architecture Overview

! 32-bit RISC architecture with 6-stage pipeline

! Harvard architecture withseparate code/data buses

! Hardware supported multithreading

� Up to 4 threads can be implemented

� Each thread has its own register/flag space

� 16 x 32 bit registers per thread

� Low-overhead thread switch

! Extensible and open architecture

� Up to 16 register mapped ports

� Behaviour of each port is user-defined

� Support of scratch memory and global data memory

! Extensive support for bit field manipulation

000...111..........111 00......................00000

bits offset0

offset1

CodeMemory

DataMemory

PortInterface

pp

32_

clk

res

et_n

CORE

DebugUnit

COPInterface

InterruptController

Co

de

Mem

ory

Inte

rfac

e

Da

taM

emo

ryIn

terf

ace

Co

-P

roc

esso

rIn

terf

ace

Po

rtIn

terf

ace

Deb

ug

Un

itIn

terf

ace

Inte

rru

pt

Un

itIn

terf

ace

System Interface

PC, Flags, .....Task0...Task3

IDEC

BranchUnit

MemAddress

Register

ALU

Page 24: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 47

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

PP32 Pipeline Architecture

06.07.2004Page 48

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

PP32 Instruction Set: Overview

! Data transfer operations

& reg-reg, reg-port, port-reg, port-port

& reg-mem, mem-reg, port-mem, mem-port

& Bit-field transfer

! Arithmetic and logical operations

& Operand either register or immediate

! Branch and thread control

& Thread switch with and without priority

! Conditional execution of almost all instructions

!! Lean ISA: only 40 instructions

Page 25: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 49

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

PP32 Instruction Set Performance Comparison PP32 vs. MIPS M4K

The worst case example of the 10 test scenarios selected from L2switching:

PROCESSING(){read packet start addressesbuild the CAME keywordread packet end addresseslaunch the CAME look upwait for CAME resultsread the resultsfind what for a case we haveedit the packet according to this case : strip VLANedit and send the ATM headeradd LLC headeredit AAL5 trailersend the rest payloadwrite cmd to the FIFO control}

Code Size Performance

PP32 38x32 bits 38 cycles

MIPS M4K 56x32 bits 57 cycles

50% slower47% larger

� Higher clock speed� Smaller core size� No license fees & royalties

06.07.2004Page 50

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

PP32 Implementation

! Fully developed in the Infineon design flow (inway)

! Fully synthesizable (standard-cells) design

! Fully synchronous interfaces

Technology 0.13 µm Design Package c11n v2.1.2 Operation Condition worst case (1.35 V, 125 °C) Library cstarlib_reg_1v5 Synthesis result Frequency: 303 MHz in Worst Case (c11n RVt 1.35V 125C)

Area: 0.37 mm2 Deliverables VHDL model,

Synopsys DC synthesis scripts Tools Simulator, Debugger, Assembler,

Linker, C-Compiler

Page 26: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 51

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

ConverGate�-C V1.1 Block Diagram

Co-Processor(Classification,

CAM)

Debug Interface

Clocking Unit

Co-Processor(Look-Up)

Co-Processor(Counter&Timer)

ProtocolEngine

Control &Management

Interface

Local Memories

UTOPIA/POS-PHY

L2 Line Interface

DMA&

AAL5

ProtocolEngine

2 x GMII / TBI4 x SMII / MII

ConverGateTM-C

ProtocolEngine

ProtocolEngine

06.07.2004Page 52

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Agenda

Motivation

Example 1: Filter Development Platform � ASMD

Example 2: Network Processor Core � PP32

Conclusions

Page 27: Application Specific Processors in Industry SoC · PDF file07-06-2004 · Application Specific Processors in Industry SoC Designs ... TMS320C54 3 MIPS/mW ICORE 25-35 MIPS/mW ... DSP

06.07.2004Page 53

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Conclusions

ASIPs are the next revolutionin SoC design !

Further improvements of ASIP methodologies and business models

Research and solutions for simple embedded MPSoC programming

06.07.2004Page 54

Steffen Buch

Advanced Systems & Circuits

MPSoC�04

Solutions

We createSemiconductor Solutions,enabling the Technology Lifestyle of the Individual in the 21st Century.

Innovation = Idea + Implementation