Remove_all_global_assignments, Usage, Options – Altera Quartus II Scripting User Manual

Page 357: Description, Remove_all_global_assignments –227

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–227

project

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

remove_all_global_assignments

Usage

remove_all_global_assignments [-entity <entity_name>] -name <name> [-section_id
<section id>] [-tag <data>]

Options

-entity <entity_name>: Entity to which assignment belongs

-name <name>: Assignment name (string pattern is matched using Tcl string matching)

-section_id <section id>: Section id

-tag <data>: Option to tag data to this assignment

Description

Removes all matching global assignments.

The "-name" option is not case sensitive. This option can take string patterns containing special characters
from the set "*?\[]" as the value. The value is matched using Tcl string matching.

This Tcl command reads the global assignments found in the Quartus II Settings File (.qsf). This Tcl
command filters the assignments data found in the .qsf and removes the data based on the values specified
by the "-name" option.

Certain sections in the .qsf can appear more than once. For example, because there may be more than one
clock used in a project, there may be more than one CLOCK section each containing its own set of clock
assignments. To uniquely identify sections of this type, a <Section Id> is used. <Section Id> can be one of
three types. It can be the same as the revision name, or it can be some unique name. The following is a list
of sections requiring a <Section Id> and the associated <Section Id> description:

For entity-specific assignments, use the "-entity" option to remove the assignment(s) from the specified
entity. If the "-entity" option is not specified, the value for the FOCUS_ENTITY_NAME assignment is
used. If the FOCUS_ENTITY_NAME value is not found, the revision name is used.

Assignments removed by using this Tcl command are not saved to the Quartus II Settings File (.qsf) unless
you explicitly call one of the following two Tcl commands:

export_assignments

project_close (unless "-dont_export_assignments" is specified)

Section Id

Description

CHIP

Same as revision name

LOGICLOCK_REGION

A unique name

EDA_TOOL_SETTINGS

A unique name

CLIQUE

A unique name

BREAKPOINT

A unique name

CLOCK

A unique name

AUTO_INSERT_SLD_NODE_ENTITY

A unique name

Advertising