Differences between blocking and Non-blocking statements in
Verilog?

Answer Posted / amit malik

cp mistake in 1st one.
-----------------------------------

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 ?    66 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between IRSIM and SPICE?

4940


What is Body Effect?

2033


Write a program to explain the comparator?

675


Design an 8 is to 3 encoder using 4 is to encoder?

861


What are the various regions of operation of mosfet? How are those regions used?

583






Give a big picture of the entire SRAM Layout showing your placements of SRAM Cells, Row Decoders, Column Decoders, Read Circuit, Write Circuit and Buffers

630


what is verilog?

634


Explain Cross section of a PMOS transistor?

740


Implement a function with both ratioed and domino logic and merits and demerits of each logic?

3225


Explain Process technology? What package was used and how did you model the package/system? What parasitic effects were considered?

605


What products have you designed which have entered high volume production?

1959


Draw a CMOS Inverter. Explain its transfer characteristics

667


If the current through the poly is 20nA and the contact can take a max current of 10nA how would u overcome the problem?

689


What are the changes that are provided to meet design power targets?

644


How does the size of PMOS Pull Up transistors (for bit & bit- lines) affect SRAM's performance?

734