Forum Discussion
Altera_Forum
Honored Contributor
14 years agosynthesis of several "if..if...if "sentence.
always @(posedge clk or negedge rst)begin if(!rst)begin ..... end else begin if(a) .... if(b) .... if(c) .... end end I found tha...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Yes,I set the same variable in the three conditional expressions. --- Quote End --- Setting the same variable can't be parallel, except if the conditions are mutual exclusive, which refers to an if () .... else if()....else if() .... construct. It's not a problem of HDL syntax, just of feasible logic respectively thinking.