Visible to Intel only — GUID: mwh1410383677329
Ixiasoft
Visible to Intel only — GUID: mwh1410383677329
Ixiasoft
2.7.2.2. Adding and Removing Collection Items
To modify collections, use the add_to_collection and remove_from_collection commands. The add_to_collection command allows you to add additional items to an existing collection.
add_to_collection Command
add_to_collection < first collection > < second collection >
The remove_from_collection command allows you to remove items from an existing collection.
remove_from_collection Command
remove_from_collection < first collection > < second collection >
The following example shows use of add_to_collection to add items to a collection.
Adding Items to a Collection
#Setting up initial collection of registers
set regs1 [get_registers a*]
#Setting up initial collection of keepers
set kprs1 [get_keepers b*]
#Creating a new set of registers of $regs1 and $kprs1
set regs_union [add_to_collection $kprs1 $regs1]
#OR
#Creating a new set of registers of $regs1 and b*
#Note that the new collection appends only registers with name b*
# not all keepers
set regs_union [add_to_collection $regs1 b*]
In the Intel® Quartus® Prime software, keepers are I/O ports or registers. An .sdc file that includes get_keepers is incompatible with third-party timing analysis flows.