• 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. Property for when writes to a fifo stop

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 64
  • Views 15018
  • 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

Property for when writes to a fifo stop

archive
archive over 18 years ago

I need a property for formal analysis that says when writes to a FIFO stop, the FIFO eventually empties.  The logic in the module I am verifying does the reading of the FIFO.  I'm trying to verify that the logic will always read everything out.  The write is an input to the module.

I broke it up into an assumption and an assertion.  Let me know if you think this works or if you have a better idea.  Thanks.

//psl assume_wr_stops: assume always(
// eventually! ~write
//)@(posedge clk);

//psl assert_eventually_empty: assert always(
// eventually! empty
//)@(posedge clk);


Originally posted in cdnusers.org by weberrm
  • Cancel
Parents
  • archive
    archive over 18 years ago

    Ross,

    Yes your solution works fine and is much more elegant than mine!! I tried both solution on some fifo code I had. Both worked.
    I did have to add the constraint on read because I considered as an input to the fifo block.

    Thanks,

    Claude


    Originally posted in cdnusers.org by cbeaureg
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 18 years ago

    Ross,

    Yes your solution works fine and is much more elegant than mine!! I tried both solution on some fifo code I had. Both worked.
    I did have to add the constraint on read because I considered as an input to the fifo block.

    Thanks,

    Claude


    Originally posted in cdnusers.org by cbeaureg
    • 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