Can anyone help me with a skill code that can show or highlight all the single Vias and Contacts in a particular design
Which version are you using? Vias are stored very differently between IC5141 and IC61X, so it rather helps to know...
In reply to Andrew Beckett:
I am using cadence 613 version..
Thanks and Regards
I am using IC613 version
Thannks and Regards,
I am using a IC613 version
I am usng the IC613 version
Hi Andrew, I am able to generate a skill code that can show and highlightsingle vias in a design.
But i am not able to run the skill script for a hierarchial design. How do i approach now?
In reply to bunny956:
i am using IC613 version
Something like the following code. Note that it's too early in the morning, and I may have got the concatenation of transformations back to front.
procedure(BunnyTraverseHierachyForVias(cellView @optional (transform '((0 0) "R0" 1)) BunnyHighlightVias(cellView transform) foreach(inst cellView~>instances ; make sure that the concatenation is the right way around... BunnyTraverseHierarchyForVias(inst~>master dbContactTransform(transform inst~>transform)) ) ; foreach) ; procedure
The idea is that the BunnyHighlightVias is your current function, which identifies the single vias in a single cellView. The additional transform argument is to allow you to transform the coordinates for the via location into the coordinate system of the top level cellView, and then place the highlight in the right location.
As you can see, it's a simple recursive function which will traverse the hierarchy. To keep it simple, I've not worried about mosaics - I'll leave that as an exercise for you, should you have any mosaics in your design.