Xilinx 8.2i Life Jacket User Manual


 
Development System Reference Guide www.xilinx.com 365
Running XFLOW
R
Using the SCR, BAT, or TCL File
Every time you run XFLOW, it creates a script file that includes the command line
commands of all the programs run. You can use this file for the following:
Review this file to check which commands were run
Execute this file instead of running XFLOW
By default, this file is named xflow_script.bat (PC) or xflow_script.scr (UNIX), although
you can specify the output script file type by using the $scripts_to_generate option.
To execute the script file, type xflow_script.bat, xflow_script.scr, or
xflow_script.tcl at the command line.
If you choose to execute the script file instead of using XFLOW, the features of “Smart
XFLOW” are not enabled. For example, XFLOW starts the flow at an appropriate point
based on which files have changed, while the script file simply runs every command listed
in the file. In addition, the script file does not provide error detection. For example, if an
error is encountered during NGDBuild, XFLOW detects the error and terminates the flow,
while the script file continues and runs MAP.
Using the XIL_XFLOW_PATH Environment Variable
This environment variable is useful for team-based design. By default, XFLOW looks for
all flow and option files in your working directory. However, this variable allows you to
store flow and option files in a central location and copy them to your team members’ local
directories, ensuring consistency. To use this variable, do the following:
1. Modify the flow and option files as necessary.
2. Copy the flow and option files to the central directory, and provide your team
members with the directory location.
3. Instruct your team members to type the following from their working directory:
set XIL_XFLOW_PATH=name_of_central_directory
When the team member runs XFLOW, XFLOW copies all flow and option files from
the central directory to his or her local directory.
Note:
If you alter the files in the central directory and want to repopulate the users’ local
directories, they must delete their local copies of the flow and option files, set the
XIL_FLOW_PATH environment variable, and rerun XFLOW to copy in the updated files.