# What to do after Inconclusive Assertion in Assertion Based Formal Verification?

**URL:** <https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331>\
**Category:** SystemVerilog\
**Tags:** Formal-Verification, formal-verification-assertion, SystemVerilog\
**Created:** [December 19, 2015, 5:31am UTC](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331 "2015-12-19T05:31:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karan](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/k/58f4c7/32.png) [@Karan](https://verificationacademy.com/forums/u/Karan)\
**Post date:** [December 19, 2015, 5:31am UTC](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331/1 "2015-12-19T05:31:42Z")

</div>

In Assertion Based Formal Verification, if I get an Inconclusive Assertion, then what are the various approached to handle that assertion or to converge it?

Also, Is it a right approach to develop a reference rtl and write assertions to compare reference rtl output with DUT output? Will it increase the valid State Spaces and hence complexity, run time also?

---

<div class="post-metadata">

**Author:** ![user49](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/user49/32/4533_2.png) [@user49](https://verificationacademy.com/forums/u/user49)\
**Post date:** [December 19, 2015, 11:19pm UTC](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331/2 "2015-12-19T23:19:29Z")

</div>

> n Assertion Based Formal Verification, if I get an Inconclusive Assertion, then what are the various approached to handle that assertion or to converge it?

You say “inconclusive”, by that you mean could not find a pattern to make it pass?

- Did you use the “strong” or the s\_eventually"?
- Did you write necessary “assume” statements? From my 4th Edition of SVA Handbook:

> 4.5.1.2.2 Same inputs in antecedent and consequent  
> Inputs are sometimes used in both the antecedent and consequent of a property. They are often useful in simulation to ensure compliance to protocol by either the higher-level design or by the testbench. For example, the property pACK\_START\_VALID\_DONE states that both the trigger condition (the antecedent) and the EFFECT sequence (consequent) rely on the

```verilog
input ack_in. // /ch4/4.5/orig_slave_handshake.sv
sequence qACTIVE_REQUEST; req && !ack_in;
property pACK_START_VALID_DONE;
@ (posedge clk) disable iff (!reset_n)
qACTIVE_REQUEST ##1 ack_in |=>
start && !ack_in && valid ##1
(!start && !ack_in && valid)[*3] ##1
(!start && !valid && done);
endproperty : pACK_START_VALID_DONE
apACK_START_VALID_DONE : assert property (pACK_START_VALID_DONE);

```

When the same input signals are used in the antecedent and consequent side of a property, false negative errors in formal verification can be created because the formal verification tool can assume inputs to have any value at any cycle. This is not a design fault, but rather an error in the definition of the constraints on the inputs. An example of a constraint for the above case would be:

```verilog
mpCONSTRAINT_ACK_START_VALID_DONE : assume property(@ (posedge clk)
qACTIVE_REQUEST ##1 ack_in |=> !ack_in[*1:$] ##1 (!start && !valid && done));

```

The mpCONSTRAINT\_ACK\_START\_VALID\_DONE assumption states that one clock after state qACTIVE\_REQUEST, if ack\_in ==1, then it must be zero starting from the next cycle until (!start && !valid && done).

- Can you break your assertion into smaller ones? That might help determine where the issues are.

Ben Cohen  
[http://www.systemverilog.us/](http://www.systemverilog.us/) [ben@systemverilog.us](mailto:ben@systemverilog.us)

- SystemVerilog Assertions Handbook 4th Edition, 2016 ISBN 978-1518681448
- A Pragmatic Approach to VMM Adoption 2006 ISBN 0-9705394-9-5
- Using PSL/SUGAR for Formal and Dynamic Verification 2nd Edition, 2004, ISBN 0-9705394-6-0
- Real Chip Design and Verification Using Verilog and VHDL, 2002 isbn 0-9705394-2-8
- Component Design by Example ", 2001 ISBN 0-9705394-0-1
- VHDL Coding Styles and Methodologies, 2nd Edition, 1999 ISBN 0-7923-8474-1
- VHDL Answers to Frequently Asked Questions, 2nd Edition ISBN 0-7923-8115

* * *

---

<div class="post-metadata">

**Author:** ![Karan](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/k/58f4c7/32.png) [@Karan](https://verificationacademy.com/forums/u/Karan)\
**Post date:** [December 20, 2015, 2:54pm UTC](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331/3 "2015-12-20T14:54:17Z")

</div>

_In reply to [ben@SystemVerilog.us](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331/2):_

Actually, I have written simple enough constraints for APB protocol. And I have created a reference model to mimick DUT.

So my assertions are just to compare reference model output with DUT output on every active clock edge.

In this scenario, can you give me any approaches for Inconclusive Assertions? Also, it would be helpful, if you can give me any paper/article related to Assertion Based Formal Verification, as I am not able to find much on this topic.

---

<div class="post-metadata">

**Author:** ![user49](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/user49/32/4533_2.png) [@user49](https://verificationacademy.com/forums/u/user49)\
**Post date:** [December 20, 2015, 6:33pm UTC](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331/4 "2015-12-20T18:33:09Z")

</div>

_In reply to [Karan](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331/3):_

> _In reply to [ben@SystemVerilog.us](https://verificationacademy.com/forums/t/what-to-do-after-inconclusive-assertion-in-assertion-based-formal-verification/31331/3):_  
> Actually, I have written simple enough constraints for APB protocol. And I have created a reference model to mimick DUT.  
> So my assertions are just to compare reference model output with DUT output on every active clock edge.

In his book on formal verification (see reference below), Erik Seligman addresses the topic of _shadow modeling_, and it is a good technique, for complex models (e.g., ALUs) to generate the expected results based on the inputs.

> In this scenario, can you give me any approaches for Inconclusive Assertions? Also, it would be helpful, if you can give me any paper/article related to Assertion Based Formal Verification, as I am not able to find much on this topic.

## In his book, Erik addresses the topic of _inconclusive proofs_ [Formal Verification: An Essential Toolkit for Modern VLSI Design - Erik Seligman, Tom Schubert, M V Achutha Kiran Kumar - Google Books](https://goo.gl/qCBch1) Unfortunately, I am not an expert on formal verification. However, in his book, Erik does an excellent job on covering the topic and on addressing guidelines and tips to achieve the desired goals. My guess in addressing this topic of _inconclusive proofs_ is to isolate that piece of hardware and to add more constraints or more **restrict** SVA statements. Erik’s book: **Formal Verification: An Essential Toolkit for Modern VLSI Design 1st Edition** by Erik Seligman (Author), Tom Schubert (Author), M V Achutha Kiran Kumar (Author) [Formal Verification: An Essential Toolkit for Modern VLSI Design: Seligman MS, Erik, Schubert, Tom, Kumar M.Tech, M V Achutha Kiran: 9780128007273: Amazon.com: Books](http://goo.gl/u20Om2) Also, read the reviews at Amazon.

Ben Cohen  
[http://www.systemverilog.us/](http://www.systemverilog.us/) [ben@systemverilog.us](mailto:ben@systemverilog.us)

- SystemVerilog Assertions Handbook 4th Edition, 2016 ISBN 978-1518681448
