• 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. Compare two LEF files

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 15706
  • 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

Compare two LEF files

Sherl
Sherl over 5 years ago

Hi all,

Is there any way I can compare 2 LEF files with each other?

Best regards,

Huy Hoang

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    I understand there's a tool from Si2 called something like lefdiff as part of the LefDef tools (Si2 is the standards organisation that covers OpenAccess and the LEF/DEF formats and parsers). You'd need to register with Si2 and download from there: www.Si2.org/OpenAccess 

    I don't believe Cadence provides any tool to do this.

    Regards,

    Andrew.

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

    Hi Andrew,

    Thanks for the feedback, I tried searching in Si2 but still couldn't find a comparison tool between the two LEF files.
    I tried using cadence tool to import the LEF file into a library, then from the abstract view created by importing the LEF file, I created the GDS file, but that GDS file only contains shapes (rect, ...) and the blockage is not available.
    Do you have any ideas for comparing two LEF files?

    Best regards,

    Huy Hoang

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

    Hi Andrew,

    Thanks for the feedback, I tried searching in Si2 but still couldn't find a comparison tool between the two LEF files.
    I tried using cadence tool to import the LEF file into a library, then from the abstract view created by importing the LEF file, I created the GDS file, but that GDS file only contains shapes (rect, ...) and the blockage is not available.
    Do you have any ideas for comparing two LEF files?

    Best regards,

    Huy Hoang

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

    There are various mentions of lefdiff and lefdefdiff in the README files, but the Si2 site is very hard to navigate and find anything - I couldn't locate the download. I see you've asked on the Si2 forums - that's probably the best solution.

    Other than that, my only thought was to do a LEF import in Virtuoso, and then stream out (to GDS) and do an XOR in a physical verification tool, but that would only check a subset of the info (you'd have to do some work to ensure that blockage info was streamed out to layers) - and this wouldn't check connectivity. So finding this comparison tool in the LEF/DEF standards probably is going to be your best option.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Sherl
    Sherl over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you for the information shared. Wish you a good day.

    Best regards,

    Huy Hoang

    • 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