22
Chapter 18: Programmable DSPs Keshab K. Parhi and Viktor Owall

Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chapter 18: Programmable DSPs

Keshab K. Parhi and Viktor Owall

Page 2: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 2

DSP ApplicationsDSP applications are often real timebut with a wide variety of sample rates

• High rates– Radar– Video

• Medium rates– Audio– Speech

• Low rates– Weather– Finance

Page 3: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 3

...with different demands on

• numeric representation

– float or fixed

– and nmber of bits

• Throughput/speed

• Power/energy dissipation

• Cost

Page 4: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 4

DSP features

D D Dx(n)

h0 h3h2h1

y(n)

Fast Multiply/Accumulate (MAC)• FIR• FFT• etc.

• Multiple Access Memories

• Specialized addressing modes

• Specialized execution control (loops)

• Specialized interfaces, e.g. AD/DA

Page 5: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 5

Addressing Modes• Implied addressing

P=X*Y; operation sets location• Immediate data

AX0=1234• Memory direct

R1=Mem[101]• Register direct

sub R1, R2• Register indirect

A0=A0+ *R5• Register indirect with increment/decrement

A0=A0+ *R5++A0=A0+ *R5--

Page 6: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 6

Standard DSP AlternativesPCs or Workstations

• Non-real time• low requirements

General purpose microprocessors• slower for DSP applications• might be one µproc. there anyway

Custom• perfomance• low cost at volume• High development cost

Page 7: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 7

Standard Processors vs. Special Purpose

Algorithm

SpecialPurpose

Standard Processor Processor Cores

Domain SpecificProcessors

etc.• Programmable• Low Design cost• Standard Interface• Good supply of tools

• High Calculation Capacity• Low Power• User defined Interface• Variable Wordlength• Low Price at Volume

Page 8: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 8

MainMEM

Conflicting req.• Throughput• Flexibility• Power Consumption• Time to market

ProcessorCore

ASIC

ASICMainMEM

Dist.MEM

Local bussesand

Distributedmemory

to decrease data transfers

MIPS intensivealgorithms indedicated HW

to increasethroughput and

save power

Flexibility byusing programmable

processor core

Architectural Partitioning

ProcessorCore

Page 9: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 9

Fixed point DSPMotorola DSP56000x

X0X1Y0Y1

ShifterALU

A (56)B (56)

Shifter/Limiter

2424

2424

24

24

24 24

56

56

5656

56

OperandRegisters

Accumulators

• Usually DSP has single cyclemultiplier, may be pipelined

• Double wordlength out

+ guard bits

• scaling

• Altenative is multwith reducedwordlength output,e.g. 24

Page 10: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 10

Memory Structures, von Neuman

Addresss bus

Data bus

Processor Core

Memory

Page 11: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 11

Memory Structures, Harvard

Addresss bus 2

Data bus 2

Processor Core

Memory A

Addresss bus 2

Data bus 2

Memory B

Original Harvard• one data• one program

Page 12: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 12

TI Processors, high speed

Page 13: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 13

TI Processors, low power

Page 14: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 14

TI, C64

Page 15: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 15

TI, C55

Page 16: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 16

Processor ArchitecturesSIMD –

Single Instruction Multiple Data

Program

Processor Processor Processor Processor

Page 17: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 17

Processor ArchitecturesMIMD –

Multiple Instruction Multiple Data

Processor Processor Processor Processor

Program Program Program Program

Page 18: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 18

Processor ArchitecturesVLIW –

Very Long Instruction Words

FunctionalUnit

VLIW Instruction

Control Unit

FunctionalUnit

FunctionalUnit

FunctionalUnit

Page 19: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 19

Split Processors

Functional unitscan be split intosubmodules, e.g.for images (8bits)TI320C80,1 RISC4 x 32bit DSP whichcan be split into8bit modules

Page 20: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 20

Vector Processors

Page 21: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 21

Low Power MMACMultiplier Multiple Accumulator

V. Sundararajan and K.K. Parhi, "ANovel Multiply Multiple AccumulatorComponent for Low Power PDSPDesign", Proc. of 2000 IEEE Int. Conf.on Acoustics, Speech and SignalProcessing, Vol. 6, pp. 3247-3250,Istanbul, June 2000

Page 22: Chapter 18: Programmable DSPs · V. Sundararajan and K.K. Parhi, "A Novel Multiply Multiple Accumulator Component for Low Power PDSP Design", Proc. of 2000 IEEE Int. Conf. on Acoustics,

Chap. 18 22

Low Power MMACSchedule 16-tap FIR 4 acc. MMAC