Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 9/26/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.1.6.5. dni::index_collection (::quartus::dcmd_sdc_collection_api)

The following table displays information for the dni::index_collection Tcl command:

Tcl Package and Version

Belongs to ::quartus::dcmd_sdc_collection_api

Syntax dni::index_collection [-h | -help] [-long_help] <collection> <index> <index2>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
<collection> The base collection
<index> The index to locate an object in the collection
<index2> The second index to locate an item in the collection. If present, a list of objects between index and index2 in the base collection will be used to create a new collection
Description
Given a collection and an index, if the index is in range, create a new collection containing only the single object. Optionally a second index can be passed to create a new collection with the objects between the two indices in the base collection.
Example Usage
set new_collection [::dni::index_collection $collection 0 10]
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful