how can I get the pin location in top cell?

Z

zhongshq

Guest
Hi, Dear all,

I have some instance in my design, and I want to get the location of
each instance's pin. Is there any function can do such thing or I need
to transform the pin's bBox? Thanks in advance.
 
zhongshq wrote, on 06/20/08 11:07:
Hi, Dear all,

I have some instance in my design, and I want to get the location of
each instance's pin. Is there any function can do such thing or I need
to transform the pin's bBox? Thanks in advance.
You would need to use dbTransformBBox() to transform the coordinates. You might
also need dbConcatTransform() to transform throughout the hierarchy.

You can find some examples of these functions by doing a google search on
the comp.cad.cadence group.

Regards,

Andrew.
 
On 6ÔÂ20ČŐ, ĎÂÎç8Ęą26ˇÖ, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
zhongshq wrote, on 06/20/08 11:07:

Hi, Dear all,

I have some instance in my design, and I want to get the location of
each instance's pin. Is there any function can do such thing or I need
to transform the pin's bBox? Thanks in advance.

You would need to use dbTransformBBox() to transform the coordinates. You might
also need dbConcatTransform() to transform throughout the hierarchy.

You can find some examples of these functions by doing a google search on
the comp.cad.cadence group.

Regards,

Andrew.
Thank you very much
 
On Jun 20, 12:07 pm, zhongshq <zhong...@gmail.com> wrote:
Hi, Dear all,

I have some instance in my design, and I want to get the location of
each instance's pin. Is there any function can do such thing or I need
to transform the pin's bBox? Thanks in advance.
Hi,
you can get the location of an instance's pin by using this code:

IO= dbOpenCellViewByType(bib cel view "maskLayout" "r")
Inst=dbCreateInst(testchip IO "" '(0 0) "0" 1)
pin_list=Inst~>pins~>fig~>bBox
 

Welcome to EDABoard.com

Sponsor

Back
Top