Loading simulator…
Master-Slave Architecture: The circuit uses a Master-Slave configuration to separate state selection from output updates, eliminating race-around conditions. A NOT gate generates complementary enable signals for the two latches.
Master Active (EN = 1): The Master Latch samples J and K, while the Slave Latch remains disabled (EN_slave = 0). Internal states update, but the outputs remain unchanged.
Slave Active (EN = 0): The Master Latch holds its state, and the Slave Latch becomes active (EN_slave = 1), transferring the stored data to Q_n and ~Q_n. Thus, outputs change only on the falling edge of the enable signal.