Home > Community > Forums > Functional Verification > Complete Simulation Run when Assertion fails

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Complete Simulation Run when Assertion fails 

Last post Thu, Nov 22 2007 10:06 PM by archive. 3 replies.
Started by archive 22 Nov 2007 10:06 PM. Topic has 3 replies and 1749 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Nov 22 2007 10:06 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Complete Simulation Run when Assertion fails Reply

    hi Cdnusers,

          I am writing SV assertions and using  IUS 5.8 simulator, While running the SV assertions if an assertion fails the simulation is getting Stopped.
         I wrote 10 assertions and  simulator run is getting stopped if a 4th assertions failing on some Error injection but i want to check the allied assertion failures for the  6th and 7th assertion also.
     
         Please suggest me a way to continue Simulation run when assertion fails and get a list of all Assertion failures.


    Originally posted in cdnusers.org by ramesh_pal_yadav
    • Post Points: 0
  • Fri, Nov 23 2007 12:43 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Complete Simulation Run when Assertion fails Reply

    Hi Ramesh,

    you need the following command:

    assert_stop_level never

    See also http://sourcelink.cadence.com/docs/files/Release_Info/Docs/ncvlog/ncvlog6.2/debugging.html#1028139

    Regards,
    Joerg.


    Originally posted in cdnusers.org by jmueller
    • Post Points: 0
  • Fri, Mar 7 2008 9:47 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Complete Simulation Run when Assertion fails Reply

    Hi Jeorg,
    Now i am working with IES 6.2 where i am usinf "irun" command for compilation,elaboration and simulation. Here i couldnt find any support for "assert_stop_level".I am getting an Error as
     irun: *E,BDOPT: Unknown option -assert_stop_level.

    Is there any other way that i can Make my Assertion Errors covert into Warnings to Enable Complete Simulation Run ??

    Thanks and regards,
    RP Yadav


    Originally posted in cdnusers.org by ramesh_pal_yadav
    • Post Points: 0
  • Sun, Mar 9 2008 10:14 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Complete Simulation Run when Assertion fails Reply

    Hi RP Yadav,
    The assert_stop_level is a TCL command to ncsim. Though I've not tried it inside irun, I believe irun would accept some form of a runtime TCL/DO file similar to:
    ncsim top -input cmd.tcl

    That should work for you. Else there used to be a variable NCSIMARGS in hdl.var that you can set - but that's round about a way.

    HTH
    Ajeetha, CVC
    www.noveldv.com


    Originally posted in cdnusers.org by ajeetha
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 22 Nov 2007 10:06 PM. Topic has 3 replies.