Our family of microcontroller and microprocessor related cores includes capable and competitive 32-bit BA22s and the best-available set of proven 8051s.

Processor Peripherals
AHB 32-bit DMA
AMBA Infrastructure Cores

Legacy Processors
See Legacy Cores >

These video and image compression cores help you handle video compression for demanding, high-quality applications or choose the best type of image compression for your specific system.

JPEG 2000
Encoder
J2K Platform

Block/Raster Converters
block-to-raster
raster-to-block
raster-block bidirect

Lossless Compression
LJPEG Encoder
LJPEG Decoder
JPEG-LS Encoder

Functions & Converters
Color Space Converter

Video Deinterlacers
Basic

Quickly complete the standrd parts of your SoC with these memory and peripheral controllers, interfaces, and interconnect cores. Choose high-speed DisplayPort or PCI Express, Ethernet MACs, the CAN bus for automotive systems, and more.

High-Speed Serial
PCI Express
Family Overview
x1/x4
x8
application interface

Parallel
ECP slave
ATA/IDE interface

PCI — Target
32-bit
32-bit multi
64-bit
PCI — Master
32-bit
32-bit multi
64-bit
PCI — Host Bridge
32 bit
32 bit - AHB
32 bit & device - AHB

TCP/IP Stacks
UDP/IP stack

Ethernet MAC
Device Controllers

10/100
10/100 lite
Gigabit
Gigabit lite
Gigabit PCS

MAC Platforms
MAC/PCI

Customers find these cores to be an excellent solution for preserving existing product board designs when critical chips are no longer available for purchase.

 
80186XL
80186EC
80188EC
80251
387L math

DSPs
32025 16-bit
32025TX 16-bit

 

 

Peripherals
DMA Controllers
8237, 82380
UARTs
16450S, 16550S, 16750S
Timer/Counter
8254

Cores for integrating security, controlling devices and displays, and other SoC functions.

Device Controllers
smart card reader

IR Remote Controls
RC5
NEC

Audio Interfaces
I2S-SC
I2S-MC
SPDIF

Why buy this core?

  1. hover for more infoImplements critical functions in hardware to off-load the system processor and increase throughput.
  2. hover for more infoConfigurablity enables the smallest area and lowest price for each specific memory application.
  3. hover for more infoDesigned for very high performance; SSD-ready.
  4. hover for more infoAvailable hardware development platform facilitates system design and verification.
  5. hover for more infoSilicon-proven, sixth-generation IP from an experienced team reduces your development risk.

PDF Datasheets

ASIC
Actel  •  Altera  •  Xilinx

NAND Flash Memory Controller Core Software Driver

Related Products

Related Information

News Releases

11/15/2011 CAST NAND Flash Controller Supports Latest High-Speed Memories and is Ready for ONFI 3

5/11/2011 NAND Flash Memory Controller IP Core from CAST now Faster and Easier to Integrate

Validated for Mentor Graphics Presicision FPGA SynthesisValidated for Precision™ FPGA Synthesis

Learn more about NAND Flash at Wikipedia.

Visit the Open NAND Flash Interface Working Group (ONFI) site.

Peruse a useful collection of NAND Flash Application Notes at Data I/O's site.

Memory IP Core NANDFLASH-CTRL NAND Flash Memory Controller IP Core

Implements a flexible ONFI 2.2 compliant controller for high-capacity Multi-Level Cell (MLC), Single-Level Cell (SLC) and High-Speed NAND flash memories.

Coming Soon

  • ONFI 3.0.

Call for details:
+1 800.391.8300

The full-featured core efficiently manages the read/write interactions between a master host system and Single- or Multi-Level Cell (SLC or MLC) NAND flash memory devices. The core includes an optional direct memory access (DMA) manager, uses a comprehensive command set for easy NAND Flash memory access, automatically remaps corrupted memory blocks to improve reliability, can protect memory areas against writes with a block lock mode, has built-in power-saving features, and can boot software directly from Flash memory.

The controller works with any suitable memory device with 512 Bytes to 32-kB page sizes supporting the Open NAND Flash Interface Working Group (ONFI) standards.

The NAND Flash Controller employs a standard OCP 2.0 socket interface to facilitate easy adaption into all types of design structures depending on the designer needs.  OCP is being widely adopted due to its ease of integration and flexibility.  Wrappers supporting AMBA 2 AHB, OPB/PLB, Avalon and FlexBus buses are available and other structures are available by request. 

The Controller offers two error code correction (ECC) mechanisms from the relatively simple single-bit Hamming Code to more sophisticated high-speed BCH (Bose, Ray-Chaudhuri and Hocquenghem) ECC.  BCH targets applications with high-density memory as well as direct boot from the NAND flash device.

