• 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. db command to get power pin co-ordinates for a given Ma...

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 93
  • Views 21449
  • 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

db command to get power pin co-ordinates for a given Macro

deeps
deeps over 16 years ago

 Hi,

    I am trying to get the power pin co-ordinate details for a given Macro, 

        Is there a way by using db commands we can get the exact co-ordinate details of the power pins that are present on the Macro.I am using dbGet command to get the co-ordinate details of the macro location.

 

thanks

deepak. 

  • Cancel
Parents
  • BobD
    BobD over 16 years ago

    It's been around since 7.1 I believe.  Here's the usage:

    encounter 1> dbTransform -help

    Usage: dbTransform [-help] [-d] -localPt {{x1 y1} {x2 y2}...} {-inst <instPtr> | {-cell <cellPtr> -orient <orientEnum> -pt {x y}}}

    -help                             # Prints out the command usage
    -d                                # Specifies if points are in dbUnit: default
                                      # is um (bool, optional)
    -inst <instPtr>                   # instance object (db object, optional)
    -cell <cellPtr>                   # cell object (db object, optional)
    -orient {dbcR0|dbcR90|dbcR180|dbcR270|dbcMX|dbcMX90|dbcMY|dbcMY90}
                                      # orientation (enum, optional)
    -pt {x y}                         # location (point, optional)
    -localPt {{x1 y1} {x2 y2}...}     # a pt {x y} or list of pts {{x1 y1} {x2
                                      # y2}...} inside cell (point list, required)

    One other thing to mention: In 9.1, dbTransform will automatically handle lists, so the foreach I used in my example could be removed and dbTrasnform could be called like this:

    [DEV]encounter 1> dbTransform -localPt [dbGet selected.cell.pgTerms.pins.allShapes.shapes.rect] -inst [dbGet selected]
    {226.625 919.465 235 890.175} {226.625 919.465 235 890.175} {226.625 919.465 235 890.175} {226.625 919.465 235 890.175} {207.72 919.465 235 890.175} {207.72 919.465 235 890.175}

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • BobD
    BobD over 16 years ago

    It's been around since 7.1 I believe.  Here's the usage:

    encounter 1> dbTransform -help

    Usage: dbTransform [-help] [-d] -localPt {{x1 y1} {x2 y2}...} {-inst <instPtr> | {-cell <cellPtr> -orient <orientEnum> -pt {x y}}}

    -help                             # Prints out the command usage
    -d                                # Specifies if points are in dbUnit: default
                                      # is um (bool, optional)
    -inst <instPtr>                   # instance object (db object, optional)
    -cell <cellPtr>                   # cell object (db object, optional)
    -orient {dbcR0|dbcR90|dbcR180|dbcR270|dbcMX|dbcMX90|dbcMY|dbcMY90}
                                      # orientation (enum, optional)
    -pt {x y}                         # location (point, optional)
    -localPt {{x1 y1} {x2 y2}...}     # a pt {x y} or list of pts {{x1 y1} {x2
                                      # y2}...} inside cell (point list, required)

    One other thing to mention: In 9.1, dbTransform will automatically handle lists, so the foreach I used in my example could be removed and dbTrasnform could be called like this:

    [DEV]encounter 1> dbTransform -localPt [dbGet selected.cell.pgTerms.pins.allShapes.shapes.rect] -inst [dbGet selected]
    {226.625 919.465 235 890.175} {226.625 919.465 235 890.175} {226.625 919.465 235 890.175} {226.625 919.465 235 890.175} {207.72 919.465 235 890.175} {207.72 919.465 235 890.175}

     

    • 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