# \#past

**URL:** https://verificationacademy.com/forums/tag/past/5427.md

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

---

## [Previous-value of sampling time in SVA](https://verificationacademy.com/forums/t/previous-value-of-sampling-time-in-sva/40815)

<div class="topic-metadata">

**Author:** [@Shubhabrata](https://verificationacademy.com/forums/u/Shubhabrata)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 8:42pm UTC](https://verificationacademy.com/forums/t/previous-value-of-sampling-time-in-sva/40815 "2022-09-05T20:42:11Z")

</div>

Hi, I want to check whether a particular clock has a 50% duty cycle or not. And also intend not to use any local variable inside the property. To do this, I was pondering the possibility of using the $past function. Can…

---

## [Complete List of System Functions or System Tasks with Descriptions](https://verificationacademy.com/forums/t/complete-list-of-system-functions-or-system-tasks-with-descriptions/38365)

<div class="topic-metadata">

**Author:** [@Reuben](https://verificationacademy.com/forums/u/Reuben)\
**Replies:** 1\
**Last updated:** [November 20, 2020, 3:30pm UTC](https://verificationacademy.com/forums/t/complete-list-of-system-functions-or-system-tasks-with-descriptions/38365 "2020-11-20T15:30:54Z")

</div>

Where can I find a complete list of all the system functions/tasks used in Verilog/SystemVerilog? I tried to look at the Verilog LRM and SystemVerilog LRM but I can’t find it there. Are these tool-specific, which means I…

---

## [SVA: is $rose($past(...)) legal?](https://verificationacademy.com/forums/t/sva-is-rose-past-legal/37922)

<div class="topic-metadata">

**Author:** [@ssureshgverifier](https://verificationacademy.com/forums/u/ssureshgverifier)\
**Replies:** 3\
**Last updated:** [August 7, 2020, 10:39pm UTC](https://verificationacademy.com/forums/t/sva-is-rose-past-legal/37922 "2020-08-07T22:39:54Z")

</div>

Is it legal to write something like below - I didn’t find anything against this in LRM works on major 3 simulators though. want to check, if there was a rising edge on a particular signal 3 clocks early property ack\_c…

---

## [Variable delay in $past(sig\_name, vari\_delay) assertion](https://verificationacademy.com/forums/t/variable-delay-in-past-sig-name-vari-delay-assertion/37349)

<div class="topic-metadata">

**Author:** [@Nandeesha](https://verificationacademy.com/forums/u/Nandeesha)\
**Replies:** 8\
**Last updated:** [March 24, 2020, 3:32am UTC](https://verificationacademy.com/forums/t/variable-delay-in-past-sig-name-vari-delay-assertion/37349 "2020-03-24T03:32:05Z")

</div>

Is there any that I can pass variable delay in $past(sig\_name, vari\_delay). Below is my assertion. property p1; @(negedge clk) $changed(o\_c\_500k) |-\>($past($fell(ADC\_START),5)==1) && ($past($fell(ADC\_START),4)==0); endp…

---

## [Assertion to check valid transition from value A to value B on a bus and this transition is only valid when strobe is high. If I try to use $past(bus== A) -\> (bus ==B) & (strobe ==1). It does not work](https://verificationacademy.com/forums/t/assertion-to-check-valid-transition-from-value-a-to-value-b-on-a-bus-and-this-transition-is-only-valid-when-strobe-is-high-if-i-try-to-use-past-bus-a-bus-b-strobe-1-it-does-not-work/37157)

<div class="topic-metadata">

**Author:** [@shals](https://verificationacademy.com/forums/u/shals)\
**Replies:** 4\
**Last updated:** [February 10, 2020, 8:52pm UTC](https://verificationacademy.com/forums/t/assertion-to-check-valid-transition-from-value-a-to-value-b-on-a-bus-and-this-transition-is-only-valid-when-strobe-is-high-if-i-try-to-use-past-bus-a-bus-b-strobe-1-it-does-not-work/37157 "2020-02-10T20:52:20Z")

</div>

If I try to use if @bus disable (disable\_flag) $past(bus== A) → (bus ==B) & (strobe ==1). It does not work. It does not even evaluate first transition of bus for A to C.

---

## [Assertion for a signal to rise before an offset](https://verificationacademy.com/forums/t/assertion-for-a-signal-to-rise-before-an-offset/35780)

<div class="topic-metadata">

**Author:** [@sowmya.ragav](https://verificationacademy.com/forums/u/sowmya.ragav)\
**Replies:** 5\
**Last updated:** [February 24, 2019, 8:45pm UTC](https://verificationacademy.com/forums/t/assertion-for-a-signal-to-rise-before-an-offset/35780 "2019-02-24T20:45:44Z")

</div>

Hi, I have an assertion question. In my assertion, an offset should determine how much earlier to send a signal prior to a signal with value incrementing in every clock cycle. Below is my assertion. property delay\_ass…

---

## [Check is a signal is stable for the past 'n' clock cycles](https://verificationacademy.com/forums/t/check-is-a-signal-is-stable-for-the-past-n-clock-cycles/35621)

<div class="topic-metadata">

**Author:** [@chitturi](https://verificationacademy.com/forums/u/chitturi)\
**Replies:** 1\
**Last updated:** [January 17, 2019, 8:48pm UTC](https://verificationacademy.com/forums/t/check-is-a-signal-is-stable-for-the-past-n-clock-cycles/35621 "2019-01-17T20:48:45Z")

</div>

I have two signals “a” and “b”. The relationship between these two signals is that “b” will be asserted if “a” was stable(and 0) for the past “n” clock cycles. The time “n” here is a variable time. How can I write an as…

---

## [A problem when using $past() for systemverilog assertion](https://verificationacademy.com/forums/t/a-problem-when-using-past-for-systemverilog-assertion/31197)

<div class="topic-metadata">

**Author:** [@caowangyang](https://verificationacademy.com/forums/u/caowangyang)\
**Replies:** 7\
**Last updated:** [November 11, 2015, 5:58am UTC](https://verificationacademy.com/forums/t/a-problem-when-using-past-for-systemverilog-assertion/31197 "2015-11-11T05:58:30Z")

</div>

Hi, Dear, Recently I am writing an assertion which would be used to check the behavior of a counter - SAMPCNT : SAMPCNT will be inside 0 ~ 255. Once the counter toggled, it will counter down from 255 to 0, previou…
