# The way how threading works in assertions

**URL:** <https://verificationacademy.com/forums/t/the-way-how-threading-works-in-assertions/37143>\
**Category:** SystemVerilog\
**Tags:** SVA-Assertion, formal-property-verification, SystemVerilog\
**Created:** [February 6, 2020, 6:28pm UTC](https://verificationacademy.com/forums/t/the-way-how-threading-works-in-assertions/37143 "2020-02-06T18:28:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 5, 2022, 7:10pm UTC](https://verificationacademy.com/forums/t/the-way-how-threading-works-in-assertions/37143/6 "2022-06-05T19:10:15Z")

</div>

_In reply to [yourcheers](https://verificationacademy.com/forums/t/the-way-how-threading-works-in-assertions/37143/5):_  
_Does that mean, from the below code property p0 is same as having 5 different independent properties p1,p2,p3,p4,p5._  
NO. However, it means the property ORing of all these properties.

```verilog

$rose(a) ##[1:5] b |-> ##3 c; // is equivalent to
// Using your properties above
ap_1to5: assert property(@(posedge clk) p0 AND p1 AND p2 AND p3 AND p5); 
// In one property, it really means 
($rose(a) ##1 b) OR 
($rose(a) ##2 b) OR  
($rose(a) ##3 b) OR  
($rose(a) ##4 b) OR  
($rose(a) ##5 b) |-> ##3 c; 

```

I stringly encourage you to read my paper  
Understanding the SVA Engine,  
[https://verificationacademy.com/verification-horizons/july-2020-volume-16-issue-2](https://verificationacademy.com/verification-horizons/july-2020-volume-16-issue-2)  
That paper will clarify many of your misunderstandings with assertions and properties.

Ben Cohen  
[http://www.systemverilog.us/](http://www.systemverilog.us/) [ben@systemverilog.us](mailto:ben@systemverilog.us)  
\*\* SVA Handbook 4th Edition, 2016 ISBN 978-1518681448  
…

1. SVA Package: Dynamic and range delays and repeats [SVA: Package for dynamic and range delays and repeats | Verification Academy](https://rb.gy/a89jlh)
2. Free books: \* Component Design by Example [FREE BOOK: Component Design by Example … A Step-by-Step Process Using VHDL with UART as Vehicle | Verification Academy](https://rb.gy/9tcbhl)

- Real Chip Design and Verification Using Verilog and VHDL($3) [Amazon.com](https://rb.gy/cwy7nb)
- A Pragmatic Approach to VMM Adoption  
[http://SystemVerilog.us/vf/VMM/VMM\_pdf\_release070506.zip](http://SystemVerilog.us/vf/VMM/VMM_pdf_release070506.zip)  
[http://SystemVerilog.us/vf/VMM/VMM\_code\_release\_071806.tar](http://SystemVerilog.us/vf/VMM/VMM_code_release_071806.tar)

1. Papers:

- Understanding the SVA Engine,  
[Verification Horizons - July 2020 | Verification Academy](https://verificationacademy.com/verification-horizons/july-2020-volume-16-issue-2)
- Reflections on Users’ Experiences with SVA  
[Reflections on Users’ Experiences with SVA | Verification Horizons - March 2022 | Verification Academy](https://verificationacademy.com/verification-horizons/march-2022-volume-18-issue-1/reflections-on-users-experiences-with-systemverilog-assertions-sva)
- SVA Alternative for Complex Assertions  
[Verification Horizons - March 2018 Issue | Verification Academy](https://verificationacademy.com/news/verification-horizons-march-2018-issue)
- SVA in a UVM Class-based Environment  
[SVA in a UVM Class-based Environment | Verification Horizons | Verification Academy](https://verificationacademy.com/verification-horizons/february-2013-volume-9-issue-1/SVA-in-a-UVM-Class-based-Environment)

Udemy courses by Srinivasan Venkataramanan ([http://cvcblr.com/home.html](http://cvcblr.com/home.html))  
[https://www.udemy.com/course/sva-basic/](https://www.udemy.com/course/sva-basic/)  
[https://www.udemy.com/course/sv-pre-uvm/](https://www.udemy.com/course/sv-pre-uvm/)

---

_[View the full topic](https://verificationacademy.com/forums/t/the-way-how-threading-works-in-assertions/37143)._
