Looking at your circuit , its meant to count up to N then back down again?. One problem I can see is that U5 (AND) is inhibited by the 0 from the switch, so its output is always a 0, so the output of U9 is also always a 0 because it always has a 0 on a input (from U5). Use exclusive OR gate at this point.
Frank
hi, I'm not sure what you meant by N, but it's suppose to count to number 7 and count down to 0, will try replacing my U5 when I reach home, thanks for helping
Looking at your circuit , its meant to count up to N then back down again?. One problem I can see is that U5 (AND) is inhibited by the 0 from the switch, so its output is always a 0, so the output of U9 is also always a 0 because it always has a 0 on a input (from U5). Use exclusive OR gate at this point.
Frank
N is the number set by the switches. Try setting the switches to all the possibilities of numbers and then log the actual numbers the counter runs up to.
Frank