socfor communication & multi-media...

78
SoC SoC for Communication & for Communication & Multi Multi-media Systems media Systems Prof. Prof. Yunho Yunho Jung Jung ([email protected] [email protected] ) Korea Aerospace University Korea Aerospace University

Upload: others

Post on 04-Aug-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC for Communication &for Communication &MultiMulti--media Systems media Systems

Prof. Prof. YunhoYunho JungJung(([email protected]@kau.ac.kr))

Korea Aerospace UniversityKorea Aerospace University

Page 2: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[2]

ContentsContents

± Introduction to IT technologies

± Overview of SoC (System VLSI) design

± Development of SoC for communication systems

± Development of SoC for multi-media systems

± Concluding remarks

Page 3: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

World of Information Technology World of Information Technology (1)(1)

[3]

Page 4: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

World of Information Technology (2)World of Information Technology (2)

WirelessMonitoring

Continuous Glucose Monitoring

[4]

Page 5: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Information Technology Products

MobileMultimediaConverged

SystemMultimediaCommunication

Computer

* PC* Work Station* Main Computer* S/W

* VR* PDA

* PSTN* Cellular / PCS* WLAN* WPAN

* VOD* DMB

* DTV, HDTV* CD, DVD* GAME* Graphic

Medical equip.* Remote

Sensing

Industrial / Medical

* Automotive electronic* Medical electronic

• Personal

• Intelligent

• Convergence

[5]

Page 6: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Major Research Fields in IT

RFTech

CommunicationProtocols &Algorithms

Control &Industrial Systems

System-on-Chip (SoC) & System

H/W S/W

Semi-Device

ElectronicCircuits

DataStructure

EmbeddedS/W

MultimediaDSP

Algorithms

Computer &Embeddedsystems

[6]

Page 7: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

Overview ofOverview ofSoCSoC (System VLSI) Design(System VLSI) Design

Page 8: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

세계세계 전자제품전자제품 및및 반도체반도체 시장시장 추이추이

± 1948년 Transistor 발 이래 지난 50년간, 반도체 산업은 매년 13%의 고속성장

± IT 산업 중 반도체의 비중은 계속 확대 21% (2005년) à 25% (2010년)

전자제품 전자제품

반도체 반도체

반도체 장비/재료 반도체 장비/재료

연 3% 성장연 3% 성장

연 8% 성장연 8% 성장

연 10% 성장연 10% 성장

연 9% 성장연 9% 성장

[8]

Page 9: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

세계세계 반도체반도체 시장시장 현황현황

± 시스템반도체 IC는 세계 시장매출액의 70%를 차지하나, 한 은 세계 시장매출액의 2.6%를 차지함

± Memory IC는 세계 시장매출액의 23%를 차지하나, 한 은 세계 시장매출액의 40% (세계 1위)를 차지함

종류 주요 품목세계 시장매출액

한국 매출

매출액시장

점유율

시스템반도체 IC CPU, MCU1833(70 %)

48 2.6 %

메모리 IC DRAM, SRAM608

(23 %)246

40 %(세계 1위)

개별소자 IC TTL, Power IC184(7 %)

총액 2626 294

2006년반도체

세계시장(2626억불)

메모리 IC

(23% : 608억불)

시스템 IC

(70% : 1833억불)

개별소자 IC

(7% : 184억불)

한국점유율

* 자료 : KSIA, Gartner 2007

(단위: 억불)

[9]

Page 10: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[10]

시스템시스템 도체도체: 10: 10대대 미래기술로미래기술로선정선정

Page 11: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

System Implementation ApproachesSystem Implementation Approaches

1) All S/W on general purpose very high-speed microprocessor

2) H/W engine + S/W(partly) on CPU. (H/W & S/W partitioning)

Approach 1 Approach 2

Very high-speedMicroprocessor

S/W

Adv: easy to implement & low cost

Disadv: very hard for read-time processing

EmbeddedCPU

S/W(partly)

H/WEngine(block)

ASIC

Adv: real-time processing & reasonable modification

Disadv: high-cost for implementation/change

[11]

Page 12: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

SoCSoC ConceptConcept

