• 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. How to make all schematics in the library not editable using...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14120
  • 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

How to make all schematics in the library not editable using SKILL ?

Marben
Marben over 6 years ago

Hi All,
How to make all schematics in the library not editable using SKILL ?
We have a working library with layout engineers
working in, where one of our layout engineer edited the
schematics without permission. Our group have lot of trouble in this.
I want to have a SKILL code to make all schematic in the library
not editable, so that original schematic will not be edited by accident.
How can it be done using SKILL ?
Please help.

Best regards,
Marben

  • Cancel
  • Quek
    Quek over 6 years ago

    Hi Marben

    Maybe it would be good for you to first provide some info on the following:

    a. Are you using any version management software (e.g. DesignSync, ICmanage, etc)? If yes, do you mean that the layout engineer checked out the schematic, edited it and then check in the schematic?

    b. Do the schematic and layout engineers share the same linux account?


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Marben
    Marben over 6 years ago in reply to Quek

    Hi Quek,

    a. Are you using any version management software (e.g. DesignSync, ICmanage, etc)? If yes, do you mean that the layout engineer checked out the schematic, edited it and then check in the schematic?
    Answer : No, I'm not using any version management software (e.g. DesignSync, ICmanage, etc).

    b. Do the schematic and layout engineers share the same linux account?
    Answer: Yes, the schematic and layout engineers share the same linux account.

    Best regards,

    Marben

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 6 years ago in reply to Marben

    Hi Marben

    I have heard about such scenarios. Unfortunately, this cannot be easily resolved because of the account sharing. I think a possible but not so effective implementation can be as follows:

    a. All layout engineers must have "setenv layoutDesigner yes" in their .cshrc file

    b. Use the following SKILL procedure:

    procedure( CCSsetSchAsReadOnly(args)
       let( ()
          when( getShellEnvVar("layoutDesigner")=="yes"
             printf("Setting schematic cell %s to read-only for layout designers\n" args->cellName)
             dbReopen(geGetWindowCellView() "r")
             ; Add more codes to disable "File->Make editable", etc
          ) ;when
       ) ;let
    ) ;procedure


    deRegUserTriggers("schematic" nil nil 'CCSsetSchAsReadOnly)
    deRegUserTriggers("schematicXL" nil nil 'CCSsetSchAsReadOnly)


    Using separate linux accounts is the best solution. All the best for 2019. : )


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Marben
    Marben over 6 years ago in reply to Quek

    Hi Quek,

    Thank you very much for your code.

    Yes, I think so, using separate linux accounts is the best solution,

    and making a backup pf the whole library.

    Best regards,

    Marben

    • 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