I am finding a glitch in a synchronous counter with MultiSim 10. This glitch happens with a 74LS193 chip or even a synchronous counter made out of flip flops and some gates. I will post an example file that duplicates this error.
Basically what happens is as the counter is counting in this sequence: 1, 2, 3, 7,4 .. when it is suppost to count 1,2,3,4.. The 7 is the glitch. I do not believe this can be duplicated in a real circuit so I believe this is a simulation error.
I have a class project where I have to use a counter and it cannot have any glitches as it could produce erroneous results.
The counter_error file is suppost to work like this:
By toggling the switch there is a clock pulse going to the UP input which counts up on the outputs. When the counter reaches 7, the NAND gate goes low and activates the loader, so that the hardwired A,B,C,D inputs are transferred to the Q outputs. This is suppost to make the counter count in this sequence, 1,2,3,4,5,6,1... I understand that there will be a glitch of 7 after the 6.
So what happens is the counter counts up to 3 and then resets to 1.
I would appreciate any ideas on how to fix or patch this problem.
Thanks.
Alex K.