± SoC (System-on-Chip) : A complex IC that integrates

the major functions of a complete end-product into

a single chip(set)

Modem/ Multimedia

Core

CPU/DSPCore

Embedded S/W

CIS/MEMS IP

Analog/RF IP

Digital IP

Embedded Memory

[12]

Page 13: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

SoCSoC ComponentsComponents

Spec. & Design Methodology

System Algorithm à Standardization

H/W & S/W Partitioning

Data path & Control Block opt.

CPU (& DSP) Core

Memory & Bus, etc

Analog Block (ADC, Amp, filter)

RF CMOS block (LNA, mixer, PA..)

MEMS (Sensor, Actuator…)

Optoelectronic Components

• System Engineering

• H/W

• S/W

§ Signal Integrity & Interference§ packaging

Digital

Analog/RF

IO

System S/WEmbedded Application S/W

System

on

Chip(or MCM)

[13]

Page 14: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

SoCSoC Design ProcessDesign Process

SoC spec.

System algorithm(architecture)Design & Simulation

H/W & S/W partitioning

SoC Integration &Verification in real environment

(Co-Simulation)

Netlist

H/W DesignDigital (HDL) Analog/RF

Embedded S/W Design(C)

Embedded S/W

(Emulation)

Pre-verifiedIP

Verification& Test plan

DFTmodule

[14]

Page 15: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[15]

Major Steps for Algorithm DesignMajor Steps for Algorithm Design

1. Decision of performance target

Decide a performance target based on the user requirements and

functional spec.

2. Evaluation of existing algorithms

Evaluate the performance of some existing algorithms to compare

with the performance target using a behavioral-level modeling tool

(C/C++, SPW, Matlab, …)

3. Problem analysis of performance degradation

Analyze the performance degradation problem (if any)

4. Development of new algorithm

Try to develop a new algorithm to solve the degradation problem

and confirm the satisfaction of performance target

Page 16: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[16]

ExampleExample of Floating Point Simulationof Floating Point Simulation

± 802.11a WLAN System (SystemView)

Transmitter Receiver

Channel Model

Page 17: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[17]

Procedure for optimal H/W design (1)Procedure for optimal H/W design (1)

1. Define a detailed design spec. with performance target

Define a detailed design spec. of overall architecture and each

functional block

Define performance metrics such as required SNR (signal-to-noise

ratio), BER/PER, max. processing delay, max. frequency, etc

Ex) IEEE 802.11a (I)FFT block

− SQNR: min. 40dB, clock freq.: 20MHz, processing delay: max. 3.2usec

2. Decide S/W & H/W partitioning and a number of bits for

H/W to meet the required performance target

S/W vs H/W, floating-point vs fixed-point, # of bits for fixed-point

Ex) IEEE 802.11a (I)FFT block

− Choose the fixed-point method based on trade-off analysis between

performance and area/power consumption of FPU(vs. FxPU)

− Decide an optimal number of bits for fixed-point : 13bit (SQNR > 40dB)

Page 18: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[18]

Procedure for optimal H/W design(2)Procedure for optimal H/W design(2)

3. Decide an optimal H/W architecture for the required spec.

Develop or choose a best architecture to satisfy the required spec.

Consider trade-off analysis between performance and area/power

consumption

Ex) IEEE 802.11a (I)FFT block

− Single butterfly structure, pipeline structure, systolic array structure

− Choose pipeline structure based on trade-off analysis

4. Design using HDL and verify the real-time operation

Design using HDL and synthesize

− Try to minimize the H/W complexity while satisfying the target

operating frequency and timing

Simulate at gate-level using SDF (Standard Delay Format) info.

− Verify the max. delay and normal operation

Page 19: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

Development of modem Development of modem SoCSoCfor communication system for communication system

Page 20: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Trend of Wireless Comm. SystemsTrend of Wireless Comm. Systems

0.1 1 10 100 1000 Mbps

IMTIMT--2000/2000/

WW--CDMACDMA

WiBroWiBro

(802.16e)(802.16e) B3G (4G)B3G (4G)

NGNG--WLANWLAN

(802.11n)(802.11n)

NGNG--UWBUWB

(802.15.3c)(802.15.3c)

