Mealy machine reduce 1s (con’t)
function next_state; input in, state;
case (state)
zero: if (~in) next_state = zero; else next_state = one; one: if (~in) next_state = zero; else next_state = one;
endcase endfunction
endmodule
Previous slide
Next slide
Back to first slide
View graphic version