Forum Discussion
Altera_Forum
Honored Contributor
16 years agovariable reset simple question
Hello friends, I have something like this always @(posedge clkin) begin ... ... cnt = cnt+1;// increment ... ... end and another input named OE. On posedge of OE ...
Altera_Forum
Honored Contributor
16 years agoI already tried that but gives some error and I thought is invalid
"cannot match operand(s) in the condition to the corresponding edges in the enclosing event control of the always construct"... can you explain a little bit ? In addition, I need cnt to be blocking if possible