• 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. how to make one parameter shared by bunch of stretch handles...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 13237
  • 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

how to make one parameter shared by bunch of stretch handles?

zssfred
zssfred over 9 years ago

In the official docs, cadence shows how to make stretchable handles for the metals on the source and drain of a MOS.

But it needs to define separate parameters for each metal of source and drain. It is simple but tedious. Especially, in multi-finger mode, it is impossible to define the required parameters because the metals on source and drain are variables.

There should be a data structure to tackle these issues. And it is already a common practice in lots of foundries' PDKs.

Anyone knows the detailed algorithm?

Thanks.

Fred

  • Cancel
Parents
  • theopaone
    theopaone over 9 years ago

    Hi Fred

    The simplest method is to use a DPL (Disembodied Property List) as the value of the stretch parameters to contain the stretch information. For a MOS device, I usually add parameters for the top drain handles, bottom drain handles, top source handles, bottom source handles and same for the gate ends if necessary.You could get by with one parameter but the value is a string which gets pretty long and takes some time to turn into a DPL and back.

    The parameter value is actually a string which is turned into a DPL with evalstring in the stretch handle function and the pcell function (I use the same code to parse the information for consistency).

    "(nil d1 .02 d7 .08 )" => (nil d1 .02 d7 .08)

    value->d7 == .08

    value->d3 == nil (not found) - No stretch, offset is 0.

    value->d3 = .04

    (nil d1 .02 d7 .08 d3 .04)

    The DPL value starts with a nil and has a key, value pair. The key is the stretch handle name, the value is the number which is subtracted from the "usual place" where the metal would be without stretching. I use subtraction because most of the time because the resulting string is shorter.

    The stretch handle function makes sure the value is within the constraints. It converts the DPL back into the string to update the parameter using sprintf:

    sprintf( nil "%L" DPL )

    The pcell subtracts the value from the usual place for the metal edge to calculate the offset and fills in the contacts accordingly. If a value is not found in the DPL, there is 0.0 offset.

    Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • theopaone
    theopaone over 9 years ago

    Hi Fred

    The simplest method is to use a DPL (Disembodied Property List) as the value of the stretch parameters to contain the stretch information. For a MOS device, I usually add parameters for the top drain handles, bottom drain handles, top source handles, bottom source handles and same for the gate ends if necessary.You could get by with one parameter but the value is a string which gets pretty long and takes some time to turn into a DPL and back.

    The parameter value is actually a string which is turned into a DPL with evalstring in the stretch handle function and the pcell function (I use the same code to parse the information for consistency).

    "(nil d1 .02 d7 .08 )" => (nil d1 .02 d7 .08)

    value->d7 == .08

    value->d3 == nil (not found) - No stretch, offset is 0.

    value->d3 = .04

    (nil d1 .02 d7 .08 d3 .04)

    The DPL value starts with a nil and has a key, value pair. The key is the stretch handle name, the value is the number which is subtracted from the "usual place" where the metal would be without stretching. I use subtraction because most of the time because the resulting string is shorter.

    The stretch handle function makes sure the value is within the constraints. It converts the DPL back into the string to update the parameter using sprintf:

    sprintf( nil "%L" DPL )

    The pcell subtracts the value from the usual place for the metal edge to calculate the offset and fills in the contacts accordingly. If a value is not found in the DPL, there is 0.0 offset.

    Ted

    • 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