sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.29k stars 633 forks source link

Incorrect Circuit: Parallel-In Serial-Out #566

Closed Zhongy1 closed 3 years ago

Zhongy1 commented 3 years ago

This is specifically for the circuit in Sequential Logic > Shift Registers > Parallel-In Serial-Out. Here is what the circuit currently looks like: Screen Shot 2021-03-15 at 12 21 30 PM The problem with this is the first input is unaffected by the load/shift input, causing the circuit to fill up with with a logic 1.

I added a mux in the front of the left most D flip-flop which seemed to have fixed the problem. Screen Shot 2021-03-15 at 12 21 06 PM

pfalstad commented 3 years ago

fixed

pfalstad commented 3 years ago

thanks for the fix