optimuz
Junior Member level 1
- Joined
- Nov 7, 2011
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Bangalore, India
- Activity points
- 1,392
Hi,
I am having a problem when I am mixing Blocking and Non Blocking assignments .
In the below code the tool is not giving any errors.
always @ (*)
begin
x=1;
z<=0;
end
But for this one , tool is giving error saying "cant mix blocking and non blocking"
always @ (*)
begin
x=1;
x<=0;
end
Can any one explain me that can be the probable reason why for a same variable mixing is not possible and for different variable mixing is possible.
Thanks
I am having a problem when I am mixing Blocking and Non Blocking assignments .
In the below code the tool is not giving any errors.
always @ (*)
begin
x=1;
z<=0;
end
But for this one , tool is giving error saying "cant mix blocking and non blocking"
always @ (*)
begin
x=1;
x<=0;
end
Can any one explain me that can be the probable reason why for a same variable mixing is not possible and for different variable mixing is possible.
Thanks
Last edited: