• 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. Digital Implementation
  3. finding port side

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 91
  • Views 13220
  • 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

finding port side

archive
archive over 12 years ago

Hi All

Is there any command or procedure to check the side of a given block port.

I have a port i need to find on which side this port is placed (left or top or right or bottom).

 

 

  • Cancel
Parents
  • jgentry
    jgentry over 12 years ago

    You can use dbGet to see the side of the pin.  Assuming this is an "hterm" (i.e. pin of a hierarchical block 'fence'), do the following:

    set htermPtr [dbGetHTermByInstTermName full_hier_path/pin_name]

    dbGet $htermPtr.term.side

    However, it should be noted that this will return the side of the master and, thus, you would need to figure out what that transforms to if the clone has a non-R0 orient (i.e. North = South if clone is MX).  I don't know what will come back if this "block" is loaded from LEF.  Note that a LEF block's pin could be internal and not actually have a "side".

    Hope that helps, 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jgentry
    jgentry over 12 years ago

    You can use dbGet to see the side of the pin.  Assuming this is an "hterm" (i.e. pin of a hierarchical block 'fence'), do the following:

    set htermPtr [dbGetHTermByInstTermName full_hier_path/pin_name]

    dbGet $htermPtr.term.side

    However, it should be noted that this will return the side of the master and, thus, you would need to figure out what that transforms to if the clone has a non-R0 orient (i.e. North = South if clone is MX).  I don't know what will come back if this "block" is loaded from LEF.  Note that a LEF block's pin could be internal and not actually have a "side".

    Hope that helps, 

    • 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