• 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. How can I make non-intrusive labels?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 13539
  • 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 can I make non-intrusive labels?

Composter
Composter over 16 years ago
I have a schematic symbol that has a few labels and I want to keep the clutter down i.e. if my parameterized instances have a scale factor of 1 then I don't want to see the "1" beside the symbol on my schematic. One way I've found to do this is to put down an ILLABEL like (hmmm, I can't seem to be able to create a new line in this web form by typing a carriage return!!!) if (cdfParseFloatString(ilInst~>Scale) != 1 then sprintf(nil "%g" cdfParseFloatString(ilInst~>Scale) ) While that does work, the lengthy label definition text yields a big margin around the symbol when doing a full schematic view. If the symbol is at the edge of the page then I get a few more inches of dead space when doing a full view. Is there a way I can get around this (i.e. a much smaller label definition) such that everything is self contained within the symbol - I don't want to require that others who use this symbol also need to take some skill code off my hands. Thanks.
  • Cancel
  • skillUser
    skillUser over 16 years ago

     Hi,

    Do you have a selection box around the symbol?  I'm guessing that you do not, and hence the default selection area around the shape follows the extent of the data inside.  Add one using Create -> Selection Box and choose Automatic (this is the IC61x menu, for IC5141 it is Add -> Selection Box).  This should solve your problem.

    Regards,

    Lawrence.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Composter
    Composter over 16 years ago
    I do have a selection box, and the label text extends way beyond it. It seems the selection box works as advertised for selecting the instance, but has absolutely nothing at all to do with the display bounds of the instance.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Composter
    Composter over 16 years ago
    I'm bumping my question to the top in the hopes there is anybody out there who can help me. The first post tells the story. Perhaps a related question is if I embed some skill code in a cellview parameter (ILExpr) then how do I access that parameter from an ILLabel in the symbol view? Again, the skill code in the expression is rather lengthy and Composer figures out the display bounds for a full schematic view by (wrongly, IMHO) taking into account the full length of the symbol label expressions. Many of my label expressions are so long that a full view yields a teeny tiny schematic because of this effect.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 16 years ago

    Have you considered defining some functions for your labels? The functions can be smaller strings so the symbol extents won't blow up.

    procedure(myLabel() sprintf(nil "cellName: %s" ilInst~>master~>cellName))

    The procedure name is then all that is needed for the ilLabel. The procedure can be defined in a file called libInit.il inside the library so it will automatically be loaded when the library is first accessed.

    -Derek

    • 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