• 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. check on track

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 13796
  • 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

check on track

Rojalin
Rojalin over 13 years ago

hi,

I have some pins in the layout along with some tracks .I want to check if the center of the pin lie on the track.

for that i want to check output of a function should be an odd integer.

how to do this ??

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Your description is a little vague, but the relevant functions would be:

    center=centerBox(pinFig~>bBox) => return the centre of the pin figure - the pinFig would be pin~>fig (for example)

    dbGetOverlaps(cvId list(center center) ...)

    to find out what's under the point you've found.

    Not sure what you mean about it returning an integer, but oddp() will determine if an integer is odd or not.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Rojalin
    Rojalin over 13 years ago

    hi,

    if(yCoord(centerBox(obj~>bBox))/0.04) this is the conditional statement i want to put.If this output is an odd integer or not  i need to check.

    how to do this? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    So presumably oddp(round(yCoord(centerBox(obj~>bBox))/0.04)) will tell you this.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Rojalin
    Rojalin over 13 years ago
    hi, Thanks andrew but It did not solve my purpose, let me explain my purpose clearly. I have many pins in my layout. I want to chack ycoordinate of center of the pins at odd multiple of 0.04.If some pins are not at odd multiple of 0.04 then it should print that pin is not correct. Please suggest me how to achive this??
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    It's still not clear. I've told you how to find out the coordinate of a pin figure, how to check that an integer is odd, and how to check that a coordinate is on top of some shapes. What more do you need to know? Are you just expecting me to write the entire code for you?

    Regards,

    Andrew.

    • 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