Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS...

24
Santa Clara, CA August 2012 Total IP Solution for Mobile Storage UFS & NAND Yuping Chung Arasan Chip Systems San Jose, CA 1

Transcript of Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS...

Page 1: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012

Total IP Solution for Mobile Storage

UFS & NAND

Yuping Chung

Arasan Chip Systems

San Jose, CA

1

Page 2: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Fast Growing NAND Storage Markets

Mobile

SSD Tablet

GB(M)

15

10

5

71% 118% 140%

CAGR (2012 – 2014)Source: Gartner

2

Page 3: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Global eMMC Memory Shipment Forecast (Millions)

GPS

eReader

Tablet

Handset

Mobile Storage Keeps Growing

Source: IHS iSuppli Research June 2011

2010

2011

2012

2013

2014

2015

3

Page 4: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

MIPI Adoption Driven by Smart Mobile

4

MIPI – (Mobile Industry Processor Interface Alliance)

The standard body defining M-PHY & UniPro adopted by JEDEC UFS

M units

Page 5: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

HSI

LLI

UFS Integrated with MIPI protocolsUsing same M-PHY and UniPro® specs

Coprocessor

IC

LLIBaseband

Processor

SLIMbus

Power Mgmt IC

DSIApplications

Processor IC

UFS

UniPro

CSI

M-PHY

5

Page 6: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Why UFS ?

• JEDEC standard (JES220)

• Leverage and Reuse Existing Standards

• MIPI Architecture – UniPro, M-PHY

• SCSI Command Sets

• Serial Interface Rx / Tx - SoC Lower Pin Count

• High Bandwidth Migration Path for eMMC - 1.5/3/6 Gbps

• Lower Power for Mobile Applications

UFSeMMC 4.5 eMMC 4.51

2011 20132012 2014

6

Page 7: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Mobile SoC Support Multiple Storage

Interfacesand Backward Compatibility

2000 2004 2005 2006 2007 2008 2009 2010 2011 20121994

SD 1.1High

speed

SD 2.0High

capacity

SD 3.0UHS-I

SDIO

1.0

SDIO

3.0

UHS I

SD 4.0UHS II

1.56Gbps

SDIO

2.0

50Mhz

SD SD 1.0

eMMC 4.5

HS200

200MB/s

eMMC 4.3

Boot-up

MMC 4.1

High Speed

eMMC 4.41

DDR

MMC 4.2

High

Capacity

UFS 1.1

3GbpseMMC / UFS

USB

USB 1.0

12 Mbps

USB 2.0

480 MbpsUSB 3.0

5 Gbps

ONFi 1.0

50 MB/s

ONFi 2.x

150 MB/s

DDR

ONFi 3.0

400MB/s

DDRNAND

SDIO

4.0UHS II

1.56Gbps

7

Page 8: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

1. Complexity of Integration• Physical Layer Analog Interface

• Controller Digital Design

• Controller Firmware and OS Software

Drivers

• OS File Systems & Stacks

2. Compliance• Meet specifications

3. Compatibility• Comprehensive Interoperability

Total Solution Supporting Mobile

Storage

8

Page 9: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

UFS Mobile Storage Implementation

M-P

HY

UFS Host UFS Device

NA

ND

Co

ntro

ller

AX

I, AH

B, e

tc

AX

I, AH

B, e

tc

AR

M C

ore

AM

BA

Inte

rfac

e

Reset

Ref Clock

Dout+/- Din+/-

Din+/- Dout+/-

NA

ND

H C

I

M-P

HY

AM

BA

Inte

rfac

e

Controller IP Core Controller IP Core

9

Page 10: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

UFS-SCSI Command Set Layer

(UCS)

UFS Transport Protocol Layer

(UTP)

UFS InterConnect Layer

(UIC)

L4 = Transport

L3 = Network

L2 = Data Link

L1.5 = PHY adapt

L1 = M-PHY

UniPro

M-PHY

UFS

Controller IP

Core

Layered Architecture & Reusability

UFS

M-PHY

10

Page 11: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

UniPro® Ensures Data Integrity

Header TrailerDest. CPort

Dest. Device

CRC

Data

L4 – Segment

L3 – Packet

L2 – Frame

17b symbolL1.5 – symbol

Application

Data - Message

-- Tx / Rx pair

8b10b symbolL1 – symbol

+ +

11

Page 12: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

UFS Controller with Certified UniPro®

M-P

HY

UFS

Host Controller IP

UFS Device Controller IP

NA

ND

Co

ntro

ller

AX

I, AH

B, e

tc

UniPro®

AX

I, AH

B, e

tc

AR

M C

ore

AM

BA

Inte

rfac

e

Reset

Ref Clock

Dout+/- Din+/-

Din+/- Dout+/-

ON

FI / T

og

gle

NA

ND

H C

I

M-P

HY

UniPro®AM

BA

Inte

rfac

e

12

Page 13: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

M-PHY Type 1 Key Features for UFS(con’t)

� HS Gear 1, 2, 3

� LS PWM Gear 0-7

� Configurable up to 4 lanes

� Ref clock - 19.2 / 26 / 38.4 / 52 MHz

Gear Bit Rate Mbps Implementation

0 below Gear 1 not supported

1 3 to 9

2 6 to 18

3 12 to 36

4 24 to 72

