Xilinx 8.2i manual Xflow Options, Active Active Module, Ed Copy Files to Export Directory

Models: 8.2i

1 422
Download 422 pages 26.35 Kb
Page 361
Image 361

R

XFLOW Options

XFLOW Options

This section describes the XFLOW command line options. These options can be used with any of the flow types described in the preceding section.

–active (Active Module)

–activeactive_module

The –active option specifies the active module for Modular Design; “active” refers to the module on which you are currently working.

–ed (Copy Files to Export Directory)

–edexport_directory

The –ed option copies files listed in the Export line of the flow file to the directory you specify. If you do not use the –ed option, the files are copied to the working directory. See “Flow Files” for a description of the Export line of the flow file.

If you use the –ed option with the –wd option and do not specify an absolute path name for the export directory, the export directory is placed underneath the working directory.

In the following example, the export3 directory is created underneath the sub3 directory:

xflow -implement balanced.opt -wd sub3 -ed export3 testclk.vhd

If you do not want the export directory to be a subdirectory of the working directory, enter an absolute path name as in the following example:

xflow -implement balanced.opt -wd sub3 -ed /usr/export3 testclk.vhd

–f (Execute Commands File)

–fcommand_file

The –f option executes the command line arguments in the specified command_file. For more information on the –f option, see “–f (Execute Commands File)” in Chapter 1.

–g (Specify a Global Variable)

–gvariable:value

The –g option allows you to assign a value to a variable in a flow or option file. This value is applied globally. The following example shows how to specify a global variable at the command line:

xflow -implement balanced -g $simulation_output:time_sim calc

Note: If a global variable is specified both on the command line and in a flow file, the command line takes precedence over the flow file.

–log (Specify Log File)

The –log option allows you to specify a log filename at the command line. XFLOW writes the log file to the working directory after each run. By default, the log filename is xflow.log.

Development System Reference Guide

www.xilinx.com

361

Page 361
Image 361
Xilinx 8.2i manual Xflow Options, Active Active Module, Ed Copy Files to Export Directory, Specify a Global Variable