Differences between blocking and Non-blocking statements in
Verilog?

Answer Posted / amit malik

Blocking statements are executed on after another
represented by '='

Ex. lets take two variables
reg A:0;
reg B:1;
initial
begin
A = B;
B = A;
end

Ans
A = 1
B = 1

Non Blocking
instructions are executed concurrently
represented by '=>'

Ex. lets take two variables
reg A:0;
reg B:1;
initial
begin
A = B;
B = A;
end

Ans
A = 1
B = 0

Is This Answer Correct ?    35 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is Verilog?

639


Explain the three regions of operation of a mosfet.

627


Are you familiar with the term MESI?

2119


Explain the working of Insights of a pass gate ?

678


What is the difference between synchronous and asynchronous reset?

622






Differences between Array and Booth Multipliers?

3545


How can you construct both PMOS and NMOS on a single substrate?

4489


What is the difference between cmos and bipolar technologies?

573


Explain how binary number can give a signal or convert into a digital signal?

672


Explain how Verilog is different to normal programming language?

684


What is look up table in vlsi?

547


What types of I/O have you designed? What were their size? Speed? Configuration? Voltage requirements?

2008


What work have you done on full chip Clock and Power distribution? What process technology and budgets were used?

2360


Give the cross-sectional diagram of the cmos.

563


Explain how MOSFET works?

2807