Scripting

project add_parameter (Tcl Script API Function)



The project add_parameter function has the following format:

Syntax project add_parameter <entity> <destination> <name> <value>
Arguments

<entity>

The design entity name. If there is no design entity, use empty double quotation marks (""). If you specify a design entity, the Quartus® II software lists only the assignments from the Entity Settings File (.esf) for the design entity. Otherwise, the Quartus II software lists assignments from the Project Settings File (.psf) and Project Configuration File (.quartus) for the project, and not assignments from any ESF.

<destination>

The statement containing the destination of the parameter you want to add. If there is no destination name, use empty double quotation marks ("").

<name>

The name of the parameter you want to add or change.

<value>

The value you want to assign to the parmeter.

Return Value

Code Name Code String Return
TCL_OK 0 project parameter added
TCL_ERROR 1 unable to add project assignment
TCL_ERROR 1 no project is currently open
TCL_ERROR 1 wrong # args: should be "add_parameter entity destination name value"
TCL_ERROR 1 unable to write to disk
TCL_ERROR 1 illegal or missing entity
TCL_ERROR 1 unable to find entity: <entity name>
Description Adds the specified parameter to the current project or changes the value of the parameter.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.