• 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. Searching and Extracting LPPs from the techfile with a ...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 15321
  • 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

Searching and Extracting LPPs from the techfile with a condition

blankman
blankman over 5 years ago

Hi,

I would like to extract a list of LPPs from my techfile that have the word "fill" in any part of of the purpose description, ie for example (RX cfill) (RX gapFill) (RX fillOPC). I would like all of these LPPS to be listed, and irrespective of case. Could anyone help me with how to obtain this list of LPPs?

Thanks,

Brian.

  • Cancel
  • skillUser
    skillUser over 5 years ago

    Hi Brian,

    The following returns the LP objects that match from the tech file (assuming a current cellview for obtaining the technology file):

    setof(lp techGetTechFile(geGetEditCellView())~>lps rexMatchp("[fF][iI][lL][lL]" lp~>purpose))

    The LP object is a particular representation of a layer-purpose pair - using the object you can access the layer name: LPobj~>layer~>name, and was you can see above you can access the purpose directly.

    Hope this helps!

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • blankman
    blankman over 5 years ago in reply to skillUser

    Thanks Lawrence,

    .

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to blankman

    Hi Brian,

    LPobjectsFinal=foreach(mapcar lpp LPobjects list(lpp~>layerName lpp~>purpose))

    will do it. 

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 5 years ago in reply to Andrew Beckett

    Minor correction:
    LPobjectsFinal=foreach(mapcar lpp LPobjects list(lpp~>name lpp~>purpose))

    since these are 'LP' objects (~>layerName will return 'nil')

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to skillUser

    Thanks Lawrence. The perils of writing a reply on the phone without testing it or checking!

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • blankman
    blankman over 5 years ago in reply to Andrew Beckett

    Thanks Lads! That is much appreciated, Brian.

    • 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