# \#Assertion-Based-Verification

**URL:** https://verificationacademy.com/forums/tag/assertion-based-verification/4539.md

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

---

## [Binding a module to another module's modport interface](https://verificationacademy.com/forums/t/binding-a-module-to-another-modules-modport-interface/49782)

<div class="topic-metadata">

**Author:** [@varunr86](https://verificationacademy.com/forums/u/varunr86)\
**Replies:** 13\
**Last updated:** [April 2, 2025, 9:47pm UTC](https://verificationacademy.com/forums/t/binding-a-module-to-another-modules-modport-interface/49782 "2025-04-02T21:47:54Z")

</div>

Given that a DUT uses a modport in its interface definition shown below - module DUT ( input clk, input resetn, dut\_if.initiator if1 ); endmodule And interface itself looks like - interface dut\_if…

---

## [RESET Assertion with out clock dependency](https://verificationacademy.com/forums/t/reset-assertion-with-out-clock-dependency/48741)

<div class="topic-metadata">

**Author:** [@Prudhvi\_Krishna](https://verificationacademy.com/forums/u/Prudhvi_Krishna)\
**Replies:** 1\
**Last updated:** [October 18, 2024, 4:32am UTC](https://verificationacademy.com/forums/t/reset-assertion-with-out-clock-dependency/48741 "2024-10-18T04:32:36Z")

</div>

assertion on reset where reset\_a is active low reset signal, it doesn’t depend upon any clk signal ,deassertion if reset\_a in asynchronously and assert synchronously. after reset of reset\_a with some delay reset\_b signa…

---

## [Checking asynchronous reset whilst a signal is asserted](https://verificationacademy.com/forums/t/checking-asynchronous-reset-whilst-a-signal-is-asserted/39101)

<div class="topic-metadata">

**Author:** [@ak180](https://verificationacademy.com/forums/u/ak180)\
**Replies:** 2\
**Last updated:** [May 21, 2021, 8:45am UTC](https://verificationacademy.com/forums/t/checking-asynchronous-reset-whilst-a-signal-is-asserted/39101 "2021-05-21T08:45:39Z")

</div>

Hi, I have just started incorporating cover points, cover-directives into the code whilst writing RTL. There is a functional check I came up with to test asynchronous reset. The scenario is: Is tvalid (AXI streaming…

---

## [System verilog assertion on asynchronous signals](https://verificationacademy.com/forums/t/system-verilog-assertion-on-asynchronous-signals/38917)

<div class="topic-metadata">

**Author:** [@DilipReddy](https://verificationacademy.com/forums/u/DilipReddy)\
**Replies:** 5\
**Last updated:** [April 3, 2021, 5:08pm UTC](https://verificationacademy.com/forums/t/system-verilog-assertion-on-asynchronous-signals/38917 "2021-04-03T17:08:16Z")

</div>

I wanted to write an assertion to check the “out” signal follows the “in” signal when “dat” is equal to check. Both “in” and “out” are not synchronous to the “clk” .The only condition is it should ignore the pulse whil…

---

## [SVA : Property is a tautology](https://verificationacademy.com/forums/t/sva-property-is-a-tautology/33564)

<div class="topic-metadata">

**Author:** [@vivek3016](https://verificationacademy.com/forums/u/vivek3016)\
**Replies:** 12\
**Last updated:** [March 30, 2021, 7:51pm UTC](https://verificationacademy.com/forums/t/sva-property-is-a-tautology/33564 "2021-03-30T19:51:40Z")

</div>

Hi, I have hooked up the following assertion to an arbiter property p\_req\_to\_grant(clk,rst,req,gnt); @(posedge clk) disable iff (rst) req |-\> ##\[0:$\] gnt; endproperty ap\_req\_to\_grant\_0 : assert property(p\_req\_to\_g…

---

## [Assertion for toggle coverage on a bus](https://verificationacademy.com/forums/t/assertion-for-toggle-coverage-on-a-bus/38318)

<div class="topic-metadata">

**Author:** [@ashokmehta72](https://verificationacademy.com/forums/u/ashokmehta72)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 12:06am UTC](https://verificationacademy.com/forums/t/assertion-for-toggle-coverage-on-a-bus/38318 "2020-11-07T00:06:33Z")

</div>

Hello, Is there a way to check for toggle on each bit of a 32-bit bus (bus\[31:0\])? I can think of checking for toggle on individual bits but can’t figure out a way to check for toggle on the whole bus. $past will check …

---

## [Toggle Coverage through Functional Coverage](https://verificationacademy.com/forums/t/toggle-coverage-through-functional-coverage/37582)

<div class="topic-metadata">

**Author:** [@ashokmehta72](https://verificationacademy.com/forums/u/ashokmehta72)\
**Replies:** 3\
**Last updated:** [May 13, 2020, 8:41pm UTC](https://verificationacademy.com/forums/t/toggle-coverage-through-functional-coverage/37582 "2020-05-13T20:41:56Z")

</div>

I know that Code Coverage is the right way to do toggle coverage. Doing that through Functional Coverage is a long stretch. But, for the sake of argument, I want to select a few signals and do toggle coverage through fun…

---

## [Assigning a bit in SV Assertion](https://verificationacademy.com/forums/t/assigning-a-bit-in-sv-assertion/36810)

<div class="topic-metadata">

**Author:** [@atanu.biswas](https://verificationacademy.com/forums/u/atanu.biswas)\
**Replies:** 24\
**Last updated:** [May 5, 2020, 9:41pm UTC](https://verificationacademy.com/forums/t/assigning-a-bit-in-sv-assertion/36810 "2020-05-05T21:41:51Z")

</div>

Hello Everyone, I have written the below assertion in which I want to a reset a bit when the signal named write\_cycle goes high. But the issue is that the bit is getting reset at the next positive edge of the clock and…

---

## [Is using interfaces for SVAs instead of a simple bind file a good idea?](https://verificationacademy.com/forums/t/is-using-interfaces-for-svas-instead-of-a-simple-bind-file-a-good-idea/37287)

<div class="topic-metadata">

**Author:** [@pare\_9](https://verificationacademy.com/forums/u/pare_9)\
**Replies:** 1\
**Last updated:** [March 10, 2020, 10:19pm UTC](https://verificationacademy.com/forums/t/is-using-interfaces-for-svas-instead-of-a-simple-bind-file-a-good-idea/37287 "2020-03-10T22:19:22Z")

</div>

Hi, I had always used a bind file to bind my SVAs to the RTL Design modules in my verification environment. However is it a good idea to use interfaces to connect Assertions to the RTL module? I personally find interfac…

---

## [Sampling point of Assertions](https://verificationacademy.com/forums/t/sampling-point-of-assertions/32626)

<div class="topic-metadata">

**Author:** [@sapsharma19](https://verificationacademy.com/forums/u/sapsharma19)\
**Replies:** 19\
**Last updated:** [August 19, 2019, 12:56am UTC](https://verificationacademy.com/forums/t/sampling-point-of-assertions/32626 "2019-08-19T00:56:29Z")

</div>

Hii All, I am new to assertions based verification and I am confused with where do I need to check the boolean value of a signal at “Antecedent” side when I am using implication operator of any type(overlapping / non-ov…

---

## [Conditional generate block](https://verificationacademy.com/forums/t/conditional-generate-block/36406)

<div class="topic-metadata">

**Author:** [@rtawade](https://verificationacademy.com/forums/u/rtawade)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 3:11pm UTC](https://verificationacademy.com/forums/t/conditional-generate-block/36406 "2019-08-14T15:11:59Z")

</div>

Hi , I want to implement something similar to this… if (A == 1) generate for (genvar t\_gen = 0 ; t\_gen \<= 158 ; t\_gen++) begin : enc\_wl\_sel\_deck Assert A; Assert B; Assert C; end endgenerate else if (A == 2) …

---

## [SystemVerilog Assertion for toggling signal](https://verificationacademy.com/forums/t/systemverilog-assertion-for-toggling-signal/36335)

<div class="topic-metadata">

**Author:** [@rgarcia07](https://verificationacademy.com/forums/u/rgarcia07)\
**Replies:** 3\
**Last updated:** [July 29, 2019, 2:37pm UTC](https://verificationacademy.com/forums/t/systemverilog-assertion-for-toggling-signal/36335 "2019-07-29T14:37:12Z")

</div>

Hello, I’m trying to write a property to check a signal that behaves with the following requirements 1- signal ‘a’ should be high for a number of cycles (first\_hi) 2- After that signal ‘a’ should go low for a number o…

---

## [Can anyone give some idea on $past use in SVA?](https://verificationacademy.com/forums/t/can-anyone-give-some-idea-on-past-use-in-sva/36338)

<div class="topic-metadata">

**Author:** [@prathyushaGadanchi](https://verificationacademy.com/forums/u/prathyushaGadanchi)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 7:04pm UTC](https://verificationacademy.com/forums/t/can-anyone-give-some-idea-on-past-use-in-sva/36338 "2019-07-24T19:04:22Z")

</div>

Hi all, I’m new to System Verilog Assertions concept, so i’m in learning stage of SVA. I know the functionality of @past(,). I mean in this case “a|-\> ($past(b,2) == 1)” , ‘b’ should be high for 2 clock cycles before …

---

## [Sampled value of a variable in SVA](https://verificationacademy.com/forums/t/sampled-value-of-a-variable-in-sva/35591)

<div class="topic-metadata">

**Author:** [@sj1992](https://verificationacademy.com/forums/u/sj1992)\
**Replies:** 1\
**Last updated:** [January 10, 2019, 8:25am UTC](https://verificationacademy.com/forums/t/sampled-value-of-a-variable-in-sva/35591 "2019-01-10T08:25:40Z")

</div>

Hi, The antecedent values in a concurrent assertions are sampled in the preponed region. The only way antecedent gets updated value for the current clock cycle is through either blocking or non-blocking or continuous as…

---

## [How to write assertions to check that first time when a is asserted it is preceded by the b?](https://verificationacademy.com/forums/t/how-to-write-assertions-to-check-that-first-time-when-a-is-asserted-it-is-preceded-by-the-b/35367)

<div class="topic-metadata">

**Author:** [@ManojJ](https://verificationacademy.com/forums/u/ManojJ)\
**Replies:** 2\
**Last updated:** [November 23, 2018, 1:49am UTC](https://verificationacademy.com/forums/t/how-to-write-assertions-to-check-that-first-time-when-a-is-asserted-it-is-preceded-by-the-b/35367 "2018-11-23T01:49:47Z")

</div>

write a assertion for the following condition: If sig\_a is asserted for the first time then it must have been preceded by sig\_b. property check\_a; @(posedge clk) $rose(a) |-\> ($past(b) == 1'b1); endproperty If I wri…

---

## [Xmsim: \*E,ASRTST assertion failed](https://verificationacademy.com/forums/t/xmsim-e-asrtst-assertion-failed/35362)

<div class="topic-metadata">

**Author:** [@PavanSP](https://verificationacademy.com/forums/u/PavanSP)\
**Replies:** 1\
**Last updated:** [November 21, 2018, 4:47pm UTC](https://verificationacademy.com/forums/t/xmsim-e-asrtst-assertion-failed/35362 "2018-11-21T16:47:52Z")

</div>

I am trying to assert this property: assert\_1: assert property ( @(posedge clk) disable iff (!a) (b == 1'b0) |-\> (c == 1'b1) ) \`uvm\_error("ASSERT", "c cannot go high") else \`uvm\_info("ASSER…

---

## [Regarding the assertion checking](https://verificationacademy.com/forums/t/regarding-the-assertion-checking/35210)

<div class="topic-metadata">

**Author:** [@venkatasubbarao](https://verificationacademy.com/forums/u/venkatasubbarao)\
**Replies:** 7\
**Last updated:** [October 26, 2018, 5:43pm UTC](https://verificationacademy.com/forums/t/regarding-the-assertion-checking/35210 "2018-10-26T17:43:42Z")

</div>

Following are the questions I have written a property for assertion as follows, property checks for setup and hold between strobe and data. Basically, I am trying to check when a strobe is at falling edge on the same c…

---

## [Need help in understanding at what time match occurs when using 'within' construct](https://verificationacademy.com/forums/t/need-help-in-understanding-at-what-time-match-occurs-when-using-within-construct/35183)

<div class="topic-metadata">

**Author:** [@absingh](https://verificationacademy.com/forums/u/absingh)\
**Replies:** 1\
**Last updated:** [October 14, 2018, 5:20pm UTC](https://verificationacademy.com/forums/t/need-help-in-understanding-at-what-time-match-occurs-when-using-within-construct/35183 "2018-10-14T17:20:43Z")

</div>

I have written below code to understand how within operator in SV works. Also following it I have put the partial simulation log. What I am not able to figure out is that why s2\_7\_s3\_6 ends at 85ns rather than 75ns. I e…

---

## [Add delay in assertion from array](https://verificationacademy.com/forums/t/add-delay-in-assertion-from-array/35011)

<div class="topic-metadata">

**Author:** [@qwerty](https://verificationacademy.com/forums/u/qwerty)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 5:46am UTC](https://verificationacademy.com/forums/t/add-delay-in-assertion-from-array/35011 "2018-09-10T05:46:33Z")

</div>

Hi, I have a scenario in which i have to add delay in an assertion from an array. The problem statement is when ip =1 then after the specific delay from array op=1. Delay value can be 0 as well. In that case ip=op on …

---

## [Assertions](https://verificationacademy.com/forums/t/assertions/34009)

<div class="topic-metadata">

**Author:** [@suryanarayanaGutha](https://verificationacademy.com/forums/u/suryanarayanaGutha)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 7:50pm UTC](https://verificationacademy.com/forums/t/assertions/34009 "2018-01-30T19:50:56Z")

</div>

hello, I try to verify AND gate design using assertion.Iam not getting correct as I expected.The assertion passed only for this condition (a && b) |-\> y; I am getting output like this in waveform. #10 a=0;b=1; =======…

---

## [Assertion for statistics](https://verificationacademy.com/forums/t/assertion-for-statistics/32911)

<div class="topic-metadata">

**Author:** [@saritr](https://verificationacademy.com/forums/u/saritr)\
**Replies:** 6\
**Last updated:** [March 1, 2017, 4:39pm UTC](https://verificationacademy.com/forums/t/assertion-for-statistics/32911 "2017-03-01T16:39:28Z")

</div>

I have the following interfaces: interface tx\_in\_interface (input bit clk, input bit tx\_srstn); //dut input logic \[15:0\] xi; logic \[15:0\] xq; logic \[15:0\] sin; logic \[15:0\] cos; int chind2; …

---

## [Assertion Based Formal Verification](https://verificationacademy.com/forums/t/assertion-based-formal-verification/30728)

<div class="topic-metadata">

**Author:** [@prithvinkumble](https://verificationacademy.com/forums/u/prithvinkumble)\
**Replies:** 1\
**Last updated:** [June 11, 2015, 10:44pm UTC](https://verificationacademy.com/forums/t/assertion-based-formal-verification/30728 "2015-06-11T22:44:32Z")

</div>

Hello, I am very new to Verification and this might be a very trivial question I have read that Assertion based Formal Verification does not require a test bench or test cases. But consider this example: State S35 can…

---

## [Assertions](https://verificationacademy.com/forums/t/assertions/29341)

<div class="topic-metadata">

**Author:** [@arasupotri.natarajan90](https://verificationacademy.com/forums/u/arasupotri.natarajan90)\
**Replies:** 4\
**Last updated:** [April 16, 2014, 4:00am UTC](https://verificationacademy.com/forums/t/assertions/29341 "2014-04-16T04:00:06Z")

</div>

hi all, I am new to Systemverilog,is assertion used in systemverilog class. Thanks Natarajan.NA

---

## [Did you know that the Assertion-Based Verification Course has been updated?](https://verificationacademy.com/forums/t/did-you-know-that-the-assertion-based-verification-course-has-been-updated/42902)

<div class="topic-metadata">

**Author:** [@Administrator3](https://verificationacademy.com/forums/u/Administrator3)\
**Replies:** 1\
**Last updated:** [March 12, 2014, 12:33am UTC](https://verificationacademy.com/forums/t/did-you-know-that-the-assertion-based-verification-course-has-been-updated/42902 "2014-03-12T00:33:33Z")

</div>

Harry Foster has updated the Assertion-Based Verification Course. It was almost six years ago when the original ABV course was released, and remains as one of the top courses viewed to date. The new ABV course provides…
