i am trying to increment value of 4-bit counter in fsm , but instead of bin 01 its adding 02 and although the state advancement if on every risiing edge of clk , this counter is incrementing on falling edge as well , i tried using a procedure instead and calling a procedure , but to same effect , any clues ???
any one ???
any one ???