5 48 to 144

6 96 to 288

7 192 to 576

LOW SPEED

Mandatory

Optional

Gear Rate A Rate B Implementation

1 1.25 Gbps 1.5 Gbps Mandatory

2 2.5 Gbps 3 Gbps Optional

3 5 Gbps 5.8 Gbps Optional

HIGH SPEED

13

Page 14: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

M-PHY Type 1 Key Features for UFS

• Differential Serial Interfaces

• Type 1 M-PHY

• High Speed NRZ Signaling

• Low Speed PWM Signaling

• Up to 4 Lanes

• Power Savings

Logic 0

Logic 1

DIF-N

DIF-P

DIF-N

DIF-P

Power States Description

StallHS-Mode power saving state;

Allows fast recovery time

Sleep LS-Mode power saving state;

Hibern8Ultra Low Power State;

Configuration still intact

DisabledDiabled by Reset;

Configuration reset to default

Unpowered Power Supply Removed

PWM

14

Page 15: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

M-PHY for UFS Implementation

11 Synchronization

22Type-1:

HS & LS Mode

33 Power Saving

44 Data Integrity

55Coding for

NRZ & PWM

11

44

44

33

55

22

55

15

Page 16: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

ONFI for High Performance UFS

Device

M-P

HY

M-P

HY

NAND

Controller IP

NA

ND

Co

ntro

ller

So

Cb

us

UniPro® UniPro® ON

FI / T

og

gle

NA

NDUFS Host IP UFS Device IP

16

So

Cb

us

Page 17: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

JEDEC Proprietary JEDEC/ONFI

NAND Flash Interface Evolution

Source: JEDEC 2010

17

Page 18: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

ONFI Interface 2.x, 3.0

FeatureONFI 2.0 ONFI 2.3 ONFI 3.0

SDR NV-DDR NV-DDR2

Max SpeedMode 5

(20ns)

200 MT/s

(100Mhz)

400 MT/s

(200Mhz)

CE_n Pin Reduction Yes Yes Yes

Volume Addressing Yes Yes Yes

On-die termination

(ODT)No No Yes

Differential

SignalingNo No

Yes, optional for

DQS and/or RE_n

I/O VccQ 3.3V / 1.8V 3.3V / 1.8V 1.8V

External VREFQ No No Yes

18

Page 19: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

8/1

6 b

it

ON

FI / T

og

gle

NA

ND

fla

sh

AHB/APB

Slave

Interface

ON

FI N

V-D

DR

2 /

NV

-DD

R /

To

gg

le /

SD

R

PH

Y

Dual-port

RAM

DMA

Slave

AHB

Master

Interface

Transfer

Control

Protocol

Engine

Control

Register

Processor

(ARM)

ECC

So

C s

yste

m b

us

NAND Controller IP includes:

• ONFI 3.0 NV-DDR2 PHY, ONF 2.3 NV-DDR, SDR

• Toggle DDR1 / 2

• ECC engine

• Software Stack

Versatile NAND Flash Controller IP

19

Page 20: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Challenge of ONFI 3.0 @ 400MT/s

Process, Voltage, and Temperature (PVT) lead to clock misalignment

A synthesized solution cannot meet the 2.5ns DDR data period

A hard IP DLL or Delay Circuit is required to ensure the clock edge

is aligned to the center of data for correct sampling

DQ0 DQ1 DQ2 DQ3

2.5ns

Aligned Clock

Misaligned

Clock

Clock misaligned due to

PVT variations

20

Page 21: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Optimized 200MHz ONFI 3.0 PHY

PLL

TX BLOCK

ASYNC

FIFO

RX BLOCK

DRIVER

RECEIVER

Phase

Shift

Logic

Phase

Shift

Logic

FLASH

INTERFACE

2x CLK1x CLK

CONTROLLER

INTERFACE

pad

pad

ONFI 3.0 compliant I/O pad

- 1.8v / 3.3v dual voltage

(not a typical DDR pad)

DLL Circuit

- More accurate than typical

delay circuit

- Allows designer to align and

optimize for data sampling;

- Smaller die size and lower

power consumption

2X clock into Tx generates

ore accurate sampling clock

1122

33

21

Page 22: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Dynamically Configurable ECC Engine

8/1

6 b

it

NA

ND

fla

sh

High Performance:

Parallel bit processing

on BCH encoder

Low Latency:

Parallel syndrome generation

on BCH decoder

1. Modular design expandable to 32-bit or more ECC capability

2. Match different ECC requirements for different NAND ICs

BCH Decoder:

Inversion-less Berlekamp-Massey algorithm for Key Equation Solver

Parallel computation for Key Equation Solver using parallel Chien search algorithm

Patent Pending ECC Engine

22

Page 23: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

InterOperable Analog PHY IP & Software

Validation Platform

Companion Software Stacks

UFS / NAND Total IP Solution

UFS Host & Device

Certified Digital IP Core

23

Page 24: Total IP Solution for Mobile Storage UFS & · PDF fileTotal IP Solution for Mobile Storage UFS & NAND ... DDR MMC 4.2 High ... M-PHY AMBA Interface Controller IP Core Controller IP

Santa Clara, CA August 2012Santa Clara, CA August 2012

Thank You

Yuping Chung

Arasan Chip Systems

San Jose , CA

[email protected]

24