i have been trying to find the coordinates of the transistors in an extracted view. The cellview~>instances~>bBox command isnt working correctly. I have tried it on two different extracted views, and it returns a bounding box that is about 2 times larger than it should be. For example i get the bBox: (9.644 14.72) (16.296 19.91) by using the skill command ~>bBox, but when i look at it graphically, its actually located at (12.00 14.72) (13.00 18.72) which has a length of 1 and a width of 4 and is correct. I would greatly appreciate any help. Thanks a lot
That's probably because you're seeing the bounding box of the symbol that is part of the instantiated transistor.
If you use cellView~>instances~>xy you'll get the origin of the transistor - normally a corner of the gate. Does that help?
Is this a Diva extracted view or an Assura/QRC extracted view. If Diva, I believe there's another property stored on the instance which is the area of the recognition layer (from memory - I didn't check) which you could also use.
In reply to Andrew Beckett:
thanks for the prompt answer. I believe its an Assura extracted view. With cellView~>instances~>xy i get the upperleft corner of the gate, but that doesnt tell me in which direction the transistor is stretching(if i should take the x direction as the transistor length or the y direction).
In reply to Orcun:
Actually I think it's if the extract rules have a call to saveRecognition() for that device, regardless of whether it's Diva or Assura. If that's the case, there's a property added to the instance with the coordinates of the recognition layer - which should give you the gate.
Other than that, all you have is the origin of the device.