Ind

oo

rO

utd

oo

r

Fixed(WPANWPAN)

Walk

Fixed

Walk

Vehicle

(802.11b)(802.11b)

ZigBeeZigBee

(802.15.4)(802.15.4)

BluetoothBluetooth

(802.15.1)(802.15.1)

UWBUWB

(802.15.3a)(802.15.3a)

(802.11)(802.11)(802.11a)(802.11a)

(802.11g)(802.11g)

WLANWLAN

[20]

Page 21: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[21]

Block Block Diagram of digital comm. systemDiagram of digital comm. system

InformationSource

InformationInformationRecovered

SynchronizationSynchronization

Channel(wire, air,optical)

Channel(wire, air,optical)

Source Encoding

Channel Encoding

Multiplexing/Multiple access

Modulator

Source Decoding

DemodulatorChannel Decoding

Demux/ Multiple access

ISI

Electrical noise & interferences

Transmitter

Receiver

± Digital Communication System (DCS)

Page 22: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

Design of WLAN (IEEE 802.11a) Design of WLAN (IEEE 802.11a) Modem Modem SoCSoC

Page 23: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[23]

Network Protocol ArchitectureNetwork Protocol Architecture

Data LinkData LinkLayerLayer

Application LayerApplication LayerApplication LayerApplication Layer

LLCLLC (Logical Link Contorl)

MACMAC (Medium Access Contorl)

Presentation LayerPresentation LayerPresentation LayerPresentation Layer

Session LayerSession LayerSession LayerSession Layer

Transport LayerTransport LayerTransport LayerTransport Layer

Network LayerNetwork LayerNetwork LayerNetwork Layer

PhysicalPhysicalLayerLayer

PLCP SublayerPLCP SublayerPLCP SublayerPLCP Sublayer(Physical Layer Convergence Procedure)

PMD SublayerPMD SublayerPMD SublayerPMD Sublayer(Physical Medium Dependent)

StandardStandard

Page 24: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[24]

IEEE 802.11a WLAN PHY (1)IEEE 802.11a WLAN PHY (1)

± Uses OFDM technique

± Three 100 MHz U-NII (Unlicensed) frequency bands

5.15 ~ 5.25 GHz (max. power 40 mW)

5.25 ~ 5.35 GHz (max. power 200 mW)

5.725 ~ 5.825 GHz (max. power 800 mW)

± Signal bandwidth : 20 MHz (12 channels)

± Data rates : 6, 9, 12, 18, 24, 36, 48, 54 Mbps

± Modulation : BPSK, QPSK, 16QAM, 64QAM

± FEC : ½, ⅔, ¾ convolutional code (k=7)

± Number of subcarriers : 52 (N=64)

± OFDM symbol duration : 4.0 μs

± Guard interval : 0.8 μs (TGI)

± PER requirement : ≤ 10% for 1000 packets

Page 25: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[25]

802.11a PHY modulation scheme802.11a PHY modulation scheme

± Modulation scheme (standard)

Convolutional

Encoder

(1/2, 2/3, 3/4)

Inter-

leaver

Modulator

(BPSK, QPSK

16-QAM,

64-QAM)

Add Pilot

Subcarrier

(4 symbols)

IFFT

(64 points)

Add Guard

Interval

(16 symbols)

Symbol

wave

shaping

I Q

modS/P

HPA

AirChannel

Page 26: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[26]

± Block diagram of 802.11a WLAN Modem SoCData rate : 6~54Mbps @ 20MHz Bandwidth

Clock speed : 20/80MHz

H/W Architecture for 802.11aH/W Architecture for 802.11a

Depunc.&

Deint.

MacInterface

ScramblerConv.

Encoder

Puncturer&

Interleaver

SymbolMapper

IFFT&

Insert CP

RF/IFInterface

PreambleGen.

ChannelEstimation

Descram.Viterbi

Decoder

FFT&

RemoveCP

Time/Freq.

Synch.

SymbolDemapper

EqualizerPhaseTracker

clk_80MHz clk_20MHz

Page 27: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[27]

Top Block Diagram of Sync.Top Block Diagram of Sync.

