Download Xilinx Data2MEM User Guide

Transcript
R
Chapter 2
Input and Output Files
This chapter describes the input and output files for Data2MEM. The following figure
shows the range of files, and their input and output relationship to Data2MEM.
file.elf
file.drf
file.mem
file.bit
file.bmm
Data2BRAM
Data2MEM
updated_file.bit file.v
file.vhd
file.mem
x604_05_090501
Figure 2-1:
Data2MEM Input and Output Files
A description of each file type, and how it is consumed or produced by Data2MEM, is
provided in the following sections:
•
“Block RAM Memory Map (BMM) Files”
•
“Executable and Linkable Format (ELF) Files”
•
“Debugging Information Format DWARF (DRF) Files”
•
“Memory (MEM) Files”
•
“Bitstream (BIT) Files”
•
“Verilog (V) Files”
•
“VHDL (VHD) Files”
•
“User Constraints Files (UCF)”
Block RAM Memory Map (BMM) Files
A Block RAM Memory Map (BMM) file is a simple text file that includes a syntactic
description of how individual Block RAMs (BRAMs) constitute a contiguous logical data
space. The Data2MEM uses the BMM file as input to direct the translation of data into the
proper initialization form. A BMM file can be created by hand or using Data2MEM
facilities that generate BMM file templates. The templates can then be customized to a
specific design. A BMM file can also be created by means of automated scripting. Because
it is a simple text file, a BMM file is editable. BMM files can contain free-form use of both
// and /*...*/ commenting styles. See Chapter 3, “Block RAM Memory Map (BMM)
File Syntax” for format and syntax details.
Data2Mem User Guide
UG437
www.xilinx.com
11