• 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. Logic Design
  3. LEC - Conformal RTL to netlist mismatch

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 65
  • Views 14108
  • 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

LEC - Conformal RTL to netlist mismatch

hnfq
hnfq over 13 years ago

Hi, I have now seen this issue with two different designs and have not been able to figure out the root cause for this behaviour.

I have synthesized a design using RTL Compiler and have generated both mapped and an optimized netlist.

1. When I compare the RTL to mapped netlist (non-hierarchical comparison), I don't see any non-equivalent points.

2. When I compare the mapped netlist to the final optimized netlist, I don't see any non-equivalent points.

3. But when I compare RTL to final optimized netlist, I get non-equivalent points.

Looking into this matter in detail, I noticed that these non-equivalent points start showing up as soon as I run the first incremental synthesis on the mapped netlist.

Any ideas as to why the RTL to final netlist comparison are showing non-equivalencies?

  • Cancel
  • bmiller
    bmiller over 13 years ago

    I have seen this happen before too, and in my case it was caused by sequential merging in RTL-Compiler.  The two step LEC flow helps LEC resolve and verify sequential merging.  The single step verification flow can often resolve sequential merging, but sometimes it cannot.

    The two step LEC flow is the recommended way to verify RC netlists.  I suggest you continue to use the two step flow.  It is the best way to prevent false-noneqs and aborts.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hnfq
    hnfq over 13 years ago

    Thanks for your input on the matter.

    As far as the RTL to mapped netlist comparison is concerned, should that be hierarchical or would a non-hierarchical comparison suffice?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • bmiller
    bmiller over 13 years ago

     Whenever RTL is the "golden" design in LEC, you should use a hierarchical compare.  This will be the most efficient, and give the best chance of a successful compare with no aborts.

     Also, this is the default when using write_do_lec.  If RTL is the golden, write_do_lec will write out a hierarchical compare script, unless you explicitly say -flat.  Similarly, if you are generating a dofile with write_do_lec and you specify a -golden netlist (such as in the intermediate-to-final comparison), write_do_lec will default to writing a flat compare script.

     Is there a reason why you would prefer a flat compare with RTL as the golden?

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hnfq
    hnfq over 13 years ago

    No, there wasn't any particular reason for running flat comparison. I just wanted to make sure that whether I run hierarchical or flat comparison I would be able to rely on the final result.

    Appreciate your input on this issue. Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • bmiller
    bmiller over 13 years ago

     You can certainly rely on the final result whether you run flat or hierarchical.

     If you'd like to have the option to run both ways, I suggest writing out two LEC dofiles with the write_do_lec command; one with -flat, and one without.

     But, the preferred method is to run hierarchical if RTL is golden.

    Good luck!

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Manoj Kumar S
    Manoj Kumar S over 11 years ago

     Hi bmiller,

    Can you explain what does sequential merging and sequential constanting mean?

     

    Thanks

    Manoj

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • bmiller
    bmiller over 11 years ago

     Sure.  Sequential merging is when the synthesis tool merges two or more flops into one because they have the exact same function.  Sequential constant is when the synthesis tool optimizes away flops that are always tied to 1'b1 or 1'b0.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Manoj Kumar S
    Manoj Kumar S over 11 years ago

     Thanks :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • JamesJawan
    JamesJawan over 11 years ago

    Thank, I had the same Mismatch and your posts helped me also I found more Cdence blog.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • r u verified
    r u verified over 11 years ago
    Hi guys, I have somewhat surprised different result even with 2 steps verification though I my case is kind of similar as what hnfq described here. I have a simple design as well, and if I compared RTL vs. the first mapped netlist (without optimization before compile_ultra -incr in DC), LEC is passing; but when compared the final optimized netlist (after compile_ultra -incr in DC) vs. either RTL or first mapped netlist, it failed on LEC comparison. So it's obvious that compile -incr did something which confused LEC to pass, but I tried all methods mentioned by LEC guide or Cadence's blog suggestions here (as I knew), like no flop merge, no phase-invert, data-path guide etc., none of them worked. It's kind of surprised that an incr. compiled netlsit can't pass LEC vs. a same but non-incr. compiled netlsit from same RTL in DC. Do you guys have any further idea on this LEC failure? Thanks,
    • 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