Top Banner
System on a Chip (SoC) Lin Zhong ELEC424, Fall 2010
35

System on a Chip ( SoC )

Feb 25, 2016

Download

Documents

osgood

System on a Chip ( SoC ). Lin Zhong ELEC424, Fall 2010. Photolithography. 1969. Ivan Sutherland won Turing Award in 1988 for his Ph.D. work in 1963. http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-574.pdf. “System on board”. “System on board” (Contd.). Multiple Chip Modules (MCM). - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: System on a Chip ( SoC )

System on a Chip (SoC)

Lin ZhongELEC424, Fall 2010

Page 2: System on a Chip ( SoC )

Photolithography

Page 3: System on a Chip ( SoC )
Page 4: System on a Chip ( SoC )

1969

Page 5: System on a Chip ( SoC )

Ivan Sutherland won Turing Award in 1988 for his Ph.D. work in 1963

http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-574.pdf

Page 6: System on a Chip ( SoC )

“System on board”

6

Page 7: System on a Chip ( SoC )

“System on board” (Contd.)

7

Page 8: System on a Chip ( SoC )

Multiple Chip Modules (MCM)

• Intel Pentium D, Core 2 Quad

8

IBM POWER5 (2004) MCM, used in IBM system p servers, four dual core processors + four L3 cachesWikipedia.org

Page 9: System on a Chip ( SoC )

System in Package (SiP)

Siemens SX66 PDA PhoneAudiovox PPC6601KIT

32MB

400MHz

Source: Intel.com

9

Page 10: System on a Chip ( SoC )

System-on-a-chip (SoC): TI OMAP

10

Page 11: System on a Chip ( SoC )

System-on-a-chip (SoC): TI MSP430

11

Functional block diagram

Page 12: System on a Chip ( SoC )

Inside a CPU (Micro-architecture)IBM POWER5 die photo (2004)

• FXU: fixed-point execution unit• ISU: instruction sequencing unit• IDU: instruction decode unit• LSU: load/store unit• IFU: instruction fetch unit• FPU: floating-point unit• MC: memory controller

12Sinharoy et al 2005

Page 13: System on a Chip ( SoC )

Components of SoC

• Processors• Clock generator• Flash memory & controller• DMA & controller• Digital I/O modules• Programming interface• Interconnection

13

Page 14: System on a Chip ( SoC )

Embedded processors• Microprocessor (32bit beyond)

– ARM, MIPS, PowerPC, SuperH– Usually very modern architectures– ARM: Most popular 32bit embedded processor (75%)

• Assignment: read “ARM architecture” from Wikipedia

• Microcontroller (4-16bit)– Harvard architecture– 8051 (8bit), PIC (8bit), AVR from Atmel (8bit)– MSP430: 16-bit RISC, von Neumann architecture

14

Page 15: System on a Chip ( SoC )

Clock generator

• Resonant circuit + amplifier

• Resonant circuit (Oscillator)– Crystal oscillator (>2x109/yr)

• ~10KHz to ~10MHz• Quartz, ceramics (low cost, low accuracy), surface acoustic

wave (SAW) quartz crystal (expensive, accurate)• Real-time clocks

– 32.768KHz (215), 4.194304MHz (222)• Application-specific

– 4.9152MHz (4 x 1.2288MHz, CDMA baseband frequency)……

15

ResA

Page 16: System on a Chip ( SoC )

• LC/RLC circuit• Ring oscillator

– Application other than oscillator?• Voltage-controlled oscillator (VCO)

– Varicap: variable capacitance diode (tuning diode)– Phase-locked loop for high-speed clock (next slide)– Frequency scaling of IC for energy saving

Oscillator (Contd.)

16

Page 17: System on a Chip ( SoC )

• High-speed clock from a master oscillator• Digital PLL

• Clock generation, recovery, synchronization– Digital computing, RF communication

Phase-locked loop (PLL)

17

Phase-frequency detector

Master oscillator VCO

Frequency divider (N)

voltage

Page 18: System on a Chip ( SoC )

MSP430 clock modules• Clock sources

– External oscillators• Low- oscillator (LFXT1CLK): usually 3.2768KHz (RTC)• Optional high-frequency oscillator (XT2CLK)

– Internal digitally controlled oscillator (DCO) (DCOCLK) (power hungry)

• Clock signals– Auxiliary clock: divided LFXT1CLK (1, 2, 4, 8)

• For low-power standby– Master clock: any source, divided by 1, 2, 4, or 8– Sub-system clock: XT2CLK or DCOCLCK, divided by 1, 2, 4, or 8