- clock freq. : 20 MHz

- ADC output resolution : dual 10 bits

- Phase Rotate output resolution : dual 10 bits

SignalDetect

Freq. Sync.

Symbol Sync.

PhaseRotate

FFT

Sync. Controller

agc_start

(to AGC)

sync_done

(to main_ctrl)

sample_en

(to FFT)

sync_start

(from main_ctrl)

freq_rotate

sample_num

rxi

rxq

det_start

det_done

coarse_done

fine_done

coarse_start

fine_start

freq_offset

symbol_done

symbol_start

10

10

11

11

11

symbol_max

4

thres

Page 28: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[28]

ComplexMultiplier

re2+im2

re2+im2

re2+im2

<< 2

Averaging

CompareZ-16

Z-16( )2

( )2

sum

sum

sum

-1

rxi

rxq

5

5

thres

det_done

(to sync. ctrl)

det_start

(from sync. ctrl)

sum

Signal Detect

2

2

)( n

nn

P

CM =

± Block diagram of signal detect block

Schmidl Algorithm is implemented in Signal Detect block

Signal Detection BlockSignal Detection Block

Page 29: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[29]

IFFT / FFT Processor (1)IFFT / FFT Processor (1)

± Comparison of pipelined FFT

± Using 64-point R23SDF structureSingle path, simple control

Fast and low complexity structure

Multiplier (N=64) Adder (N=64)Memory size

(N=64)control

R2MDC 2(log4N-1) 4 4log4N 12 3N/2-2 94 Simple

R2SDF 2(log4N-1) 4 4log4N 12 N-1 63 Simple

R4MDC 3(log4N-1) 6 8log4N 24 5N/2-4 156 Simple

R4SDF log4N-1 2 8log4N 24 N-1 63 Medium

R23SDF log8N-1 1 4log4N 12 N-1 63 Simple

Page 30: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[30]

IFFT / FFT Processor (2)IFFT / FFT Processor (2)

± IFFT/FFT H/W Architecture13bit fixed point precision

Criterion : more than SQNR 40dB

Simulation results

SQNRReal Imaginary

40.55dB 41.23dB

2

10 2

| Input data |SQNR 10log

|Input data - FFT results|=

BF2

32

BF2

16

BF2

8

BF2

4

BF2

2

BF2

1

W4

W8

W64 W8

W4

26 [25:13] Real

[12:0] Imag

26

Page 31: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[31]

H/W ImplementationH/W Implementation

± Hardware implementation resultUsing 0.18um CMOS standard cell library

Block Name Logic gates

Synchronizer 69 K

Channel Estimator 31 K

Equalizer 47 K

Phase Tracker 14 K

Deinterleaver & Depuncturer 117 K

Viterbi Decoder 189 K

Interleaver & Puncturer 28 K

Mapper & Demapper 11.5 K

FFT / IFFT 45 K

TOTAL 550 K

Page 32: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[32]

FPGA implementationFPGA implementation

± PLCP processor

Conv. encoder, Viterbi decoder, (De)puncturer, (De)interleaver

± PMD processor

Symbol (De)mapper, (I)FFT, Estimator & Equalizer

PCI controller

PLCP processor PMD processor

PCI controller

PLCP processor PMD processor

Page 33: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

IE

EE 802.11n WLAN Modem

IEEE 802.11n WLAN Modem

Page 34: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

ApplicationsApplications

± WLAN

Support 200~600Mbps data rate within 100m range

High speed wireless multimedia service using laptop computer, home theater, and handheld device (PDA, MP3P, PMP, etc)

Mobile internet and VoIP with WLAN-equipped cellular

[34]

Page 35: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

PHY Spec.PHY Spec.

[35]

Feature Description

RF Frequency 2.4 GHz / 5.24 GHz

# of Spatial Streams & TX antennas 1~4

Channelization bandwidth 20MHz / 40MHz

# of Occupied Subcarriers (52, 56) @ 20MHz / (104, 114) @ 40MHz

# of Data Subcarriers (48, 52) / 108

# of Pilot Subcarriers 4 / 6

# of FEC encoder 1~2

Modulation Order BPSK, QPSK, 16-QAM, 64-QAM

Code Rate 1/2, 2/3, 3/4, 5/6

Guard Interval 800ns / 400ns

Convolutional Coding R=1/2, K=7, (g1=1338, g2=1718)

Peak data rate 144.40Mbps (Mandatory) / 600Mbps (Optional)

MIMO scheme Direct Map, SDM, STBC

PPDU Format Legacy, HT (Mixed Mode, Green Field Mode)

Page 36: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

MAC Spec.MAC Spec.

[36]

Feature Description

Frame AggregationMSDU aggregation (Max. 64 MSDUs and 7,935 bytes)

MPDU aggregation (Max. 64 MPDUs and 65,535 bytes)

Efficiency Improvements

Reverse direction data flow

Block Ack with A-MPDU

Link ManagementLink adaptation with MCS feedback information

Transmit/receive antenna selection using sounding PPDU

Power Saving Power-Save Multi-poll

Coexistence

L-SIG TXOP Protection

Channel selection (20 MHz, 40MHz)

Phased coexistence operation

Page 37: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

PHY H/W Block diagramPHY H/W Block diagram

[37]

IFFT

IFFT

IFFT

IFFT

MIMOOFDM

Encoder

Stream mapper

FEC Encoder

MACInterface

FFT

FFT

FFT

FFT

RF/IFInterface

Viterbi Decoder

ViterbiDecoder

ChannelEstimator

FEC Encoder

Mapper

Mapper

Mapper

Mapper

Cliiping/Filtering

Cliiping/Filtering

Cliiping/Filtering

Cliiping/Filtering

Stream demapper

Deinterleaver

Deinterleaver

Deinterleaver

Deinterleaver

Cliiping/Filtering

Cliiping/Filtering

Cliiping/Filtering

Cliiping/Filtering

Interleaver

Interleaver

Interleaver

Interleaver

MIMOOFDM

Decoder

Demapper

Demapper

Demapper

Demapper

Modulation

Demodulation

Page 38: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

MAC Functional Block DiagramMAC Functional Block Diagram

[38]

Page 39: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

M a

jor Research Topics (1)

Major Research Topics (1)

± MIMO symbol detection algorithmsHigh-performance symbol detection algorithm (Near-ML) for STBC-OFDM and SDM-OFDM schemes

Hardware optimized detection architecture

± High-performance algorithmsTime/Frequency synchronization

Phase offset tracking & compensation

Channel estimation

[39]

Page 40: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Major Research Topics (2)Major Research Topics (2)

± Low-complexity & high-throughput LDPC encoder/decoder

To achieve error correction performance close to Shannon’s limit

Low complexity & high-throughput architecture

± High performance MAC processorMultiple frame processing for frame aggregation

Cyclic frame buffer architecture to handle long frames

H/W & S/W optimum partitioning

[40]

Page 41: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Chip ImplementationChip Implementation

[41]

Block Logic Gate Count

MAC 176,242

TX controller & FEC 5,417

Interleaver & Deinterleaver

141,902

LDPC Encoder 216,600

Viterbi 190,759

RX controller 14,772

Total 745,692

TechnologyDongbu 0.18mm

CMOS process

Package 208pin LQFP

Core Size 5 x 5 mm2

Clock speed 40MHz

Supply Voltages 1.8V Core, 3.3V I/O

Power Consumption

(mW)

TX : 62

RX : 284

LDPC encoder : 70

Page 42: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Test EnvironmentTest Environment

± Chip test : Chip + FPGA + Test BoardThe image in the TX monitor is processed by chip & FPGA test board.

Demodulated image is displayed in the RX monitor.

[42]

DVI

Interface

11n test vector 및PMD

USB Interface

DVI

Interface

MPW Chip

TX

RX

Page 43: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

ZigBeeZigBee (IEEE 802.15.4) Modem(IEEE 802.15.4) Modem

Page 44: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

ApplicationsApplications

± ZigBee system (IEEE 802.15.4 standard)

Application in WPAN & WSN system

Low data transmission (250K ~ 1Mbps) with low power in 10m range

Home Security, Home Automation

Health care equipment system

Environment, water quality and bridge safety surveillance system

Smart toy, PC Peripherals

[44]

Burglar Surveillance

Network Camera with ZigBee

Lighting with ZigBee

Auto-Image saving

Light ON

RG Alarm with ZigBee

CDMA/WCDMA

Mobile

SMSReal time Saving image receiving

Security company

Cellular Network

Page 45: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

PHY/ MAC Spec.PHY/ MAC Spec.

[45]

Feature Description

RF Frequency 2.4 GHz (World wide)

868 MHz (Europe) /915 MHz (North America)

Channelization bandwidth 2.4 GHz : 2 MHz

868/915 MHz : 300KHz/600KHz

Modulation 2.4 GHz : OQPSK

868/915 MHz : BPSK

Data rate 2.4 GHz : 250 kb/s

868/915 MHz : 20/40 kb/s

Coverage 10m

Mobility NO

Medium Access Control CSMA/CA

Page 46: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

P H

Y H/W Block diagram

PHY H/W Block diagram

[46]

MACInterface

RF/IFInterface

Modulation

Demodulation

BitTo

Symbol

SymbolToBit

SymbolTo

Chip

O-QPSKModulation

Non-coherentDemodulation

Sample Synchronizaion

1

4

symbol_en

symbol_out

1

1

chip_en

chip_out

1 demod_en

1

4

symbol_en

symbol_out

1

1

1

1

ppdu_en

ppdu_in

stb_en

ppdu_out

6

1

pulse_re

pulse_en

6pulse_im

4

4

sync_en

sample_re

sample_im

1

Page 47: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

MAC Functional Block DiagramMAC Functional Block Diagram

[47]

Page 48: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Chip ImplementationChip Implementation

[48]

4500um

45

00

um

0.35um CMOS

Baseband Core 65.5k

Baseband Controller 4.7k

8051 Microcontroller 15k

etc 3.3k

Total 91.2k

4500um x 4500um

CQF208

System Main 22.1184MHz

Baseband (ADC/DAC) 4MHz

42mW

3.3V

Ave. Power (est.)

Process

Die Size

Gate Count

Package

Clock

Frequency

Operating

Voltage

8051Processor

Core

MACS/W

BasebandPHY

ModemCore

Peripherals

Page 49: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Test EnvironmentTest Environment

± Chip test : Chip + FPGA + Test BoardCommunication with PC thru UART

With RF module

Forming WPAN and data transmissionWithout RF module

Data transmission

[49]

Coordinator Device

LR_WPAN

Page 50: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

Development of Development of SoCSoCfor multifor multi--media systems media systems

Page 51: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Digital Broadcasting SystemsDigital Broadcasting Systems

Audio

CIF

SD

UD

3D

HD

VGA

QualityQuality

InteractivityInteractivity

Analog TVAnalog CATVFM/AM

147

DABUSA: IBOC/IBACEurope: Eureka-147Japan: ISDB-T

Uni-direction DMB

China: DMB-T

Uni-direction DMBKorea: T-DMB/S-DMBUSA: FLO(Qualcomm)Europe: DVB-HJapan: ISDB-TSBChina: DMB-T

UDTV(2000x2000)

SDTVEurope: DVB-T

Giga DCATV(1Gbps)

3DTV(Multi-View)

2000

2005

2010

Bi-direction DMB

anywhere Realistic TV)

