Initialization of internal RAM in FPGA

Source: Internet
Author: User

Altera's RAM initialization file format is MIF and hex. Quartusii's own RAM initialization tool facilitates the generation of initialization files.

Xilinx's RAM initialization file format is the Coe, and in Vivado the software turns the Coe file into a MIF file. Xilinx and Altera MIF file formats are not the same. The Xilinx MIF file is the final valid initialization file. You can use the Memory Editor editing tool to generate a Coe file, located in tools > MemoryEditor. reference files can also be found in the $XILINX/coregen/data directory.

The initial file format for Beijing micro-Jagger's RAM (also known as EMB) is dat. The format is relatively simple.

The first line is the reputation data width

Width=16

The second line starts with your reputation for a bit of data, one line to write a data (all 16 binary data), a newline character is considered, the address plus 1.

991c

8600

Reference documents:

COE File Syntax.

Http://www.xilinx.com/itp/xilinx10/isehelp/cgn_r_coe_file_syntax.htm

Creating a Memory

Http://www.xilinx.com/itp/xilinx10/isehelp/cgn_p_memed_single_block.htm

Creating hexadecimal (Intel-format) and Memory initialization Files

Http://quartushelp.altera.com/14.0/mergedProjects/design/med/med_pro_med_files.htm

Initialization of internal RAM in FPGA

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.