Xilinx 8.2i manual Norun Creates a Script File Only, Change Output File Name, Ooutputfilename

Models: 8.2i

1 422
Download 422 pages 26.35 Kb
Page 362
Image 362

Chapter 23: XFLOW

R

–norun (Creates a Script File Only)

By default, XFLOW runs the programs enabled in the flow file. Use the –norun option if you do not want to run the programs but instead want to create a script file (SCR, BAT, or TCL). XFLOW copies the appropriate flow and option files to your working directory and creates a script file based on these files. This is useful if you want to check the programs and options listed in the script file before executing them.

Following is an example:

xflow -implement balanced.opt -norun testclk.edf

In this example, XFLOW copies the balanced.opt and fpga.flw files to the current directory and creates the following script file:

###########################################

#Script file to run the flow

###########################################

#Command line for ngdbuild

#

ngdbuild -p xc2v250fg256-5 -nt timestamp /home/ xflow_test/testclk.edf testclk.ngd

#

#Command line for map

map -o testclk_map.ncd testclk.ngd testclk.pcf

#Command line for par

#

par -w -ol 2 -d 0 testclk_map.ncd testclk.ncd testclk.pcf

#

#Command line for post_par_trce

trce -e 3 -o testclk.twr testclk.ncd testclk.pcf

–o (Change Output File Name)

–ooutput_filename

This option allows you to change the output file base name. If you do not specify this option, the output file name has the base name as the input file in most cases.

The following example shows how to use the –o option to change the base name of output files from “testclk” to “newname”:

xflow -implement balanced.opt -o newname testclk.edf

362

www.xilinx.com

Development System Reference Guide

Page 362
Image 362
Xilinx 8.2i manual Norun Creates a Script File Only, Change Output File Name, Ooutputfilename