• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. binding a layout to schematic and putting pins in the l...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 17014
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

binding a layout to schematic and putting pins in the layout

Inas Mohammed
Inas Mohammed over 8 years ago

Hello,

I have a script which generates a layout transistor pattern.

Then i needed to bind this layout to a schematic in order to have it XL happy.

I searched in the older links here and i found these functions: lxSetConnRef & bndSetInstsBindingByName.

And i searched for them in the manuals to know how they are used, I found that i have to use "lxSetConnRef" first then use the second function. both functions have the condition to have the instances as leaf one, what does it mean??????

I tried that and it worked nicely with the transistor has only one multiplier, but it couldn't work with the other transistors which have more than one multiplier.

So can you please tell me:

1) what is meant by leaf instance?

2) How can i make it for transistors consisting of more than one multiplier?

About putting the pins in the layout, i thought about it like the following: i just made some brain storming with my self about that.

- determine the pins needed to be placed, and their layers (text and box)

- Identify every transistor will be connected to which pins.

- for a certain transistor, identify their Drains, sources, and gates will be connected to which pins and place them.

- check if this transistor if its a dummy so all their terminals will be set to vdd.

So please can you tell me what the followed procedures for placing the pins for a pattern using skill script, if you can give a simple sample code it will be nice

Thanks

Regards,

Inas

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Inas,

    A leaf instance simply means that this is not a hierarchical instance (on the schematic side, primarily). In other words, if you have a hierarchical design with an instance of a block called I1, you can't bind everything in that block in one go - you've got to go down to the individual components.

    For binding one to many (e.g. m-factor) devices, you can either use:

    bndAddInstsBindingByName(schCv "M1" layCv "I1")
    bndAddInstsBindingByName(schCv "M1" layCv "I2")
    bndAddInstsBindingByName(schCv "M1" layCv "I3")

    etc. You may get warnings until you've bound enough instances. You can also use bndSetInstsBindingByName for the first call, but only the first for a particular schematic instance.

    Or you could use bndSetObjectsBinding:

    bndSetObjectsBinding(schInstId list(layInstId1 layInstId2 layInstId3))

    i.e. you use the database id of the instances instead, and pass a list for the  layout side.

    I can't really write your  pin placement code for you, sorry.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Inas,

    A leaf instance simply means that this is not a hierarchical instance (on the schematic side, primarily). In other words, if you have a hierarchical design with an instance of a block called I1, you can't bind everything in that block in one go - you've got to go down to the individual components.

    For binding one to many (e.g. m-factor) devices, you can either use:

    bndAddInstsBindingByName(schCv "M1" layCv "I1")
    bndAddInstsBindingByName(schCv "M1" layCv "I2")
    bndAddInstsBindingByName(schCv "M1" layCv "I3")

    etc. You may get warnings until you've bound enough instances. You can also use bndSetInstsBindingByName for the first call, but only the first for a particular schematic instance.

    Or you could use bndSetObjectsBinding:

    bndSetObjectsBinding(schInstId list(layInstId1 layInstId2 layInstId3))

    i.e. you use the database id of the instances instead, and pass a list for the  layout side.

    I can't really write your  pin placement code for you, sorry.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information