I have discovered a phenomenon that does not align with my understanding. Is it a bug?
Posted: Fri Sep 22, 2023 7:14 pm
As shown in the figure, there is a clock, an 8-bit counter, an 8-bit unsigned comparator, an 8-bit combination switch, and a T-trigger. I think the situation is that when the circuit is running, first set the binary bits of the 8-bit switch, and then click the clear button to set the counter to 0. Under clock drive, the value of the counter will eventually be equal to the value of the 8-bit switch. At this time, the output of the 8-bit unsigned comparator is 1. Since the T-trigger is also connected to the output of the comparator, the output of the T-trigger is also 1, Afterwards, although the value of the counter will be greater than the value of the 8-bit switch, causing the comparator output to become 0, the output of the T trigger will remain at 1 due to its rising edge triggering.
However, the actual situation is that when the 8-bit switch is set to an odd value, it conforms to the situation I described above. On the contrary, when the 8-bit switch is set to an even value, the output of the T trigger will become 0 at a later time. Why is this?
However, the actual situation is that when the 8-bit switch is set to an odd value, it conforms to the situation I described above. On the contrary, when the 8-bit switch is set to an even value, the output of the T trigger will become 0 at a later time. Why is this?