Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4891

Virtuoso Constraints SKILL code: correct my cstFindFirstConstraint syntax

$
0
0

I'm trying to get the ConstraintID of a particular constraint in the tech file foundry CG:

orderedSpacings(
( minOppExtension "METAL5" "VIA45" (0.020 0.11) 'ref "Mn.EN.1 Mn.EN.2" )

)

my skill code:

techdb = techGetTechFile( ddGetObj("tsmc13rf"))

FoundryID = cstFindConstraintGroupIn(techdb "foundry")

ConstID = cstFindFirstConstraint(FoundryID "minOppExtension" list("METAL5") list(0.02 0.11)

println(ConstID)

Running this code in the CIW gives:

*WARNING* (CST-300016): Constraint def 'minOppExtension' is not a layer constraint registry.

nil

t

The cstFindFirstConstraint is failing with ConstID having a nil value. 

Why is this warning happening?  Please help me understand how to properly format the t_constraintDefName in the cstFindFirstConstraint.


Viewing all articles
Browse latest Browse all 4891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>