RAM Type Interface for Embedded User Flash Memory

Related Products

LatticeReferenceDesign-Logo Select densities in the XO2 suite of products offer the user up to 256Kbits of User Flash Memory (UFM) that has write endurance of 100,000 cycles. This non-volatile memory can be used to store data that can be retrieved at a later. The UFM can be used as a general purpose Flash memory or data storage application which is not Write intensive. The EBR in the XO2 is more suited for scratch pad like applications. The XO2 UFM is an extension of the Embedded Functional Block (EFB) can be accessed by the user logic through the WISHBONE (WB) interface. The WISHBONE bus provides connectivity between the FPGA user logic and the EFB.

A WISHBONE master interface is required to interact with any WISHBONE slave interface. This reference design provides a ready to use RTL code segment that implements intuitive interface between the user logic and the UFM which requires no learning of the WISHBONE protocol. The reference design employs a byte addressable Dual-Port RAM (DP RAM) to exchange data between the user logic and the EFB. This greatly simplifies the command interface. One port of the DP RAM is accessible by the user and the other is accessed by the internal state machine.

Jump to

Block Diagram

Performance and Size

Device Family Tested Devices1 Language fmax I/O Pins Utilization Architectural Resources Revision
MachXO2™2 LCMXO2-1200ZE-3MG132C Verilog >50MHz 42 224 LUTs EFB & EBR 1.0

1 May work in other devices as well.

2 Performance and utilization characteristics generated using the specified test device and Lattice Diamond™ 1.4 software.

Note: The performance and design sizes shown above are estimates only. The actual results may vary depending upon the chosen parameters, timing constraints, and device implementation. See the design's documentation for details. All coding and design work was done on a PC platform unless noted otherwise.

Documentation

Technical Resources
TITLE NUMBER VERSION DATE FORMAT SIZE
RAM-Type Interface for Embedded User Flash Memory Reference Design – Source Code
RD1126 1.4 10/2/2014 ZIP 2.1 MB
RAM-Type Interface for Embedded User Flash Memory Reference Design – Documentation
RD1126 1.2 5/1/2012 PDF 2.8 MB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.

Like most websites, we use cookies and similar technologies to enhance your user experience. We also allow third parties to place cookies on our website. By continuing to use this website you consent to the use of cookies as described in our Cookie Policy.