18

Page 19: System on a Chip ( SoC )

DCO (Contd.)• Ring oscillator with RC-type characteristics• Software controllable

– On/Off– Frequency

– External resistor allows low temperature impact, higher frequency• Impacted by temperature , supply voltage, and process

variations (inter-chip variations)

19

8 internal and 1 external resistors

Page 20: System on a Chip ( SoC )

Flash Memory and Controller

• Non-volatile, semiconductor memory– Limited # of erase cycles wear leveling

• NOR Flash: slow write/erase, random access– ROM replacement

• NAND Flash: faster write/erase, block access, denser, more enduring– Harddisk replacement

20

Page 21: System on a Chip ( SoC )

MSP430 Flash memory controller

• NOR flash (for program)– No need for wear leveling (100K to 1M erase cycles)

• In-system programmable (ISP)– Self programming, program via wireless

• Programming through JTAG, UART (Bootstrap loader, BSL)

21

Page 22: System on a Chip ( SoC )

Digital I/O Modules

• USART – Universal synchronous/asynchronous

receiver/transmitter– Asynchronous: UART– Synchronous: SPI, I2C

• UART (2-4 wires)– Easily work with RS-232 (serial port), modem,

Bluetooth (Serial Port Profile)– Baud rate, # of data bits, optional parity bit, flow

control

22

Page 23: System on a Chip ( SoC )

MSP430 UART

• Two UART ports, each two pins• Support interrupt• No hardware flow control• <200Kbps

23

Page 24: System on a Chip ( SoC )

Serial interfaces

• Inter-Integrated Circuit (I2C)– Two wires– Standard mode: 100Kbps– Fast mode: 400Kbps– System management bus (SMBus): 100Kbps

• Serial Peripheral Interface (SPI)– 4 wires: Clock, Chip Select, In and Out– Low-megahertz data rate

wikipedia.org

Page 25: System on a Chip ( SoC )

Universal Serial Bus (USB)• Replacing all serial/parallel ports

– All phones in China use USB for power• Host vs. device• USB 1.0: low-speed, 1.5Mbps

– Human interface devices– 1.5A power supply– USB 1.1: full-speed, 12bBps

• USB 2.0: high-speed, 480Mbps– Storage devices, Wi-Fi cards etc.– 900mA power supply

• USB 3.0: super-speed, 4.8Gbps

Page 26: System on a Chip ( SoC )

Analog I/O

• Analog-digital conversion (ADC)– Voltage measurement– Sensing the world through voltage

• XXX voltage

• Digital-analog conversion (DAC)– Actuator

26

Page 27: System on a Chip ( SoC )

ADC

• Resolution: how many bits for “D”?– 24bits max– MSP4301611: 12 bits

• Sampling rate: how fast?– MSP430: up to 200Ksps

• Accuracy– Quantization error etc.

27

Page 28: System on a Chip ( SoC )

Interrupt

• Polling vs. interrupt

• Non-maskable vs. maskable

• Nested interrupt

28

Interrupt handler

Save context

Retrieve context

Page 29: System on a Chip ( SoC )

Interrupt

• Programmable interrupt controller (PIC)– Prioritizing multiple sources– Offloading the CPU

29

PIC CPUInterrupt

Interrupt vector

Interrupt sources (external devices)

Page 30: System on a Chip ( SoC )

Exceptions, signals, & interrupts

• Exceptions– Any disruption of normal execution to execute

special instructions• Signals

– Inter-process communication• Interrupt

– Asynchronous exception introduced by external hardware

30

Page 31: System on a Chip ( SoC )

Timer

• Count time– Keep time

• How many cycles have elapsed– Measure time

• Whether a given period of time elapsed

• Generate interrupt

31

Capture registerClock

Compare registerComparator

Interrupt

Page 32: System on a Chip ( SoC )

Direct memory access (DMA)• Free CPU from data transfer• Multiple channels, master bus, interrupt CP when done

32

Page 33: System on a Chip ( SoC )

DMA (Contd.)

• Character mode• Block mode

33

Page 34: System on a Chip ( SoC )

Power-saving mechanisms

• Frequency scaling (slow down)– DCO

• Power saving modes

34

Page 35: System on a Chip ( SoC )

Miscellaneous• Pulse-width modulation (PWM)

– Applications: power delivery (charging, light, motor), sound synthesis• Watchdog timer

– Reset system under fault• Brownout reset

– Reset system when supply voltage low

35