Product Documentation
Cadence Application Infrastructure SKILL Reference
Product Version IC23.1, November 2023

gdmCreateSpecList

gdmCreateSpecList(
)
=> q_gdmSpecList / nil

Description

Creates a gdmSpecList object, where you can add gdmSpec objects later with the gdmAddSpecToSpecList function.

Arguments

None

Value Returned

q_gdmSpecList

The object created.

nil

The object could not be created.

Examples

You can traverse a gdmSpecList object in the following way:

specList = gdmCreateSpecList()
spec = gdmCreateSpec( "mylib" "topcell" "schematic" nil "CDBA" )
gdmAddSpecToSpecList( spec specList )
gdmResetSpecList( specList )
while( nextSpec = gdmNextFromSpecList( specList )
println( gdmInspectSpec( nextSpec "CDBA" ))
)

Additional Information

To traverse the gdmSpecList object:

  1. Reset the list by using the gdmResetSpecList function.
  2. Get gdmSpec objects by using the gdmNextFromSpecList function. The first time you call this function, it returns the first gdmSpec object from the gdmSpecList. Each successive call returns the next gdmSpec object from the gdmSpecList.

Return to top
 ⠀
X