SmarTV(Super-intelligent Multimedia Anytime-anywhere Realistic TV)

USA/Korea: DOCSISDCATVUSA/Korea: DOCSISEurope: DVB-C

Satellite DTVEurope/Korea: DVB-SSatellite DTVEurope/Korea: DVB-S

USA/Korea: ATSCJapan: ISDB

HDTVUSA/Korea: ATSCJapan: ISDB

Realistic TVHolographic TV

[51]

Page 52: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

Image Signal ProcessorImage Signal Processorfor CMOS Image Sensorfor CMOS Image Sensor

Page 53: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

ISP for CIS (CMOS Image Sensor)ISP for CIS (CMOS Image Sensor)

SceneScene LensLens CFACFA

ImageImageSignalSignal

ProcessorProcessor

Bayer ImageBayer Image

RGBRGBColor ImageColor Image

SensorSensor

ChannelChanneloror

StorageStorage

[53]

Page 54: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Image Signal ProcessorImage Signal Processor

± Image Processing for CIS imagePre-processing unit to enhance Bayer image

Fixed Pattern Noise (FPN) Removal, Vignetting Reduction, Auto Focus

Color Interpolation

Bayer to RGB

Image Enhancement of RGB image

Auto Exposure, Anti - Color Rolling

[54]

<Image Signal Processor>

Page 55: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Image Data FormatImage Data Format

± Input data : Bayer ImagePhoto detector converts incident radiant power into photocurrent that is proportional to the radiant power

One color filter for one sensor unit for sufficient photo energyconsumption

± Output data : RGB Image3 primary colors of image

8/10/12 bits color

[55]

Page 56: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Fixed Pattern Noise Removal (FPNR)Fixed Pattern Noise Removal (FPNR)

± Detect & remove sensor defect pixels

[56]

FPN Detection

Cluster

FPN

FPN Correction

[56]

Page 57: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

VignettingVignetting Reduction (VR)Reduction (VR)

± Correct distortion image generated by Lens edgeUsing Anti-Vignetting function to remove Vignetting phenomenon

[57]

Page 58: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Auto Focus (AF)Auto Focus (AF)

Focusing Index

Before AF After AF

± Provide focusing index gradient for Lens focus

[58]

Page 59: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Color Interpolation (CI)Color Interpolation (CI)

± Color InterpolationConvert Bayer image to RGB image

[59]

f(0,0)

f(1,1)f(1,0)

(f0,3)f(0,2)f(0,1)

f(1,3)f(1,2)

f(2,0)

f(3,1)f(3,0)

f(2,3)f(2,2)f(2,1)

f(3,3)f(3,2)

