How to count of the assertion failures in SV?

R

Ravi S Gowda

Guest
Getting started with SV assertions..
Can somebody tell me if there is a system call that
would return me the number of assertion failures?
Did I miss this anywhere in LRM?

-Ravi
 
Hi,
You can use VPI extensions to SV/SVA to do this, we show a sample example
(close to what you are looking for, not exactly though) in our latest book
on SVA. The code is available from www.abv-sva.org

HTH,
Srinivasan
_________________
Srinivasan Venkataramanan
Co-Author: SystemVerilog Assertions Handbook, http://www.abv-sva.org
Co-Author: Using PSL/SUGAR for Formal and Dynamic Verification 2nd Edition.
http://www.noveldv.com

"Ravi S Gowda" <kanakaravi@gmail.com> wrote in message
news:1103542462.913686.177790@c13g2000cwb.googlegroups.com...
Getting started with SV assertions..
Can somebody tell me if there is a system call that
would return me the number of assertion failures?
Did I miss this anywhere in LRM?

-Ravi
 

Welcome to EDABoard.com

Sponsor

Back
Top