# Usage of Throughout and Intersect in SVA

**URL:** <https://verificationacademy.com/forums/t/usage-of-throughout-and-intersect-in-sva/39184>\
**Category:** SystemVerilog\
**Tags:** SVA, SystemVerilog, SVA-throughout, SVA-intersect\
**Created:** [June 14, 2021, 2:51am UTC](https://verificationacademy.com/forums/t/usage-of-throughout-and-intersect-in-sva/39184 "2021-06-14T02:51:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Have\_A\_Doubt](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Have\_A\_Doubt](https://verificationacademy.com/forums/u/Have_A_Doubt)\
**Post date:** [April 28, 2025, 10:32am UTC](https://verificationacademy.com/forums/t/usage-of-throughout-and-intersect-in-sva/39184/4 "2025-04-28T10:32:34Z")

</div>

@LearnChipDesign, there are 2 things to note ::

(1) Using **LHS of the intersect operator as a[\*0:$] is Illegal ( only 1 tool catches this )** ( Also refer :: [understanding-the-throughout-sva/46326/3](https://verificationacademy.com/forums/t/understanding-the-throughout-sva/46326/3) )

```auto
Error-[SVA-SEQPROPEMPTYMATCH] Invalid sequence as property
testbench.sv, 9
"((a[*0:$]) intersect (b ##3 c))"
  A sequence that is used as property must be non-degenerate and admit no empty match.

```

```
    One should write the consequent as 

```

```auto
$rose(a) |=> (a[*1:$] intersect (b ##3 c))

```

(2) Consequent have **an implicit first\_match ( unlike antecedent )**

The consequent `a[*1:$] intersect (b ##3 c))` could be written as ::

```auto
first_match( 
( a[*1] intersect (b ##3 c ) ) or ( a[*2] intersect (b ##3 c ) ) or 
( a[*3] intersect (b ##3 c ) ) or ( a[*4] intersect (b ##3 c ) ) or 
( a[*5] intersect (b ##3 c ) ) or ( a[*6] intersect (b ##3 c ) ) or 
 ........ )

```

The first 3 sub-sequences would Never Match i.e 1’b0  
Only sub-sequence ( a[\*4] intersect (b ##3 c ) ) has a possibility of a match

---

_[View the full topic](https://verificationacademy.com/forums/t/usage-of-throughout-and-intersect-in-sva/39184)._
