Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module block_nonblock(output logic x,x1,y,y1,input logic a,b,c);
- always@* begin : BLOCKING
- x1 = a & b;
- x = x1 & c;
- end
- always@* begin : NONBLOCKING
- y1 <= a & b;
- y <= y1 & c;
- end
- endmodule
- always@* begin : BLOCKING
- x1 = a & b;
- x = x1 & c;
- end
- always@* begin : NON BLOCKING
- x1 <= a & b;
- x <= x1 & c;
- end
Add Comment
Please, Sign In to add comment