Page 1 of 1

Shift Register behaves very strange

Posted: Wed Feb 17, 2021 2:39 pm
by LogicFreak
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

Re: Shift Register behaves very strange

Posted: Wed Feb 17, 2021 4:01 pm
by admin
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.

Re: Shift Register behaves very strange

Posted: Thu Feb 18, 2021 4:49 pm
by LogicFreak
Hmmmm ...
Looking for hours ... such simple.
Thanks for sharing your tricks. I'm learning every day ...