• 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. Slow simulation caused by Assertions

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 65
  • Views 16002
  • 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

Slow simulation caused by Assertions

nwang
nwang over 12 years ago

I am using -profile to investigate why my simulation is so slow, and I found the warning:

ncsim: *W,FLSTRT

the explanation of it is: The assertion is spending a significant amount of time starting new
        attempts that immediately terminate.  In most assertions, such activity
        can be minimized by optimizations in ncsim; something about this
        assertion is preventing those optimizations from taking effect. 

I want to know what prevent the optimization, how can I fix it?

 My assertion is fairly simple as below:

 property check_conflict;
      @(posedge clk) ((a && b && !c) ##1 (d && c)) |-> ##[0:2]  S;
   endproperty
   conflict:assert property (disable iff (!rst_an) check_conflict)
         else `uvm_error("ERROR",$psprintf("conflict at %0t \n",$time))

 

Further, I don't quite understand what it means in the warning explaination "starting new attempts". In the case of my assertion, does it mean new attempts are started by satifying the first part of the expression (a && b && !c) is true, but terminated by (d&&c) is not true after ##1?  From what I see in the waveform, my undertanding is not right. Can someone explain?

 Could anyone help? Really appreciated.

  • Cancel
Parents
  • tpylant
    tpylant over 12 years ago

    These method entries are optimized assembly routines which are mostly event simulator internal operations. I would suggest trying the "-iprof" option that provide more detail than the standard "-profile" option. you'll need to use the "iprof" command to analyze the output from "-iprof". It is best to review the iprof help by searching for iprof in cdsnhelp.

     Tim  

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tpylant
    tpylant over 12 years ago

    These method entries are optimized assembly routines which are mostly event simulator internal operations. I would suggest trying the "-iprof" option that provide more detail than the standard "-profile" option. you'll need to use the "iprof" command to analyze the output from "-iprof". It is best to review the iprof help by searching for iprof in cdsnhelp.

     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