• 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 Design
  3. Search and Replace in schematic

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 126
  • Views 20913
  • 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

Search and Replace in schematic

Sridhar123
Sridhar123 over 11 years ago

Hi all,

 

Does any one have a skill script to replace the instances in a cellview from one Libray to a different LIbrary with a different cellname.This has to be run for the complete Library . I couldn't use the inbuilt schematic search and replace as the Library name is changed and even the cellview name.

FOr ex In Library "TEST"  There are four cellviews with names "sch1" "sch2" "sch3" and "sch4" now in this four cellviews there are  instances with name "INV1" pointing from "CORELIB" Library , but now I want to search the complete Library "TEST" to change the instances with the name "INV1" to "INV1_DCV" from the Library "CORELIB_DCV" which has to be applied to all the cellviews here in this case "sch1" "sch2" "sch3" and "sch4".

 

Thank you very much for your support,

 

Best regards,

Sridhar.

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Hi Sridhar,

    If you use Find or Replace you can search (and replace) for "master" rather than cellName. If you do that, the value needs to be the libName, cellName, and viewName (space separated) - so for example "mylib mycell myview".

    Or you might find this post useful. It points to some SKILL code that I wrote to do this.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Sridhar123
    Sridhar123 over 11 years ago

    Hi all,
     
    Does any one have a skill script to replace the instances in a cellview from one Libray to a different LIbrary with a different cellname.This has to be run for the complete Library . I couldn't use the inbuilt schematic search and replace as the Library name is changed and even the cellview name.
    FOr ex In Library "TEST"  There are four cellviews with names "sch1" "sch2" "sch3" and "sch4" now in this four cellviews there are  instances with name "INV1" pointing from "CORELIB" Library , but now I want to search the complete Library "TEST" to change the instances with the name "INV1" to "INV1_DCV" from the Library "CORELIB_DCV" which has to be applied to all the cellviews here in this case "sch1" "sch2" "sch3" and "sch4".
     
    Thank you very much for your support,
     
    Best regards,
    Sridhar.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 11 years ago

    Hi Sridhar,

    Have you tried looking at Solution Article 11330954?

    Also Solution Article 11406650 contains the same code and shows an example of just what you are asking for.  Be aware that if you change one cell to another that the CDF callbacks will not be triggered (as they would if you were placing these components using the GUI), so the new cell instances might not be self-consistent.  There is another solution for this, if needed.

    Please let us know if you need more help after trying these.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 11 years ago

    Sridhar,

    I just saw Andrew's post after making my own - his code solution should take care of the instance CDF callbacks (I think, it appears so from a quick glance).

    Take your pick.

    Regards,

    Lawrence.

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

    The Forum Guidelines ask you not to double post. I will merge this with your other identical question.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ddean
    ddean over 10 years ago
    Andrew, does that link point to the correct post? I don't see any skill code - it links to rodCreatePath with 45 degree angles. Also, will the code properly update the CDF callback as Lawrence mentions in the post below?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Douglas,


    No, it was incorrect. I've corrected it now (actually it now points to the newest version of the code) - for convenience (to avoid you having to scroll up), this is the link too.

    Yes, it handles the CDF callbacks, as you'll see in the other post.

    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