set_logiclock_contents (::quartus::incremental_compilation)
The following table displays information for the set_logiclock_contents Tcl command:
Tcl Package and Version |
Belongs to ::quartus::incremental_compilation 1.1 |
|||
Syntax | set_logiclock_contents [-h | -help] [-long_help] [-delete_member_of] [-exceptions <resource_string> ] [-priority <priority integer> ] [-region <region name> ] [-root_region] [-to <node name> ] | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-delete_member_of | Option to delete MEMBER_OF statement for assignment | |||
-exceptions <resource_string> | If specified, the Fitter assigns all nodes under the target design entity or path to be members of the LogicLock region, except for nodes of types in the specified colon-delimited exceptions list. | |||
-priority <priority integer> | Priority of wildcard or path-based LogicLock region member | |||
-region <region name> | Region name | |||
-root_region | Root region | |||
-to <node name> | Assignment destination | |||
Description |
Sets or changes LogicLock(TM) content options. The command assigns nodes, entities, or wildcard assignments to a LogicLock region. It also allows you to back-annotate nodes to a specific location. You can use the -exceptions option to define LogicLock region membership exceptions. If specified, the Fitter assigns all nodes under the target design entity or path to be members of the LogicLock region, except for nodes of types specified in the exceptions list. The exceptions list is a colon-delimited string of the following keywords: Keyword Resource Represented ------- --------------------------------- REGISTER Registers in logic cells COMBINATIONAL Combinational elements in logic cells MEMORY Memory blocks DSP DSP blocks VIRTUAL_PIN Virtual pins You can use the "-exceptions" option only with LogicLock member assignments. The node names may be specified as wildcards. You can use the "-priority" option only with wildcard assignments. You can use the "-location" option only with node assignments. |
|||
Example Usage |
package require ::quartus::incremental_compilation project_open my_design ## Get all region members set members [get_logiclock_contents -region region_one] ## Parse elements of member list foreach member $members { set to [lindex $member 1] ## Delete all members in this region set_logiclock_contents -region region_one -delete_member_of -to to } ## Get a list of back-annotated contents set_logiclock_contents -region region_one project_close |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: LogicLock not initialized. Initialize the LogicLock data structures using the initialize_logiclock command. The LogicLock datastructures can go out of date after changing projects, revisions, or devices; if so, use a subsequent initialize_logiclock command. | ||
TCL_ERROR | 1 | ERROR: Project has no active revision. Make sure there is an open, active revision. | ||
TCL_ERROR | 1 | ERROR: No project is currently open. Open an existing project or create a new project. | ||
TCL_ERROR | 1 | ERROR: Illegal node location. Enter a legal node location. | ||
TCL_ERROR | 1 | ERROR: Support for path-based LogicLock region members is deprecated. |