Hello,
looking two hours already but cannot find the bug.
In attached project, 8 D-flipflops are cascaded to found a simple 8-bit shift register.
If switched on and one hits the data input button, one would expect a marching one, illuminating the leds left to right, one at a time.
This worky pretty well for the first 5 ones; at next clock, #6 ... #8 are switched on alltogether which obviously is wrong.
Any hint welcome!
Thanks, LogicFreak
Shift Register behaves very strange
-
- Posts: 5
- Joined: Wed Feb 17, 2021 2:21 pm
Shift Register behaves very strange
- Attachments
-
- Beispiel-170.CircuitProject
- (54.99 KiB) Downloaded 1311 times
Re: Shift Register behaves very strange
On your Q6 the lower input is incorrectly connected. The wire pans out for too much so both the Q7 and Q8 are disconnected.
There is a simple trick to find such problems: just play with Edit/Select... menus to see where are your wires and floating elements and what not.
There is a simple trick to find such problems: just play with Edit/Select... menus to see where are your wires and floating elements and what not.
-
- Posts: 5
- Joined: Wed Feb 17, 2021 2:21 pm
Re: Shift Register behaves very strange
Hmmmm ...
Looking for hours ... such simple.
Thanks for sharing your tricks. I'm learning every day ...
Looking for hours ... such simple.
Thanks for sharing your tricks. I'm learning every day ...