# \#verilog-blocking-assignments

**URL:** https://verificationacademy.com/forums/tag/verilog-blocking-assignments/4794.md

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

---

## [Event scheduling - evaluation time stamp](https://verificationacademy.com/forums/t/event-scheduling-evaluation-time-stamp/37118)

<div class="topic-metadata">

**Author:** [@NaveenReddy](https://verificationacademy.com/forums/u/NaveenReddy)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 11:51pm UTC](https://verificationacademy.com/forums/t/event-scheduling-evaluation-time-stamp/37118 "2020-02-03T23:51:26Z")

</div>

Hi, I’m trying to refactor some legacy code to make it synchronous with the clock and face the below issue. i expect the rddata\_valid\_sync(legacy code) and rddata\_valid\_sync\_new(new code) to be identical but i see that …

---

## [Question regarding Blocking and Non Blocking assignments](https://verificationacademy.com/forums/t/question-regarding-blocking-and-non-blocking-assignments/36114)

<div class="topic-metadata">

**Author:** [@sj1992](https://verificationacademy.com/forums/u/sj1992)\
**Replies:** 5\
**Last updated:** [May 23, 2019, 2:14pm UTC](https://verificationacademy.com/forums/t/question-regarding-blocking-and-non-blocking-assignments/36114 "2019-05-23T14:14:42Z")

</div>

Hi, What will be the o/p of below code? I thought the O/P can be either a=b=0 or a=b=1 but when I simulated it on edaplayground I only see a=b=1 always @(posedge clk) begin fork a = b; b = a; join en…

---

## [Verilog blocking/nonblocking assignment in clk generator with self triggered](https://verificationacademy.com/forums/t/verilog-blocking-nonblocking-assignment-in-clk-generator-with-self-triggered/29734)

<div class="topic-metadata">

**Author:** [@N\_Raghava](https://verificationacademy.com/forums/u/N_Raghava)\
**Replies:** 2\
**Last updated:** [July 23, 2014, 11:18am UTC](https://verificationacademy.com/forums/t/verilog-blocking-nonblocking-assignment-in-clk-generator-with-self-triggered/29734 "2014-07-23T11:18:18Z")

</div>

Why the following code is not self-triggered? module osc1 (clk); output clk; reg clk; initial #10 clk = 0; always @(clk) #10 clk = ~clk; always begin $monitor(“%0d clk=%0d\\n”,$time,clk); #100 $finish; end endm…
