Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT)...

28
ISMICT 2011– Montreux, Switzerland Workshop: Ultrasound dedicated to medical applications in the frame of the FP7 ICT European project ULTRAsponder Ultra-low power digital processing for medical applications Marc MORGAN ([email protected]) System-on-Chip & Digital IC Design Integrated & Wireless Systems Division CSEM – Swiss Center for Electronics and Microtechnology March 30, 2010

Transcript of Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT)...

Page 1: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

ISMICT 2011– Montreux, SwitzerlandWorkshop: Ultrasound dedicated to medical applicationsin the frame of the FP7 ICT European project ULTRAsponder

Ultra-low power digital processing for medical applications

Marc MORGAN ([email protected])

System-on-Chip & Digital IC Design

Integrated & Wireless Systems Division

CSEM – Swiss Center for Electronics and Microtechnology

March 30, 2010

Page 2: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 1

Quick introduction to CSEM

• private company, founded in the 1980’s

• not for profit

• approx. 400 employees on 5 sites in Switzerland, HQ in Neuchatel

• 8 technical divisions:

• microelectronics, photonics, nanotechnology, nanomedicine

• robotics, system engineering, microsystems, thin film optics

• approx. 60 MCHF annual budget

• over 20 start-ups and spin-offs since 1995

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 3: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 2

Medical applications

• Ultrasound transponder implants

• Continuous ECG or multi-parameter monitoring

• Hearing aids

• Cochlear implants

• e-pills

• Other implants

• Common SoC requirements:

• extend battery life

• local processing

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 4: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 3

System-on-Chip for wireless applications

• ULTRAsponder SoC for ultrasound operation:

• ultra-low power processor + power management

• icycom for wireless sensor network:

• RF transceiver 863-928 MHz with OOK, FSK, OQPSK modulation

• TX: 40 mA, 10 dBm. RX: 3.5 mA, -100 dBm.

• e.g. 200 kb/s, MSK, range of 5 km (free space)

• 8-channel 10-bit ADC, 5 nC/sample

• new SoC for wireless Body Area Network:

• TX: 2.0 to 3.5 mA, -30 to -3 dBm. RX: 3.5 mA, -100 dBm

• e.g. 200 kb/s, MSK, range of 0.1 to 2 km (free space)

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 5: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 4

ADC

Sensor :ECG, temp.

icyflex1processor

Modulator

The ULTRAsponder system view

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

NVRAM

Tran

sduc

er

Energy Exchanger

RechargeableBattery

Power Management

powerdata

Page 6: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 5

The ULTRAsponder core SoC – digital functions

• Processor:

• icyflex1 ultra-low power DSP/control processor

• 120 μA/MHz at 1.0 V regulated power supply

• runs at up to 3.2 MHz at 1.0 V in this SoC

• SRAM: 96 kiBytes

• Other digital blocks:

• DMA controller, JTAG tap, IRQ controller, bus controller

• RTC, Timers, Watchdog, I2C, SPI, UART, GPIO

• Design For Test:

• 4 scan chains, Memory Built In Self Test

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 7: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 6

The ULTRAsponder core SoC – power management

• Power supply:

• 1.0 V – 3.6 V

• Power management to supply power to the SoC and external devices

• programmable voltage regulator (64 steps, 0 – VBAT)

• voltage divider by 2

• digital voltage regulator 1.0 V

• 2 voltage multipliers (2.7 V): max 10 μA and 13 mA currents

• separate power supply per bank of pads

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 8: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 7

The ULTRAsponder core SoC – power modes

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Mode Processor Digital blocks

RAMblocks

Clock Power

normal running all clocked all on 3.2 MHz 120 μW/MHz+ RAM

sleep clock gated some clocked some on 3.2 MHz 2-4 μW

hibernation power off only RTC on all off 32 kiHz 1 μW

Page 9: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 8

Ultra low-power processors at CSEM

• CSEM has a long history of designing low-power processors

• Watch processors: PUNCH (1993), µPUS, Combo (1982), ...

• CoolRISC, licensed to Semtech, Swatch group, TI, ...

• Powerful new processors with ultra low power consumption

• 2005: Macgic, a 16/24-bit DSP (4 MAC)

• 2006: icyflex1, a flexible processor for DSP/control applications

• 2009: icyflex2, a smaller processor for control applications

• 2009: icyflex4, a scalable processor for DSP/control applications

Macgic and icyflex are registered trademarks of CSEM

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 10: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 9

Ultra-low power processors

Macgic and the icyflex processors are

optimized for power consumption:

• customizable (in VHDL)

• configurable (at run-time)

• architecture

• instruction set

• latch-based design

• clock-gating

icyflexTM

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 11: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 10

Processor selection

icyflex2ControlComputing

Power

DSP

icyflex1

icyflex4Macgic

1 MUL 2 MAC 4 MAC … 36 MAC

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Application

Page 12: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 11

icyflex software development kit

• GNU C compiler (gcc) v 4.2.4• icyflex instruction parallelism supported by latest releases of gcc• libc and libm from RedHat’s NewLib• software implementation of IEEE floating-point standard

• GNU assembler / linker (binutils), v 2.20• BFD / ELF32 object file format• Binary, SREC, IHEX memory image file formats

• GNU debugger (gdb), v 6.7.1• Mode 1: instruction set simulator of the icyflex core • Mode 2: On-Chip Debug (OCD) through a JTAG interface

• icyflex instruction set simulator (ISS), written in C++• Phase-accurate, pipelined• Wrappers to SystemC, VHDL (Modelsim), Matlab/Simulink

• Eclipse integrated development environment, v Helios• CDT C/C++ IDE plug-in• icyflex plug-in

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

Page 13: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 12

icyflex hardware development kit

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

CPLD is Altera MAXII

Data & JTAG to SoCJTAG to SoC

Page 14: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

Overview of the icyflex1 processor

Page 15: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 14

Characteristics of the icyflex1 architecture

• Simplicity

• 3-stage pipeline

• Efficiency parallelism

• Data-level

• Instruction-level

Copyright 2011 CSEM | icyflex family of processors | MNM |

Page 16: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 15

Characteristics of the icyflex1 architecture

• Simplicity

• 3-stage pipeline

• Efficiency parallelism

• Data-level:

• Two 32x32 multiply-accumulate units in parallel

• Instruction-level:

• Two short instructions can be executed in parallel

Copyright 2011 CSEM | icyflex family of processors | MNM |

short instruction 1 short instruction 2

long instruction with more argument bits

32-bit instruction word

Page 17: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 16

Characteristics of the icyflex1 architecture

• Simplicity

• 3-stage pipeline

• Efficiency parallelism

• Data-level:

• Two 32x32 multiply-accumulate units in parallel

• Instruction-level:

• Two short instructions can be executed in parallel

• New instructions can be configured at run-time

Copyright 2011 CSEM | icyflex family of processors | MNM |

Page 18: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 17

blank instructionsconfigurable on the fly

Reconfigurable instructions and addressing modes

Copyright 2011 CSEM | icyflex family of processors | MNM |

Instruction set

ADD

MUL

SHR

MAC

JUMP

configurable

configurable

SHIFT

MUX

ALU

ACC

ACC

SHIFT

MUX

ALU

ACC

ACC

inst

ruct

ion

deco

ding

Page 19: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 18

icyflex1 architecture

Copyright 2011 CSEM | icyflex family of processors | MNM |

Page 20: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 19

icyflex1 architecture

Copyright 2011 CSEM | icyflex family of processors | MNM |

3 separate busses up to 3 parallel accesses every clock cycleless clock cycles less power consumption

Page 21: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 20

icyflex1 architecture

Copyright 2011 CSEM | icyflex family of processors | MNM |

32-bit instruction word optimized instruction set avoids VLIWshorter instruction word less power consumption

Page 22: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 21

icyflex1 architecture

Copyright 2011 CSEM | icyflex family of processors | MNM |

customizable at synthesis busses can be shrunk, blocks can be removedonly useful logic is integrated less power consumption

Page 23: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 22

icyflex1 architecture

Copyright 2011 CSEM | icyflex family of processors | MNM |

reconfigurable instructions and addressing modes execute less instructionsless clock cycles, smaller program memory, less power consumption

Page 24: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 23

icyflex1 architecture

Copyright 2011 CSEM | icyflex family of processors | MNM |

DSP-type features: zero-overhead hardware loop, complex addressing modes,high and balanced throughput

Page 25: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 24

Performance summary

icyflex1 icyflex2 icyflex4MAC (or MUL) units 2 (1) 4 + 4 VPSData size [bits] 16/32 16/32 16/32Pipeline depth 3 5 5-8Software tools gcc / gas gcc/gas gcc / gask Gates 110 40 130 + 90 VPSMax. ops/cycle 16 6 33 + 31 VPSMax. freq.[MHz]

180 nm 50LP RVT 90 nm 180 180

Avg. Power[μW/MHz]

180 nm 120 3065 nm 6 10 to 150*

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

*) VPS=2, FFT radix-4 64 points

Page 26: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 25

The Ultrasponder core SoC

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

• Integrated in TSMC 180 nm generic CMOS process

• 5 x 5 mm2

• 12 blocks of 8 kiB ultra-low power SRAM

• mix of thin and thick gate transistors

SRAM

SRAM

digital .icyflex1 .

+ peripherals

pow

er m

gt&

oth

er

Page 27: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

# 26

Acknowledgements

Copyright 2011 CSEM | ISMICT 2011 - ULP digital processing for medical apps | MNM |

part of the research which went into

the development of the ULTRAsponder system-on-chip

was funded by

the European Community’s Seventh Framework Programme (FP7/2007‐2013)

Page 28: Digital Information Processing€¦ · • programmable voltage regulator (64 steps, 0 – VBAT) ... instruction set simulator of the ; icy; flex; core • Mode 2: On-Chip Debug (OCD)

Thank you for your attention!

Questions?

Contact:[email protected]