• 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. move instances of a pcell in the whole design

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13749
  • 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

move instances of a pcell in the whole design

nuSkill
nuSkill over 15 years ago

 

Hi, I have an existing layout and I changed the pcell type of the resistors used, the problem is the pcell origin of the original is different from the new one. I can replace them just fine, but all instances are shifted once I update it. Is there a way in skill to move all instances of the new pcells on my entire layout library? Perhaps a shift commnad or something? Below is a clip of how I replace the pcell. 

 if( inst~>cellName == "res_old" then

    leReplaceAnyInstMaster( inst "new_library" "res_new" nil )

    ;; shift the instance position code here???

)

 Appreciate any help.

/Andal

  • Cancel
Parents
  • nuSkill
    nuSkill over 15 years ago

     

    Hi Andrew, Thank you very much for your suggestions and sorry for the delayed reply. I actually kinda found some solution for my problem whis is by manipulating the inst~>xy property of the instance. I just need to figure out the math for the delta x and delta y transformation. It seems I must consider the inst~>orient property as well in order to achieve the original position of my instances after replacement. 

    Again thank you very much for your support.

    /Andal

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • nuSkill
    nuSkill over 15 years ago

     

    Hi Andrew, Thank you very much for your suggestions and sorry for the delayed reply. I actually kinda found some solution for my problem whis is by manipulating the inst~>xy property of the instance. I just need to figure out the math for the delta x and delta y transformation. It seems I must consider the inst~>orient property as well in order to achieve the original position of my instances after replacement. 

    Again thank you very much for your support.

    /Andal

    • 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