RTL deisgn for Blocking and Nonblocking

Sep 07, 2006 1 Replies

Hi,



Please clarify me about blocking and nonblocking statement difference in RTL design.



CODE1: always@(X or Y or Z) begin Q1 = X & Y; Q2 = Q1 & Z; end



CODE2: always@(X or Y or Z) begin Q1


himassk -

Do some Googling. This topic is well covered in many papers that are available on the web.

As you read, remember this rule of thumb: For synchronous logic, use non-blocking. For combinatorial logic, use blocking.

Also - why are you posting this Verilog specific question to the FPGA newsgroup?

John Providenza

himassk wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required