• 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. Functional Verification
  3. how to deal with RTL and behavior model mismatch

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 12931
  • 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 to deal with RTL and behavior model mismatch

alexwang2009
alexwang2009 over 14 years ago

 

Hi All,

the block i am verifying is a traffic policer using token-bucket algorithm in a network chip.
the algorithm is simple: dut add tokens with a configured period, and also receive incoming packets;
if a packet length is less than or equal to the remained tokens in bucket, then it's outputted with GREEN color;
otherwise, it's outputted with RED color.

the challenge is: since dut take some extra cycles to update tokens each time, while model doesn't need to. so their output colors may be not same. in the interval that model has updated tokens while dut hasn't, many packets may come in. since model and dut may do different decisions, remained tokens no. in them may become more and more different; and more turbulence is added by large delays of multif-flows and simulations become longer. so after a few update periods, the model has been almost useless and untrustable -- more output colors mismatch but TB can't judge if that's just because of RTL timing delays, or real Bug.

i have searched on internet exhaustly but unlucky, haven't found any papers detailing the approaches to deal with this kind of mismatch. so look forward to your great comments. please let me know if i describe clearly.

Great Thanks
Wade

  • Cancel
Parents
  • tpylant
    tpylant over 14 years ago
    Would adding a packet_id to the packet payload help with the problem? You can read the packet_id from the payload to align the packets coming out of the DUT with the packets coming out of the model.

     

    Tim
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tpylant
    tpylant over 14 years ago
    Would adding a packet_id to the packet payload help with the problem? You can read the packet_id from the payload to align the packets coming out of the DUT with the packets coming out of the model.

     

    Tim
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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