Forum Discussion
Altera_Forum
Honored Contributor
14 years agoProblem with Always block
I have an Always block that is supposed to run when variable a assigned to 1. But it actually runs anytime when synthesising in Quartus. Can anyone help me resolve it? :confused:
module mai...
Altera_Forum
Honored Contributor
14 years agoI changed the always block, but it always run the code inside whatever the variable a is. :p
always @*
begin
if (a==1'b1)
//code
end