This sixth-generation product builds on silicon-proven previous versions of the controller. Developed for reuse in ASICs and FPGAs, the core is fully synchronous with positive-edge clocking, has no internal three-state buses, and uses a synchronous reset so scan insertion is straightforward. The included verification package features bus models for the AHB master and NAND flash devices to help designers verify the functioning of the core.

See representative implementation results (each in a new pop-up window):

ASIC numbers Altera numbers XIlinx numbers

Features

Applications

The core is suitable for controlling embedded storage (e.g. in mobile devices, network routers, and point-of-sale systems) and solid state device (SSD) mass storage for USB flash drives, digital cameras, laptops, and more.

NAND Flash Controller Software Driver

Block Diagram

nandflash-ctrl block diagram

Functional Description

The NANDFLASH-CTRL core is partitioned into modules and comes with external elements as shown in the block diagram and described below.

DCU

The Design Control Unit controls all other modules based on the SFR values and current controller state.  The main tasks of this module are:

SIU

Opens a window in the address space where the BUFFER and all SFRs are visible, providing access to these elements. Works as glue logic between the system interface and internal controller bus, coordinating their interaction. It is responsible for generating the internal request signal if the controller buffer must be read directly using the controller interface, and it holds transmission on the external bus if access can’t be granted.

DMA

Speeds up data transfer between a device on the system bus and the memory, and decreases system bus burden.

FIFO

A 32-bit width asynchronous FIFO module which facilitates transferring data between the input module and NCU when the command sequence is executed.

NCU

The NAND Control Unit is responsible for generation of the NAND flash device access sequences. The unit uses the control signals provided by the DCU. In some configurations it can be multiple instantiated to allow parallel access to multiple NAND flash devices. The NCU uses our proprietary interface to the PHY Interface unit.

ECC

This is an error correction code calculator and a correction unit. A correction word is calculated for each 512B sub page of the NAND Flash memory page. During the read operation the unit can automatically correct bad bits without any interaction with the external system. It has a status register, the bits of which signal errors occurring during a read, and then inform if errors were corrected. It is possible to choose between a simpler unit that can correct only one error per 512B sub page and a more advanced unit that can correct multiple errors. The choice depends on the NAND Flash memory type that is in use. Depending on the end-user application, it is possible to choose between two solutions. The first one is based on the Hamming algorithm that allows correction of one error for each 512B sub page, which is a good choice for SLC memories. The other solution uses the BCH algorithms and is more efficient if MLC memories are used. The ECC module has an integrated FIFO that is used to transfer the calculated words to the NCU modules during the encode process, and to store the calculated partial syndromes during the decode process.

PHY

This module provides the DDR data interface for the new High Speed devices.

Application Example

nandflash-ctrl example

 

For this USB thumb drive, the core is implemented with an internal buffer and tri-state buffers. Data goes through a USB controller, and a microcontroller manages data flow, sets parameters of data transmission for NANDFLASH-CTRL, controls the USB, and handles all aspects connected with a File System implemented in this storage device.

Support

The core as delivered is warranted against defects for 90 days from purchase. Thirty days of phone and email tech-nical support are included, starting with the first interac-tion. Additional maintenance and support options are available.

Verification

Extensive verification has been performed, using code coverage tests, simulation with multiple tools, and implementation and testing in an FPGA demonstration system.

Verification has been performed with many different devices from Micron, Samsung, STM and Toshiba.

Deliverables

The core is available in ASIC (synthesizable HDL) and FPGA (netlist) forms, and includes everything required for successful implementation:

Related Products

NAND Flash Controller Driver – a low-level software driver that represents a first abstraction layer of the core to relieve the higher level application layer from hardware management.

 

Critical functions this controller implements in hardware:

  • Bad Block Management
  • ECC
  • AES 256
  • DMA
  • multiple command functions

Configurable featues include:

  • ECC correction strength
  • AES
  • DMA
  • system bus
  • endianess
  • block size
  • boot mode
  • page remapping
  • write protect
  • asynchronous or source synchronous

All built on our decade of experience with our congifurable 8051 cores.

Special high-performance featues include:

  • super sequencer
  • high ECC strength
  • large page size

 

Works with the Marvell PXA300 development board from HiTech Global.

dev board for CAST NAND FLash memoy controller IP core

We've been providing NAND FLash Controller IP cores—and helping customers succeed with them—since 2006.

This version is built on four previous generations of NAND FLash controller IP. It is hardware verified and silicon proven.

Customers range from established Tier 1 firms to brand new start-ups; contct Sales for references.

Our experience lets us also offer you IP integration design services, customer software driver expertise, and more, to help you complete yuor project on-time and on-budget.

 

Share this page:

Twitter LinkedIn Add This: more sharing options
Top of Page

Follow CAST:

go to our SlideShare page