xy coordinate

N

newborn

Guest
Can anyone tell me how to obtain the xy coordinate of pins from a
master cellview?
i.e.
mid=(dbOpenCellViewByType "mainlib" "vdc" "symbol")
mid~>master~>terminals~>.....(i cant find xy anywhere for the pins!!)
The only xy that i am obtaining is that of the instance itself.

Thanks!
 
I have made the nets and pins . I just need to connect the different
pins in different instances by wires.As otherwise when i do
schCheck() it returns warnings of floating points....
Help!
 
newborn wrote:

Can anyone tell me how to obtain the xy coordinate of pins from a
master cellview?
i.e.
mid=(dbOpenCellViewByType "mainlib" "vdc" "symbol")
mid~>master~>terminals~>.....(i cant find xy anywhere for the pins!!)
The only xy that i am obtaining is that of the instance itself.
You could try looking at mid~>shapes~>pin to find out which of the shapes
correspond to a pin and which pin they are, then use mid~>shapes~>bBox to
find the centre of the pin.

Cheers,

Roger
 
yeah thanks man!

For all who may hit this post on search.... after finidng bBox , find
center of pin and transform it to the origin of your instance wherever
you have instantiated it.
Get the center of the pin by code and to draw a wire, use the
transformed pin location and use it in the schCreateWire(..)
 
newborn wrote:
yeah thanks man!

For all who may hit this post on search.... after finidng bBox , find
center of pin and transform it to the origin of your instance wherever
you have instantiated it.
Get the center of the pin by code and to draw a wire, use the
transformed pin location and use it in the schCreateWire(..)
I think you are getting into much trouble here. You do not need to
actually have the wires to get a netlistable schematic. That means, you
only need to create the connectivity (instances, nets,
connections/instTerms, pins+terminals on the top cellview if
applicable). Indeed, you should NOT do schCheck in that case, only dbSave.

Then, you can always place&route your schematic with import->netlist.

I don't know exactly what's your purpose here, but that seems to me like
a lot of work for nothing if not fun!

cheers,

Stéphane
 

Welcome to EDABoard.com

Sponsor

Back
Top