Clear box command-line tool syntax

The clear box command-line tool can be used to call a clear box generator DLL from the command-line. Parameter values and optional ports for the relevant megafunction are also passed via the clear box command-line tool.

text-align:left;

Syntax

clearbox <cbc_megafunction.dll> [-h] [-f param_file] parameter1=value1 parameter2=value2 ... port1_name port2_name ... [CBX_FILE=file_name]

Arguments

<cbx_megafunction.dll>

The clear box dll for the megafunction, for example, cbx_altmult_add.dll. Required.

-h

Lists valid parameter names and values and port names for the clear box generator DLL. For example, clearbox cbx_altmult_add.dll -h generates a list of valid ports and parameters for the cbx_altmult_add megafunction. Optional.

-f param_file

Uses a text file to pass parameter and port names to the clear box command-line tool. This is helpful when a large number of parameters and ports must be passed through the clear box command-line tool. The text file uses one parameter or port name per line and uses the parameter=value or port_name format. You can add comments or ignore lines in the text file by adding # to the beginning of a line. Optional.

parameter1=value1 parameter2=value2 ...

List of parameters and values to use with the clear box megafunction DLL. Optional.

port1_name port2_name ...

List of ports to use with the clear box megafunction DLL. Optional.

CBX_FILE=file_name

A parameter that is used by all clear box DLLs to specify an output file. Valid extensions are .v, .vhd, or .tdf. Optional.