• 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. Find out transistor with width less than 1u in complete...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13235
  • 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

Find out transistor with width less than 1u in complete heierarchy

Sridhar123
Sridhar123 over 6 years ago

Hi All,

Could you please help me with skill script to find out transistors with width less than 1u in complete hierarchy.

Thanks in advance.

Best regards,

Sridhar.

  • Cancel
  • mbracht
    mbracht over 6 years ago

    Hi Srihar,

    Essentially this comes down to traversing a design hierarchically. During that traversal you need for one to collect master cells to make sure you dive down just once into each master and moreover instances with their masters being transistors with a width less than 1u. The (recursive) code below roughly does that:

    (defun hierarchyTraverse (cv collectedMasters tinyTransistors)
       (let ()
          (foreach inst cv~>instances
             (when <instance is a transistor with a small width> ; <--- pseudo code
                (if tinyTransistors then
                   (nconc tinyTransistors (list inst))
                else
                   tinyTransistors = (list inst))))
          (foreach master (setof mst cv~>instanceMasters !mst~>isParamCell)
             (unless collectedMasters
                collectedMasters = (list master))
             (unless (member master collectedMasters)
                (nconc collectedMasters (list master))
                (hierarchyTraverse master collectedMasters tinyTransistors)))
          tinyTransistors))

    Call it like this: (hierarchyTraverse topDesignCellView nil nil)

    There is one piece of pseudo code in there which is in the when statement were I check for the "tiny transistor"...I leave it up to you to determine that. For a PCell instance you might use a PCell parameter, for a fixed cell you don't have that option.
    There's probably a hundred or ways to achieve what you want...the above is just supposed to give you one idea of how things might work.

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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