Table 3: Truth table representing the next states and the modified next states of a four-bit up counter [43].

Present stateNext stateModified next state

0000 0001 0001
0001 0010 0011
0010 0011 0001
0011 0100 0111
0100 0101 0001
0101 0110 0011
0110 0111 0001
0111 1000 1111
1000 1001 0001
1001 1010 0011
1010 1011 0001
1011 1100 0111
1100 1101 0001
1101 1110 0011
1110 1111 0001
1111 0000 1111