Color interpolation

G B G B

R G R G

G B G B

R G R G

i

j

[59]

Page 60: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Auto Exposure (AE)Auto Exposure (AE)

± Contrast enhancementMake picture contrast better for human eyes

Operate local contrast enhancement and global contrast enhancement

Before After

[60]

Page 61: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

AntiAnti--Color rolling (ACR)Color rolling (ACR)

± Color correction for each frame using mean adjustment

± Auto White Balance (AWB) in Video sequence

[61]

#2

#150

Before correction After correction

[61]

Page 62: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

ACR Result ImageACR Result Image

[62]

Input

# 150

Outp

ut

Targ

et M

ap

# 250 # 350 # 450

Page 63: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

H/W Design IssuesH/W Design Issues

± Development of each algorithm for low-complexity H/W

± Optimum H/W architecture

± Reduction of line memory & multipliers

± Low-power design

Page 64: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

F P

GA Verification (1)

FPGA Verification (1)

± H/W verification with FPGAVerify with Xilinx Virtex-4 LX200

HyVision Interface board is used

[64]

Page 65: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

FPGA VerificationFPGA Verification (2)(2)

± FPGA board for H/W verification

[65]

Page 66: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

H.264/AVC H.264/AVC Video Encoder/DecoderVideo Encoder/Decoder

Page 67: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[67]

Video Compression StandardsVideo Compression Standards

1990 1995 2000 2005 2010

H.261(1990)

H.263(1995/1996)

H.263+(1997/1998)

H.263++(2000)

MPEG-2(H.262)

(1994/1995)

MPEG-1(1993)

MPEG-4 v1(1998/1999)

MPEG-4 v2(1999/2000)

MPEG-4 v3(2001)

ITU-TVCEG

ISO/IECMPEG

H.264(MPEG-4Part 10)(2002)

MPEG-7(2001)

MPEG-21(2003)

JPEG(1992)

JPEG2000(2000)

MotionJPEG2000

(2002)

Video phone: PSTN, B-ISDN

Low Quality: 64~1.5Mbps

Digital Camera

Internet

Video CD, Internet

VHS Quality:<1.5Mbps

Digital Broadcasting

High Quality: 1.5~100Mbps

Broadcasting

Video Conference

Various Quality:

64kbps~240Mbps

Multimedia content search & filtering Digital Item Distribution over network

Digital Cinema

