SlideShare a Scribd company logo
1 of 9
Download to read offline
White Paper
Universal	
  Flash	
  Storage:	
  Mobilize	
  Your	
  Data
Copyright Arasan Chip Systems, Inc. 2012
Executive Summary
The explosive growth in portable devices over the past decade continues to
challenge manufacturers wishing to add memory to their products that meet
these four basic criteria:
• High bandwidth
• High capacity
• Low power
• Low cost
Flash storage technology and standards have evolved rapidly to meet these
requirements. Universal Flash Storage (UFS) was created for mobile applications
and computer systems requiring high performance and low power consumption.
These systems typically use embedded Flash based on the JEDEC standard
eMMC. UFS was defined by JEDEC as the evolutionary replacement for eMMC
offering significantly higher memory bandwidth. The standard builds on existing
standards such as the SCSI command set, the MIPI Alliance M-PHY and
UniProSM
as well as eMMC form factors to simplify adoption and development.
Arasan is actively supporting UFS IP solutions and development environment.
Yuping Chung
Arasan Chip Systems
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p2
Introduction
Higher data transfer bandwidth requirements are driven by data traffic such as
multimedia content download/upload and multi-threaded operations. Storage
device have to maintain performance to support transfers of large multimedia
files such as video, music and photos as well as actively running multiple
applications on a mobile platform.
Accompanying the technology improvements have been standards
developments that allow applications to use the storage interactively. The
standards also have allowed applications to migrate from parallel bus interface
to serial differential transmission for higher throughput and lower pin count.
Standard Bodies to the Rescue
As flash technologies have leapt forward, new interface standards have been
developed to take advantage of them. An early entry to the standards scene
was the SD Association, which supported only removable, large capacity cards
for user content storage. The JEDEC standard eMMC, unlike SD offered
bootable on-board storage for large code and application software as well as
user content in a non-removable package. While eMMC continues to use a
single ended bus interface, most other data storage interface standards have
adopted serial differential signaling to meet the ever increasing high bandwidth
requirements. In 2008 JEDEC began looking for a serial differential solution to
replace eMMC.
A separate industry consortium, the Mobile Industry Processor Interface (MIPI)
Alliances, also had an interest in developing a high-performance, serial I/O
standard that could serve as a unified connection for data transfers between
different processors and peripheral devices on a mobile platform, such as with
camera sensors or display panels. One of the critical peripherals on a mobile
device is the data storage device. MIPI was considering a data storage device to
take advantage of its unified serial differential interface.
Un-divide and conquer
As both standards bodies were defining new specifications for the same
peripherals, it became clear that there was a need for only one. In 2010, both
MIPI and JEDEC adopted UFS as the common data transfer protocol for mobile
systems.
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p3
Universal Flash Storage (UFS)
UFS uses a layered architecture as specified in JEDEC standard 220A. The
upper layers in the standard were defined by the JEDEC while lower layers in the
protocol where adopted from existing MIPI UniPro and M-PHY standards.
Intended for applications requiring large storage capacity for data and bootable
code, UFS offers a simple, but high-performance, serial interface that efficiently
moves data between a host processor and mass storage devices.
Leverage the SCSI command set
The UFS standard adopts the well-known SCSI Architecture Model and
command protocols supporting multiple commands with command queuing
features and enabling a multi-threaded programming paradigm. This differs from
conventional flash-based memory cards (eg eMMC) and embedded flash
solutions which process one command at a time, limiting random read/write
access performance.
In addition, a complementary UFS Host Controller Interface (HCI) specification
allows system designers greater flexibility by simplifying the involvement of the
host processor in the operation of the flash storage subsystem. The adoption of
SCSI provides a well-known software- programming model and enables wider
market adoption. It provides a standard programming interface for UFS by
enabling the use of common Host/OS drivers and a common register set for the
OS driver as well as a low-level driver, which can be customized as necessary
for the HW host controller. It gives optimized support for various UFS usage
models with regards to embedded mass storage memory card and UFS bus
topology.
These specifications enable efficient transitions between the active and power
save modes. Combined with a low active power level and a near-zero idle power
level, UFS offers the promise for significant reductions in device power
consumption. It will satiate the ever-growing demand for versatile storage
solutions and improved device performance.
UFS provides for both embedded and removable card formats with the same
interface, which simplifies controller design.
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p4
Time to market and low barriers to adoption
For the best reusability, UFS leverages existing standards of MIPI architecture
and SCSI command sets. UFS adopted MIPI UniPro and M-PHY for the link
and PHY layers, and the SCSI command sets as the application protocol. UFS
uses serial interface for high-speed data transmission; it also implements power
management to lower the power consumption.
Compatibility
UFS is an upcoming new mobile storage interface. But the challenge for an
Application Processor (AP) SoC is to support multiple standards plus backward
compatibility. SD has evolved from the single ended bus interface used in SD 3
to the differential serial transmission pairs. As an SoC designer, you will need to
support the backward compatibility by implementing both singled ended and
serial interfaces. Similarly, eMMC has also evolved from single data rate to
double data rate in order to support 200MB/s bandwidth. Again, the SoC needs
to be backward compatible.
Standard NAND Device Interface
One of the newer interfaces in mobile storage is the ONFI NAND interface.
Again, it has evolved from ONFI 2.3 to ONFI 3.0 and the backward compatibility
is very critical to the SoC designers.
To mitigate the challenges of backward compatibility, it is very important to
choose a solution that offers the complete suite of IP components that address
the design complexity, the standard compliances, and the interoperability
among different devices. When choosing an IP provider, it is preferred to
choose an IP certified by test centers, along with the associated analog IP and
software drivers and utilities. In addition, ability to verify the IP before tape out
and the ability to validate the 1st
silicon in a hardware platform is also critical to
shorten the development cycle.
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p5
UFS Architecture
In a mobile device with a typical MIPI platform implementation, there are several
different peripherals using the same physical interfaces (i.e. D-PHY or M-PHY)
and the same link layer (i.e. UniPro).
Figure 1. UFS in a MIPI configuration
Peripherals using D-PHY or M-PHY include high bandwidth data storage
interface (UFS), camera serial interface (CSI), display serial interface (DSI), and
low latency interface (LLI). Using the same interface IP for multiple peripherals
in a mobile device greatly simplifies the design effort and improves the time to
market.
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p6
UFS Implementation Detail
In the diagram below, the implementation of a UFS host or device is simplified
to the M-PHY, digital (UniPro) core and the interface to either the Soc or the
NAND Flash memory. We will examine each of these in detail.
Figure 2. UFS to UFS Interface
UFS Layered Architecture
There are three major layers in the UFS architecture: UCS, UTP and
Interconnect (UniPro + M-PHY). The command set layer (UCS) is the interface to
the software application and incorporates the SCSI standard as the baseline
protocol for UFS specification. The Transport Layer (UTP) is responsible for
encapsulating the protocol into the appropriate frame structure for the
interconnect layer. The Interconnect Layer (UIC) is a combination of digital and
analog IP.
Figure 3. UFS Layered Architecture
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p7
Let’s take a look of what UniPro does. UniPro stands for Universal Protocol
defined by MIPI. UniPro has four layers, L1.5 the PHY adapter, L2 the data link
layer, L3, the network layer, and L4, the transport layer. Layer 1.5 and 2
ensures the data integrity and reliability, while layer 3 and 4 ensures the data is
routed to the intended UFS host or device.
Layer 4 attaches the application data or message with header, trailer, and
destination C-port to generate a segment. Layer 3 further attached the
destination device information to the segment and it becomes a packet. Layer 2
adds the CRC to become a frame so the receiving end can verify the data
integrity. Layer 1.5 and Layer 1 convert each frame to become encoded
symbols before transmission to minimize the transmission errors and increase
the transmission accuracy.
UniPro, if licensed from an IP vendor like Arasan, must first pass the certification
program currently managed by University of New Hampshire. Since it is
certified, this IP is provided virtually as a black box with standard interfaces to
M-PHY on one side and to HCI or NAND controller on the other side.
M-PHY I/O
MIPI defines two types of M-PHY, type 1 and type 2. The UFS specification
calls out type 1. M-PHY Type 1 uses NRZ signaling for HS and PWM signaling
for LS, while type 2 uses NRZ signaling for both HS and LS.
UFS utilizes two speed modes, high-speed and low-speed. Low speed mode In
Gear 1 is used upon power up or reset, then a transition occurs to high-speed
gears for data transmission. The low speed gears and high-speed gears are
listed here for your reference. UFS v1.1 has been ratified and supports HS Gear
2 running approximately @ 3Gbps per lane. The UFS spec also supports up to 4
lanes for higher throughput.
In order to conserve power and save battery life, M-PHY also supports multiple
power states.
• Stall - HS
• Sleep - LS
• Hibern8 – configuration intact
• Disabled - configuration reset to default
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p8
M-PHY Detailed Operation
The M-PHY performs several functions
1. Transmitter and Receiver
2. Squelch detection for power saving
3. 8b10 coding and encoding for signal balancing and data recovery
4. Serializer and de-serializer
5. Error detection
Figure 4. M-PHY Detail
The last element in a UFS device is the NAND Flash Memory and the
corresponding controller.
Arasan Chip Systems, Inc. Universal Flash Storage
October 2012 p9
Arasan Total IP Solution for UFS
In summary, a total IP solution for UFS requires digital IP for the UFS controller,
including UniPro, the analog M-PHY, verification IP, software stack, and
hardware validation platform.
Analog M-PHY & ONFI Pads - Delivered as GDS-II for customer specific
process technology, with on-chip testability, low power and small silicon area
Digital IP UFS & NAND – Delivered as RTL along with verification IP and
synthesis scripts. Consequently, the core is process independent, and designed
for easy integration into your SoC
Verification IP – Includes a Verilog simulation environment with a
comprehensive test suite
Software stacks – Includes bus interface layer, low level driver, protocol stack
and API’s to simplify peripheral or function driver development
Hardware Validation Platform –
• A platform for evaluating devices & firmware.
• A platform for validating host controller implementation and interface to
system bus.
• A platform for application software debug & analysis
• A platform for comparing SD/eMMC devices
References
1. UFS is defined by JEDEC – See http://jedec.org
2. UFS utilizes standards defined by MIPI – See http://mipi.org
3. UFS adoption is supported by UFSA – See http://universalflash.org

More Related Content

What's hot

Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...
Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...
Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...Anne Nicolas
 
Storage interface sata_pata
Storage interface sata_pataStorage interface sata_pata
Storage interface sata_pataPREMAL GAJJAR
 
Introduction of ram ddr3
Introduction of ram ddr3Introduction of ram ddr3
Introduction of ram ddr3Technocratz
 
Linux SD/MMC device driver
Linux SD/MMC device driverLinux SD/MMC device driver
Linux SD/MMC device driver艾鍗科技
 
Moving to PCI Express based SSD with NVM Express
Moving to PCI Express based SSD with NVM ExpressMoving to PCI Express based SSD with NVM Express
Moving to PCI Express based SSD with NVM ExpressOdinot Stanislas
 
Double data rate (ddr)
Double data rate (ddr)Double data rate (ddr)
Double data rate (ddr)Anderson Huang
 
SATA Introduction
SATA IntroductionSATA Introduction
SATA IntroductionGene Chang
 
DesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112G
DesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112GDesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112G
DesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112GLeah Wilkinson
 
U boot porting guide for SoC
U boot porting guide for SoCU boot porting guide for SoC
U boot porting guide for SoCMacpaul Lin
 
Solid state solid state drives
Solid state solid state drivesSolid state solid state drives
Solid state solid state drivesPiyush Rochwani
 
