• 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. IRUN command to change the Assertion severity level

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 65
  • Views 18786
  • 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

IRUN command to change the Assertion severity level

mahee424
mahee424 over 9 years ago

Hi,

   I'm new to assertions and i've written the following property in my interface.

  property p1;

    @(posedge clk) (data == 2'h2) ##[1:6]  (data1 == 2'h2);

 endproperty

always@(posedge clk) assert property (p1);

When i run; the simulation is suddenly stops after the first assertion failure. I want to change the severity of assertion from ERROR to warning.

Please help in this regard?

REGARDS,

MAHEE

 

  • Cancel
  • StephenH
    StephenH over 9 years ago

    Simply add the following after the assert (right before the semi-colon).

    $warning("your message here") 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mahee424
    mahee424 over 9 years ago
    Hi, Even after making $warning message the simulation is stops when the assertion fails. This is observed when i run in GUI mode.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tpylant
    tpylant over 9 years ago

    Try using the TCL command:

    set assert_stop_level never

    TIm

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mahee424
    mahee424 over 9 years ago

    Hi tpylant,

          Can we have irun switch instead TCL to change the severity of assertion or to continue simulation even found assertion failure?

    regards,

    mahee

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 9 years ago
    irun -input '@set assert_stop_level never'
    • Cancel
    • Vote Up +1 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