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

gdmResetSpecList

gdmResetSpecList(
q_gdmSpecList
)
=> t / nil

Description

Resets the gdmSpecList so that you can obtain gdmSpec objects from it with successive calls of the gdmNextFromSpecList function.

Use this function before you use the gdmNextFromSpecList function. If you reset the gdmSpecList and then call gdmNextFromSpecList, the first gdmSpec object in the gdmSpecList is returned.

Arguments

q_gdmSpecList

The object you want to reset.

Value Returned

t

The gdmSpecList was reset.

nil

The gdmSpecList could not be reset.

Examples

Use gdmResetSpecList and gdmNextFromSpecList 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" ))
)

Related Topics

gdmNextFromSpecList


Return to top
 ⠀
X