Digital Editing

H.NGVC& HVC(2010)

Page 68: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Compression of Image DataCompression of Image Data

± Full HD image(1920ⅹ1080) resolutionⅹ3 Colors(R,G,B)/elementsⅹ8 bit/elementⅹ60 frames/sec = 2.96 Gb/sec for real-time operation

± Compression Data

[68]

Un-compressed

MPEG-2(40~50배 압축)

H.264(MPEG2 대비 2배)

H.NGVC(H.264 대비 2배)

SD(640x480)

450 Mb/s ~ 9 Mb/s ~ 4.5 Mb/s ~ 2.3 Mb/s

Full HD(1920x1080)

2.96 Gb/s ~ 60 Mb/s ~ 30 Mb/s ~ 15 Mb/s

4k UHD(3840x2160)

11.8 Gb/s ~ 240 Mb/s ~ 120 Mb/s ~ 60 Mb/s

Page 69: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[69]

Comparison of image qualityComparison of image quality

H.264 MPEG4

< Spec : S-DMB, QVGA, 384kbps >

Page 70: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[70]

Basic Coding Structure of H.264Basic Coding Structure of H.264

EntropyCoding

Scaling & Inv. Transform

Motion-Compensation

ControlData

Quant.Transf. coeffs

MotionData

Intra/Inter

CoderControl

Decoder

MotionEstimation

Transform/Scal./Quant.-

InputVideoSignal

Split intoMacroblocks16x16 pixels

Intra-frame Prediction

De-blockingFilter

DecoderOutputVideoSignal

Encoder

FileData

Page 71: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Basic Operations of H.264Basic Operations of H.264

± Convert RGB to YUV (Luminance & Chrominance)YUV format : Color data is divided by luminance and chrominance information

± PredictionIntra-frame Prediction

ME/MC (Inter-frame Prediction)

± TransformDCT (Discrete Cosine Transform)

± Quantization

± Deblocking Filter

± Entropy Coding

[71]

Page 72: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[72]

IntraIntra--frame Predictionframe Prediction

< Original Image >

< Prediction block >

< Current block >

< Recon. Image >

B1

B1

B’1

B’1 Upper

Left

CurrentBlock

Predicted block fromReconstruction Image

± Exploit spatial redundancy on single frame

Page 73: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[73]

ME/MC (InterME/MC (Inter--frame Prediction)frame Prediction)

± Exploit temporal redundancy between continuous two frames

± Motion Estimation (ME)Find a motion vector

± Motion Compensation (MC)Generate reference frames using results of motion estimation

Video clip

Current frameReference frame

Motion vector

Page 74: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

T r

ansform & Quantization

Transform & Quantization

± Compact the energy into as few coefficients as possible using DCT (Discrete Cosine Transform)

[74]

Page 75: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

DeblockingDeblocking FilterFilter

± Maintain the sharpness of real edges

± Smooth the unpleasant block boundaries

[75]

< Before filtering > < After filtering >

Page 76: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

Entropy CodingEntropy Coding

± Generate output encoding data

1) CAVLC (Context-based Adaptive Variable Length Coding)

Utilizes multiple variable length codeword tables for transform coefficient encoding, with a single table used for non-coefficient data.

2) CABAC (Context-based Adaptive Binary Arithmetic Coding)

Multiplication-free low-complexity methods using only shifts and table look-ups, providing a reduction in bit-rate

[76]

Page 77: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.

FPGA verification for H.264FPGA verification for H.264

± H.264/AVC Baseline profile Encoder/DecoderReal-time verification using Xilinx Virtex5 LX330 FPGA

[77]

Page 78: SoCfor Communication & Multi-media Systemstera.yonsei.ac.kr/class/2011_1/lecture/20110415...Mobile Multimedia Converged System Communication Multimedia Computer * PC * Work Station

SoCSoC Design Lab.Design Lab.[78]

Concluding remarksConcluding remarks

± System_on_chip is one of top priority in IT research field

± SoC designer should have an ability to planning of SoC

development based on trends of user demands & system

± SoC architect is the most important person who

understand the total system and interface

± (also H/W & S/W partitioning and co-design issues)