MemVerge: The Software Stack for CXL Environments
MemVerge: The Software Stack for CXL EnvironmentsMemVerge: The Software Stack for CXL Environments
MemVerge: The Software Stack for CXL EnvironmentsMemory Fabric Forum
 

What's hot (20)

Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...
Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...
Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...
 
DDR4 SDRAM : Notes
DDR4 SDRAM : NotesDDR4 SDRAM : Notes
DDR4 SDRAM : Notes
 
Storage interface sata_pata
Storage interface sata_pataStorage interface sata_pata
Storage interface sata_pata
 
DDR3
DDR3DDR3
DDR3
 
Introduction of ram ddr3
Introduction of ram ddr3Introduction of ram ddr3
Introduction of ram ddr3
 
Flash memory
Flash memoryFlash memory
Flash memory
 
SATA Protocol
SATA ProtocolSATA Protocol
SATA Protocol
 
Linux SD/MMC device driver
Linux SD/MMC device driverLinux SD/MMC device driver
Linux SD/MMC device driver
 
NVMe overview
NVMe overviewNVMe overview
NVMe overview
 
Nand flash memory
Nand flash memoryNand flash memory
Nand flash memory
 
Moving to PCI Express based SSD with NVM Express
Moving to PCI Express based SSD with NVM ExpressMoving to PCI Express based SSD with NVM Express
Moving to PCI Express based SSD with NVM Express
 
Double data rate (ddr)
Double data rate (ddr)Double data rate (ddr)
Double data rate (ddr)
 
SATA Introduction
SATA IntroductionSATA Introduction
SATA Introduction
 
Internal memory
Internal memoryInternal memory
Internal memory
 
PCIe
PCIePCIe
PCIe
 
SSD PPT BY SAURABH
SSD PPT BY SAURABHSSD PPT BY SAURABH
SSD PPT BY SAURABH
 
DesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112G
DesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112GDesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112G
DesignCon 2019 112-Gbps Electrical Interfaces: An OIF Update on CEI-112G
 
U boot porting guide for SoC
U boot porting guide for SoCU boot porting guide for SoC
U boot porting guide for SoC
 
Solid state solid state drives
Solid state solid state drivesSolid state solid state drives
Solid state solid state drives
 
MemVerge: The Software Stack for CXL Environments
MemVerge: The Software Stack for CXL EnvironmentsMemVerge: The Software Stack for CXL Environments
MemVerge: The Software Stack for CXL Environments
 

Similar to Ufs whitepaper

A new performance standard for Flash-based storage in automotive applications
A new performance standard for Flash-based storage in automotive applicationsA new performance standard for Flash-based storage in automotive applications
A new performance standard for Flash-based storage in automotive applicationsSilicon Motion
 
InfiniBand in the Enterprise Data Center.pdf
InfiniBand in the Enterprise Data Center.pdfInfiniBand in the Enterprise Data Center.pdf
InfiniBand in the Enterprise Data Center.pdfbui thequan
 
MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...
MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...
MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...MIPI Alliance
 
Computer independent device for usb data transfe
Computer independent device for usb data transfeComputer independent device for usb data transfe
Computer independent device for usb data transfeIAEME Publication
 
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)David Sweigert
 
Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)C.U
 
Unified Fabric: Data Centre Bridging and FCoE Implementation
Unified Fabric: Data Centre Bridging and FCoE ImplementationUnified Fabric: Data Centre Bridging and FCoE Implementation
Unified Fabric: Data Centre Bridging and FCoE ImplementationCSCJournals
 
I understand that physics and hardware emmaded on the use of finete .pdf
I understand that physics and hardware emmaded on the use of finete .pdfI understand that physics and hardware emmaded on the use of finete .pdf
I understand that physics and hardware emmaded on the use of finete .pdfanil0878
 
Component Technologies for Fractionated Satellites
Component Technologies for Fractionated SatellitesComponent Technologies for Fractionated Satellites
Component Technologies for Fractionated SatellitesRemedy IT
 
IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...
IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...
IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...IRJET Journal
 
Analysis and Survey of FPGA Based PROFIBUS Board
Analysis and Survey of FPGA Based PROFIBUS BoardAnalysis and Survey of FPGA Based PROFIBUS Board
Analysis and Survey of FPGA Based PROFIBUS BoardIJAEMSJORNAL
 
Ap 06 4_10_simek
Ap 06 4_10_simekAp 06 4_10_simek
Ap 06 4_10_simekNguyen Vinh
 
IRJET- ALPYNE - A Grid Computing Framework
IRJET- ALPYNE - A Grid Computing FrameworkIRJET- ALPYNE - A Grid Computing Framework
IRJET- ALPYNE - A Grid Computing FrameworkIRJET Journal
 
iPhone Architecture - Review
iPhone Architecture - ReviewiPhone Architecture - Review
iPhone Architecture - ReviewAbdelrahman Hosny
 
Performance of State-of-the-Art Cryptography on ARM-based Microprocessors
Performance of State-of-the-Art Cryptography on ARM-based MicroprocessorsPerformance of State-of-the-Art Cryptography on ARM-based Microprocessors
Performance of State-of-the-Art Cryptography on ARM-based MicroprocessorsHannes Tschofenig
 

Similar to Ufs whitepaper (20)

A new performance standard for Flash-based storage in automotive applications
A new performance standard for Flash-based storage in automotive applicationsA new performance standard for Flash-based storage in automotive applications
A new performance standard for Flash-based storage in automotive applications
 
InfiniBand in the Enterprise Data Center.pdf
InfiniBand in the Enterprise Data Center.pdfInfiniBand in the Enterprise Data Center.pdf
InfiniBand in the Enterprise Data Center.pdf
 
Benchmarking Mobile Storage
Benchmarking Mobile StorageBenchmarking Mobile Storage
Benchmarking Mobile Storage
 
MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...
MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...
MIPI DevCon Bangalore 2017: Emulation of DUT Using MIPI RMMI (M-PHY Module In...
 
Computer independent device for usb data transfe
Computer independent device for usb data transfeComputer independent device for usb data transfe
Computer independent device for usb data transfe
 
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)
 
Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)
 
Unified Fabric: Data Centre Bridging and FCoE Implementation
Unified Fabric: Data Centre Bridging and FCoE ImplementationUnified Fabric: Data Centre Bridging and FCoE Implementation
Unified Fabric: Data Centre Bridging and FCoE Implementation
 
Mellanox IBM
Mellanox IBMMellanox IBM
Mellanox IBM
 
I understand that physics and hardware emmaded on the use of finete .pdf
I understand that physics and hardware emmaded on the use of finete .pdfI understand that physics and hardware emmaded on the use of finete .pdf
I understand that physics and hardware emmaded on the use of finete .pdf
 
Ens
EnsEns
Ens
 
Facebook_TIP_Nov
Facebook_TIP_NovFacebook_TIP_Nov
Facebook_TIP_Nov
 
Facebook and Telecom
Facebook and TelecomFacebook and Telecom
Facebook and Telecom
 
Component Technologies for Fractionated Satellites
Component Technologies for Fractionated SatellitesComponent Technologies for Fractionated Satellites
Component Technologies for Fractionated Satellites
 
IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...
IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...
IRJET-An Efficient Real-Time Controller for Retrieving Multimedia Data from S...
 
Analysis and Survey of FPGA Based PROFIBUS Board
Analysis and Survey of FPGA Based PROFIBUS BoardAnalysis and Survey of FPGA Based PROFIBUS Board
Analysis and Survey of FPGA Based PROFIBUS Board
 
Ap 06 4_10_simek
Ap 06 4_10_simekAp 06 4_10_simek
Ap 06 4_10_simek
 
IRJET- ALPYNE - A Grid Computing Framework
IRJET- ALPYNE - A Grid Computing FrameworkIRJET- ALPYNE - A Grid Computing Framework
IRJET- ALPYNE - A Grid Computing Framework
 
iPhone Architecture - Review
iPhone Architecture - ReviewiPhone Architecture - Review
iPhone Architecture - Review
 
Performance of State-of-the-Art Cryptography on ARM-based Microprocessors
Performance of State-of-the-Art Cryptography on ARM-based MicroprocessorsPerformance of State-of-the-Art Cryptography on ARM-based Microprocessors
Performance of State-of-the-Art Cryptography on ARM-based Microprocessors
 

More from Arasan Chip Systems

MIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC PrototypingMIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC PrototypingArasan Chip Systems
 
USB 2.0 ECHI Host and Embedded HUB
USB 2.0 ECHI Host and Embedded HUBUSB 2.0 ECHI Host and Embedded HUB
USB 2.0 ECHI Host and Embedded HUBArasan Chip Systems
 
SD 4.1 Total IP Solution from Arasan Chip Systems
SD 4.1 Total IP Solution from Arasan Chip SystemsSD 4.1 Total IP Solution from Arasan Chip Systems
SD 4.1 Total IP Solution from Arasan Chip SystemsArasan Chip Systems
 
Corporate Introduction to Arasan Chip Systems
Corporate Introduction to Arasan Chip SystemsCorporate Introduction to Arasan Chip Systems
Corporate Introduction to Arasan Chip SystemsArasan Chip Systems
 
Ensuring Design Quality in Mixed Signal IP
Ensuring Design Quality in Mixed Signal IPEnsuring Design Quality in Mixed Signal IP
Ensuring Design Quality in Mixed Signal IPArasan Chip Systems
 
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip SystemsRadio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip SystemsArasan Chip Systems
 
Design Automation Conference - IP Talks June 2011
Design Automation Conference - IP Talks June 2011Design Automation Conference - IP Talks June 2011
Design Automation Conference - IP Talks June 2011Arasan Chip Systems
 

More from Arasan Chip Systems (11)

MIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC PrototypingMIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC Prototyping
 
USB 2.0 ECHI Host and Embedded HUB
USB 2.0 ECHI Host and Embedded HUBUSB 2.0 ECHI Host and Embedded HUB
USB 2.0 ECHI Host and Embedded HUB
 
SD 4.1 Total IP Solution from Arasan Chip Systems
SD 4.1 Total IP Solution from Arasan Chip SystemsSD 4.1 Total IP Solution from Arasan Chip Systems
SD 4.1 Total IP Solution from Arasan Chip Systems
 
Corporate Introduction to Arasan Chip Systems
Corporate Introduction to Arasan Chip SystemsCorporate Introduction to Arasan Chip Systems
Corporate Introduction to Arasan Chip Systems
 
IP for Low Cost Smartphone
IP for Low Cost SmartphoneIP for Low Cost Smartphone
IP for Low Cost Smartphone
 
Ensuring Design Quality in Mixed Signal IP
Ensuring Design Quality in Mixed Signal IPEnsuring Design Quality in Mixed Signal IP
Ensuring Design Quality in Mixed Signal IP
 
Mobile Imaging Whitepaper
Mobile Imaging WhitepaperMobile Imaging Whitepaper
Mobile Imaging Whitepaper
 
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip SystemsRadio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
Radio Frequency Front End (RFFE) MIPI core from Arasan Chip Systems
 
ONFI 3.0 NAND Flash Controller
ONFI 3.0 NAND Flash ControllerONFI 3.0 NAND Flash Controller
ONFI 3.0 NAND Flash Controller
 
SD 4.0 from Arasan Chip Systems
SD 4.0 from Arasan Chip SystemsSD 4.0 from Arasan Chip Systems
SD 4.0 from Arasan Chip Systems
 
Design Automation Conference - IP Talks June 2011
Design Automation Conference - IP Talks June 2011Design Automation Conference - IP Talks June 2011
Design Automation Conference - IP Talks June 2011
 

Recently uploaded

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Ufs whitepaper

  • 1. White Paper Universal  Flash  Storage:  Mobilize  Your  Data Copyright Arasan Chip Systems, Inc. 2012 Executive Summary The explosive growth in portable devices over the past decade continues to challenge manufacturers wishing to add memory to their products that meet these four basic criteria: • High bandwidth • High capacity • Low power • Low cost Flash storage technology and standards have evolved rapidly to meet these requirements. Universal Flash Storage (UFS) was created for mobile applications and computer systems requiring high performance and low power consumption. These systems typically use embedded Flash based on the JEDEC standard eMMC. UFS was defined by JEDEC as the evolutionary replacement for eMMC offering significantly higher memory bandwidth. The standard builds on existing standards such as the SCSI command set, the MIPI Alliance M-PHY and UniProSM as well as eMMC form factors to simplify adoption and development. Arasan is actively supporting UFS IP solutions and development environment. Yuping Chung Arasan Chip Systems
  • 2. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p2 Introduction Higher data transfer bandwidth requirements are driven by data traffic such as multimedia content download/upload and multi-threaded operations. Storage device have to maintain performance to support transfers of large multimedia files such as video, music and photos as well as actively running multiple applications on a mobile platform. Accompanying the technology improvements have been standards developments that allow applications to use the storage interactively. The standards also have allowed applications to migrate from parallel bus interface to serial differential transmission for higher throughput and lower pin count. Standard Bodies to the Rescue As flash technologies have leapt forward, new interface standards have been developed to take advantage of them. An early entry to the standards scene was the SD Association, which supported only removable, large capacity cards for user content storage. The JEDEC standard eMMC, unlike SD offered bootable on-board storage for large code and application software as well as user content in a non-removable package. While eMMC continues to use a single ended bus interface, most other data storage interface standards have adopted serial differential signaling to meet the ever increasing high bandwidth requirements. In 2008 JEDEC began looking for a serial differential solution to replace eMMC. A separate industry consortium, the Mobile Industry Processor Interface (MIPI) Alliances, also had an interest in developing a high-performance, serial I/O standard that could serve as a unified connection for data transfers between different processors and peripheral devices on a mobile platform, such as with camera sensors or display panels. One of the critical peripherals on a mobile device is the data storage device. MIPI was considering a data storage device to take advantage of its unified serial differential interface. Un-divide and conquer As both standards bodies were defining new specifications for the same peripherals, it became clear that there was a need for only one. In 2010, both MIPI and JEDEC adopted UFS as the common data transfer protocol for mobile systems.
  • 3. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p3 Universal Flash Storage (UFS) UFS uses a layered architecture as specified in JEDEC standard 220A. The upper layers in the standard were defined by the JEDEC while lower layers in the protocol where adopted from existing MIPI UniPro and M-PHY standards. Intended for applications requiring large storage capacity for data and bootable code, UFS offers a simple, but high-performance, serial interface that efficiently moves data between a host processor and mass storage devices. Leverage the SCSI command set The UFS standard adopts the well-known SCSI Architecture Model and command protocols supporting multiple commands with command queuing features and enabling a multi-threaded programming paradigm. This differs from conventional flash-based memory cards (eg eMMC) and embedded flash solutions which process one command at a time, limiting random read/write access performance. In addition, a complementary UFS Host Controller Interface (HCI) specification allows system designers greater flexibility by simplifying the involvement of the host processor in the operation of the flash storage subsystem. The adoption of SCSI provides a well-known software- programming model and enables wider market adoption. It provides a standard programming interface for UFS by enabling the use of common Host/OS drivers and a common register set for the OS driver as well as a low-level driver, which can be customized as necessary for the HW host controller. It gives optimized support for various UFS usage models with regards to embedded mass storage memory card and UFS bus topology. These specifications enable efficient transitions between the active and power save modes. Combined with a low active power level and a near-zero idle power level, UFS offers the promise for significant reductions in device power consumption. It will satiate the ever-growing demand for versatile storage solutions and improved device performance. UFS provides for both embedded and removable card formats with the same interface, which simplifies controller design.
  • 4. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p4 Time to market and low barriers to adoption For the best reusability, UFS leverages existing standards of MIPI architecture and SCSI command sets. UFS adopted MIPI UniPro and M-PHY for the link and PHY layers, and the SCSI command sets as the application protocol. UFS uses serial interface for high-speed data transmission; it also implements power management to lower the power consumption. Compatibility UFS is an upcoming new mobile storage interface. But the challenge for an Application Processor (AP) SoC is to support multiple standards plus backward compatibility. SD has evolved from the single ended bus interface used in SD 3 to the differential serial transmission pairs. As an SoC designer, you will need to support the backward compatibility by implementing both singled ended and serial interfaces. Similarly, eMMC has also evolved from single data rate to double data rate in order to support 200MB/s bandwidth. Again, the SoC needs to be backward compatible. Standard NAND Device Interface One of the newer interfaces in mobile storage is the ONFI NAND interface. Again, it has evolved from ONFI 2.3 to ONFI 3.0 and the backward compatibility is very critical to the SoC designers. To mitigate the challenges of backward compatibility, it is very important to choose a solution that offers the complete suite of IP components that address the design complexity, the standard compliances, and the interoperability among different devices. When choosing an IP provider, it is preferred to choose an IP certified by test centers, along with the associated analog IP and software drivers and utilities. In addition, ability to verify the IP before tape out and the ability to validate the 1st silicon in a hardware platform is also critical to shorten the development cycle.
  • 5. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p5 UFS Architecture In a mobile device with a typical MIPI platform implementation, there are several different peripherals using the same physical interfaces (i.e. D-PHY or M-PHY) and the same link layer (i.e. UniPro). Figure 1. UFS in a MIPI configuration Peripherals using D-PHY or M-PHY include high bandwidth data storage interface (UFS), camera serial interface (CSI), display serial interface (DSI), and low latency interface (LLI). Using the same interface IP for multiple peripherals in a mobile device greatly simplifies the design effort and improves the time to market.
  • 6. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p6 UFS Implementation Detail In the diagram below, the implementation of a UFS host or device is simplified to the M-PHY, digital (UniPro) core and the interface to either the Soc or the NAND Flash memory. We will examine each of these in detail. Figure 2. UFS to UFS Interface UFS Layered Architecture There are three major layers in the UFS architecture: UCS, UTP and Interconnect (UniPro + M-PHY). The command set layer (UCS) is the interface to the software application and incorporates the SCSI standard as the baseline protocol for UFS specification. The Transport Layer (UTP) is responsible for encapsulating the protocol into the appropriate frame structure for the interconnect layer. The Interconnect Layer (UIC) is a combination of digital and analog IP. Figure 3. UFS Layered Architecture
  • 7. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p7 Let’s take a look of what UniPro does. UniPro stands for Universal Protocol defined by MIPI. UniPro has four layers, L1.5 the PHY adapter, L2 the data link layer, L3, the network layer, and L4, the transport layer. Layer 1.5 and 2 ensures the data integrity and reliability, while layer 3 and 4 ensures the data is routed to the intended UFS host or device. Layer 4 attaches the application data or message with header, trailer, and destination C-port to generate a segment. Layer 3 further attached the destination device information to the segment and it becomes a packet. Layer 2 adds the CRC to become a frame so the receiving end can verify the data integrity. Layer 1.5 and Layer 1 convert each frame to become encoded symbols before transmission to minimize the transmission errors and increase the transmission accuracy. UniPro, if licensed from an IP vendor like Arasan, must first pass the certification program currently managed by University of New Hampshire. Since it is certified, this IP is provided virtually as a black box with standard interfaces to M-PHY on one side and to HCI or NAND controller on the other side. M-PHY I/O MIPI defines two types of M-PHY, type 1 and type 2. The UFS specification calls out type 1. M-PHY Type 1 uses NRZ signaling for HS and PWM signaling for LS, while type 2 uses NRZ signaling for both HS and LS. UFS utilizes two speed modes, high-speed and low-speed. Low speed mode In Gear 1 is used upon power up or reset, then a transition occurs to high-speed gears for data transmission. The low speed gears and high-speed gears are listed here for your reference. UFS v1.1 has been ratified and supports HS Gear 2 running approximately @ 3Gbps per lane. The UFS spec also supports up to 4 lanes for higher throughput. In order to conserve power and save battery life, M-PHY also supports multiple power states. • Stall - HS • Sleep - LS • Hibern8 – configuration intact • Disabled - configuration reset to default
  • 8. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p8 M-PHY Detailed Operation The M-PHY performs several functions 1. Transmitter and Receiver 2. Squelch detection for power saving 3. 8b10 coding and encoding for signal balancing and data recovery 4. Serializer and de-serializer 5. Error detection Figure 4. M-PHY Detail The last element in a UFS device is the NAND Flash Memory and the corresponding controller.
  • 9. Arasan Chip Systems, Inc. Universal Flash Storage October 2012 p9 Arasan Total IP Solution for UFS In summary, a total IP solution for UFS requires digital IP for the UFS controller, including UniPro, the analog M-PHY, verification IP, software stack, and hardware validation platform. Analog M-PHY & ONFI Pads - Delivered as GDS-II for customer specific process technology, with on-chip testability, low power and small silicon area Digital IP UFS & NAND – Delivered as RTL along with verification IP and synthesis scripts. Consequently, the core is process independent, and designed for easy integration into your SoC Verification IP – Includes a Verilog simulation environment with a comprehensive test suite Software stacks – Includes bus interface layer, low level driver, protocol stack and API’s to simplify peripheral or function driver development Hardware Validation Platform – • A platform for evaluating devices & firmware. • A platform for validating host controller implementation and interface to system bus. • A platform for application software debug & analysis • A platform for comparing SD/eMMC devices References 1. UFS is defined by JEDEC – See http://jedec.org 2. UFS utilizes standards defined by MIPI – See http://mipi.org 3. UFS adoption is supported by UFSA – See http://universalflash.org