• 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. automatic highlights

Stats

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

automatic highlights

Karev11
Karev11 over 10 years ago

Hi,

I posted a question about codes to highlight schematic nodes with thicker lines and Larry provided me codes below:

packets = foreach(mapcar lay '("y0" "y1" "y2" "y3" "y4" "y5" "y6" "y7" "y8" "y9")
  pack = drGetPacket("display" strcat(lay "_drawing"))
  setcar(cdddr(pack) "thickLine")
  apply('drSetPacket pack)
  pack)

which works perfectly.

I wonder if anyone could provide the code to set it to default so that there's no need to copy these lines of code to CIW everytime?

thanks,

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    It depends on how the colors (colours for me!) are being set. If the PDK is doing a drLoadDrf() from within the libInit.il of the technology library, this gets a bit more complicated (especially if you need to make this work in IC5141). If not, then it's just a matter of updating your display.drf with the Display Resource Editor and then putting that in your working directory (or doing a drLoadDrf("/path/to/display.drf" nil) in your .cdsinit after any other has been loaded.

    If it's being loaded by a PDK's libInit.il file, then you need to add a trigger to load your own (or run this SKILL code) after the PDK's libInit.il has been read. This can be done using the code in this post. Then do:

    procedure(myDoSomethingAfter(libName)
      printf("Override the default display.drf for %L\n" libName)
      drLoadDrf("/path/to/some/display.drf" nil)
      t
    )
    abDoSomethingAfterLibInit("gpdk090" 'myDoSomethingAfter)

    Or rather than the drLoadDrf, you could put the code above in the myDoSomethingAfter function.

    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