# \#systemverilogassertionSVA

**URL:** https://verificationacademy.com/forums/tag/systemverilogassertionsva/8597.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Assertion question :-](https://verificationacademy.com/forums/t/assertion-question/41998)

<div class="topic-metadata">

**Author:** [@Ashmika](https://verificationacademy.com/forums/u/Ashmika)\
**Replies:** 9\
**Last updated:** [January 18, 2026, 9:56am UTC](https://verificationacademy.com/forums/t/assertion-question/41998 "2026-01-18T09:56:36Z")

</div>

Hello, Can I please get some help in writing an assertion with this question :- a signal can be high for m number of clocks within a window of n clocks ? where n \> m

---

## [4 point handshake assertions for a simple valid-ready protocol](https://verificationacademy.com/forums/t/4-point-handshake-assertions-for-a-simple-valid-ready-protocol/49616)

<div class="topic-metadata">

**Author:** [@sv\_uvm\_learner\_93](https://verificationacademy.com/forums/u/sv_uvm_learner_93)\
**Replies:** 2\
**Last updated:** [February 11, 2025, 11:46pm UTC](https://verificationacademy.com/forums/t/4-point-handshake-assertions-for-a-simple-valid-ready-protocol/49616 "2025-02-11T23:46:34Z")

</div>

Hi, I am trying to verify a simple valid-ready protocol handshake that follows the 4 point handshake between valid and ready signals of 2 components that are trying to communicate on the interface. I have come up with …

---

## [Assertion execution](https://verificationacademy.com/forums/t/assertion-execution/42807)

<div class="topic-metadata">

**Author:** [@Annapoornahm](https://verificationacademy.com/forums/u/Annapoornahm)\
**Replies:** 2\
**Last updated:** [December 8, 2023, 8:44pm UTC](https://verificationacademy.com/forums/t/assertion-execution/42807 "2023-12-08T20:44:16Z")

</div>

I have this code, property p1; @(posedge core\_clk) g1\_g3 |-\> g3\_g4 ##0 g4\_g5 ##0(1,$display("WITH EQ ASSERTION PASSED")); endproperty assert property (p1); sequence g1\_g3; @(posedge core\_clk) $fell(g1) ##0 $ros…

---

## [SVA to check whether a signal is stable between 2 events](https://verificationacademy.com/forums/t/sva-to-check-whether-a-signal-is-stable-between-2-events/42762)

<div class="topic-metadata">

**Author:** [@nsiddams](https://verificationacademy.com/forums/u/nsiddams)\
**Replies:** 7\
**Last updated:** [November 29, 2023, 6:21am UTC](https://verificationacademy.com/forums/t/sva-to-check-whether-a-signal-is-stable-between-2-events/42762 "2023-11-29T06:21:51Z")

</div>

I want to check whether a signal name xyz is stable between the fall of signal ‘reset’ and the rise of signal ‘enable’. I have tried something like this property stable\_check(xyz); @(posedge clk) disable iff (enable…

---

## [SVA](https://verificationacademy.com/forums/t/sva/42744)

<div class="topic-metadata">

**Author:** [@Yogeshk](https://verificationacademy.com/forums/u/Yogeshk)\
**Replies:** 6\
**Last updated:** [November 24, 2023, 8:10pm UTC](https://verificationacademy.com/forums/t/sva/42744 "2023-11-24T20:10:06Z")

</div>

Hi, I am revising SVA concepts, went through this question got stucked please help me. How can you write an assertion to ensure that a signal ‘done’ is asserted within 100 clock cycles after ‘start’ is asserted, and ‘e…

---

## [System verilog assertion](https://verificationacademy.com/forums/t/system-verilog-assertion/42741)

<div class="topic-metadata">

**Author:** [@Madhu23](https://verificationacademy.com/forums/u/Madhu23)\
**Replies:** 4\
**Last updated:** [November 23, 2023, 2:39pm UTC](https://verificationacademy.com/forums/t/system-verilog-assertion/42741 "2023-11-23T14:39:03Z")

</div>

Hi, iam new to sva, please help to write assertion. How can you write an assertion to ensure that a signal ‘error’ is never asserted while ‘valid’ is low? Thank you help to provide.

---

## [SVA to check the signal how many times it has changed in the previous cycles](https://verificationacademy.com/forums/t/sva-to-check-the-signal-how-many-times-it-has-changed-in-the-previous-cycles/42732)

<div class="topic-metadata">

**Author:** [@Nandeesh](https://verificationacademy.com/forums/u/Nandeesh)\
**Replies:** 1\
**Last updated:** [November 21, 2023, 9:15pm UTC](https://verificationacademy.com/forums/t/sva-to-check-the-signal-how-many-times-it-has-changed-in-the-previous-cycles/42732 "2023-11-21T21:15:03Z")

</div>

Hello SV experts, I run into a situation where I need to check a signal how many times it has toggled in the previous cycles. Below is my waveform. based on the i\_discard selection, I need to check after 16 clk cycles h…

---

## [What is the advantage of using ##0 over |-\> overlapping implication operator in SVA?](https://verificationacademy.com/forums/t/what-is-the-advantage-of-using-0-over-overlapping-implication-operator-in-sva/42704)

<div class="topic-metadata">

**Author:** [@Amruthabmanigar](https://verificationacademy.com/forums/u/Amruthabmanigar)\
**Replies:** 3\
**Last updated:** [November 19, 2023, 1:56pm UTC](https://verificationacademy.com/forums/t/what-is-the-advantage-of-using-0-over-overlapping-implication-operator-in-sva/42704 "2023-11-19T13:56:57Z")

</div>

Hi, When i replace |-\> with ##0 in my code i’m observing some change, but i’m interested in knowing what is the advantage of using ##0 over |-\>. can anyone help me with this Thanks You

---

## [Assertion](https://verificationacademy.com/forums/t/assertion/42699)

<div class="topic-metadata">

**Author:** [@Amruthabmanigar](https://verificationacademy.com/forums/u/Amruthabmanigar)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 7:31am UTC](https://verificationacademy.com/forums/t/assertion/42699 "2023-11-17T07:31:31Z")

</div>

Hi, I found this Assertion code in slove complex assertion from verification academy. code: package sva\_delay\_repeat\_pkg; sequence dynamic\_repeat(q\_s, count); int v=count; (1, v=count) ##0 first\_match((q\_s, v=v-1’b1…

---

## [Property operator in sequence context #SVA](https://verificationacademy.com/forums/t/property-operator-in-sequence-context-sva/42675)

<div class="topic-metadata">

**Author:** [@abhiraj171](https://verificationacademy.com/forums/u/abhiraj171)\
**Replies:** 6\
**Last updated:** [November 10, 2023, 6:08pm UTC](https://verificationacademy.com/forums/t/property-operator-in-sequence-context-sva/42675 "2023-11-10T18:08:03Z")

</div>

Hi, Following property shows elab issue: Property operator usage is not allowed in sequence context. What is wrong with it? How should it be written to resolve elab issue? (sig1==0) |-\> ##7 (($stable(sig2)) until (si…

---

## [SVA Issue](https://verificationacademy.com/forums/t/sva-issue/42093)

<div class="topic-metadata">

**Author:** [@nnn314](https://verificationacademy.com/forums/u/nnn314)\
**Replies:** 1\
**Last updated:** [August 10, 2023, 5:37pm UTC](https://verificationacademy.com/forums/t/sva-issue/42093 "2023-08-10T17:37:09Z")

</div>

Hey, I have the following scenario: scenario image One valid transaction is considered when VALID & RDY are both high. Specification states that EOL must be 1 valid transaction wide. That is, the fall of EOL can onl…

---

## [Assertion Question](https://verificationacademy.com/forums/t/assertion-question/42001)

<div class="topic-metadata">

**Author:** [@Ashmika](https://verificationacademy.com/forums/u/Ashmika)\
**Replies:** 11\
**Last updated:** [July 27, 2023, 1:05am UTC](https://verificationacademy.com/forums/t/assertion-question/42001 "2023-07-27T01:05:47Z")

</div>

Hello, Can I please get some help in writing an assertion with this question :- signal1 will be high for few number of clock cycles, signal2 can only be high for one clock cycle when signal1 is high, we don’t care abou…

---

## [Calculate and compare multiple clock frequencies if the condition met!](https://verificationacademy.com/forums/t/calculate-and-compare-multiple-clock-frequencies-if-the-condition-met/41934)

<div class="topic-metadata">

**Author:** [@MahD](https://verificationacademy.com/forums/u/MahD)\
**Replies:** 10\
**Last updated:** [July 18, 2023, 12:12am UTC](https://verificationacademy.com/forums/t/calculate-and-compare-multiple-clock-frequencies-if-the-condition-met/41934 "2023-07-18T00:12:22Z")

</div>

In the following code I am trying use the assertion in the way that when the signal\_a == 1 and signal\_b == 0, within 6 clock cycle the frequency of clka, clkb and clkc are calculate and compare with each other! Any idea …

---

## [SVA](https://verificationacademy.com/forums/t/sva/41652)

<div class="topic-metadata">

**Author:** [@rabh](https://verificationacademy.com/forums/u/rabh)\
**Replies:** 3\
**Last updated:** [May 12, 2023, 7:50pm UTC](https://verificationacademy.com/forums/t/sva/41652 "2023-05-12T19:50:08Z")

</div>

I want to code an assertion: the condition is at every posedge of clk signal, if a signal named fif0\_full is set, a vector signal \[31:0\] tag\_ram should not have any of its bits changing from 1 to 0.
