• 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. Title Block cell issue

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 6890
  • 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

Title Block cell issue

Larry Allen
Larry Allen over 2 years ago

So, I have created a title block cell to place in my schematic views. It lists the following:

LIB: IlInst~>cellView~>libName

CELL: ilInst~>cellView~>cellName

VIEW: ilInst~>cellView~>viewName

Last Saved: ilInst~>cellView~>fileTimeStamp

Last Designer: ilInst~>cellView~>lastDesigner

All of these work except for the Last Designer. Is there a way to have it save who was the last user that saved the schematic view in this title block? I want to be able to see if someone other than the owner has made changes to the vew.

  • Cancel
Parents
  • Larry Allen
    Larry Allen over 2 years ago

    all of these are of type ILLabel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Larry Allen

    Not surprising that lastDesigner doesn't work since it's not something that is normally in the database. You could achieve this with a save trigger which will add the property just before save (this code will add it for schematic, symbol and layout cellViews):

    procedure(CCFlastDesigner(cv)
      unwindProtect(
        {
          dbDisableCellViewCounter(cv)
          cv~>lastDesigner=getLogin()
        }
        {
          dbEnableCellViewCounter(cv)
        }
      )
    )
    
    dbRegSaveTrigger('CCFlastDesigner)

    The disabling of the counter is just to make sure that this doesn't break check-and-save (otherwise adding the property would make the connectivity seem out of date for netlisting).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Larry Allen

    Not surprising that lastDesigner doesn't work since it's not something that is normally in the database. You could achieve this with a save trigger which will add the property just before save (this code will add it for schematic, symbol and layout cellViews):

    procedure(CCFlastDesigner(cv)
      unwindProtect(
        {
          dbDisableCellViewCounter(cv)
          cv~>lastDesigner=getLogin()
        }
        {
          dbEnableCellViewCounter(cv)
        }
      )
    )
    
    dbRegSaveTrigger('CCFlastDesigner)

    The disabling of the counter is just to make sure that this doesn't break check-and-save (otherwise adding the property would make the connectivity seem out of date for netlisting).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Larry Allen
    Larry Allen over 2 years ago in reply to Andrew Beckett

    Thanks Andrew. Where would I add this code?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Larry Allen
    Larry Allen over 2 years ago in reply to Larry Allen

    just in a .il file and include it from .cdsinit?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Larry Allen
    Larry Allen over 2 years ago in reply to Larry Allen

    i just put the code in a file and loaded it from my .cdsinit. seems to work. thanks again.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Larry Allen

    Yes, that's what I would have suggested.

    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