update Apparently I’m an idiot. It took me this long (hours) to check the supply voltage of the flip flops, which was at .25 volts from a bad connection. Rookie mistake. Hard lesson learnt.
In the absence of registers nearby, i have opted just to use d type flip flops instead. I have two registers (or flip flops acting as registers) so far. The flip flops are not connected staright to the clock, since this would mean they reset everyone pulse. Instead, they are connected to the control logic which sends a high to the clock input of the flip flop, when it wants to save the data. Register A works exactly as intended, outputting the contents of the d lines onto the q lines On the rising edge of the clock pulse. Register B however will not store data. If the clock input is high, it sets the outputs high also and I have no idea why. When the clock is low, the outputs are low.I thought maybe a bad chip, so I swapped it out but am still having the same problem. Does anyone know what the problem could be?
Here are the flip flops used