Scripting

cmp get_all_assignments (Tcl Script API Function)



The cmp get_all_assignments function has the following format:

Syntax cmp get_all_assignments <source> <destination>
Arguments

<source>

If required, the first statement in a range of statements that contain the assignment. If there is no range, or you want a list of assignments for all statements, use empty double quotation marks ("").

<destination>

The statement containing the assignment, or, for a range of statements, the last statement in the range. If you want a list of assignments for all statements, use empty double quotation marks ("").

Return Value

Code Name Code String Return
TCL_OK 0 <results>
TCL_ERROR 1 project has no active compiler setting
TCL_ERROR 1 no project is currently open
TCL_ERROR 1 wrong # args: should be "get_all_assignments source destination"
TCL_ERROR 1 illegal or missing destination
TCL_ERROR 1 unable to write to disk
Description Returns a list of all the assignments and values for the specified statement(s) in the project's current Compiler Settings File (.csf).


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.