Table 26-1: Data2Mem Command Line Options
|
Option
|
Description
|
|
–bd [tagname] filename.[elf|mem]
|
The -bd option specifies the name of the input ELF or MEM file. If the file extension is missing, .elf is assumed. The .mem extension must be supplied to denote a MEM file. If TagNames are given, only the address space of the same names within the BMM file are used for translation. All other input file data outside of the TagName address spaces are ignored. If no further options are specified, "-o u filename" functionality is assumed. One or more –bd options can be specified on the command line.
|
|
–bm filename.bmm
|
The -bm option specifies the name of the input BMM file. If the file extension is missing, a .bmm file extension is assumed. If a filename is not specified, the ELF or MEM root filename with a .bmm extension is assumed. If only this option is given, then Data2MEM checks the syntax of the BMM file and reports any errors. The -bm option can be specified once on the command line.
|
|
–bt filename
|
The -bt option specifies the name of the input BIT file. If the file extension is missing, .bit is assumed. If the –o option is not specified with this option, the output BIT filename will have the same root filename as the input BIT file, with "_rp" appended at the end. A .bit file extension is assumed.
|
|
–f filename
|
The -f option specifies the name of an option file. If the file extension is missing, an .opt file extension is assumed. Option files are identical to the command line options, but contained in a text file. An option, and its attributes, must appear on the same text line. The -f option can be specified once on the command line, and must not be contained in the .opt file.
|
|
–h [option]|support
|
The -h option displays a list of supported command line options. When specified with a command line option, a detailed description and use of the option appears. When specified with the support argument, a list of supported parts is displayed.
|
|
–i
|
The -i option directs Data2MEM to ignore ELF or MEM data that is outside of the address space that is defined in the BMM file.
|
|
–intstyle
ise|xflow|silent
|
The –intstyle option reduces screen output based on the integration style that you are running. When using the –intstyle option, one of three modes must be specified: ise, xflow, or silent. The specified mode sets the way information is displayed in the following ways:
–intstyle ise
This mode shows the program is being run as part of an integrated design environment.
–intstyle xflow
This mode shows the program is being run as part of an integrated batch flow.
–intstyle silent
This mode limits screen output to warning and error messages only.
|
|
–log filename
|
The -log option directs Data2MEM to generate a log file that contains all enabled Data2MEM messages. If a file extension is not specified, a .dmr file extension is assumed. If a log filename is not specified, the log file assumes the root filename of the input BMM file.
|
|
–o u|v|h|m filename
|
The -o option specifies the name of the output files. The string preceding the file name indicates which file formats are to be output. No spaces can separate the specified file types, and file types can appear in any order. One or more file types can be specified. The file type are:
'u' - specifies a UCF file format, with a .ucf file extension
'v' - specifies a Verilog file format, with a .v file extension
'h' - specifies a VHDL file format, with a .vhd file extension
'm' - specifies a MEM file format, with a .mem file extension
The filename applies to all specified output file types. If the file extension is missing, the appropriate file extension will be added to the output files.
|
|
–p partname
|
Specifies the name of the target Xilinx part. If unspecified, a XCV50 part is assumed. To view a list of supported parts, use the -h support option.
|
|
–pp filename
|
The -pp option specifies the name of an input preprocess file. If a filename is not specified, a .bmm file extension is assumed. If this option is specified with the -o option, the preprocessed output is sent to the specified output file. Otherwise, preprocessed output is displayed on the console.
|
|
–q e|w|i
|
The -q option reduces the output of Data2MEM messages. Message type arguments are:
'e' - disables ERROR messages
'w' - disables WARNING messages
'i' - disables INFO messages
|
|
–u
|
The -u option updates the text output files, specified with the -o option, for all address spaces. Depending on the file type, an output file is either empty, or will contain initializations of all zero. If this option is not used, only address spaces that receive transformed data are output.
|
|
–w off|on
|
The -w option prevents or allows file overwrites. Specifying this option with the off argument directs Data2MEM to output an error if a file will be overwritten. Using this option with the on argument allows Data2MEM to overwrite files without issuing a warning message. By default this option is on.
|