Skip to content

J-K Flip-Flop

Symbol

Description

The truth table for the J-K Flip-Flop is:

J | K | clock | Q | !Q ------------ | ------------- | ------------ | ------------ 0 | 0 | ↑ | Qprev | !Qprev 0 | 1 | ↑ | 0 | 1 1 | 0 | ↑ | 1 | 0 1 | 1 | ↑ | !Qprev | Qprev

Important

Non-zero inputs are treated as 1

Library

Control > Logic

Pins

Name Description
J J (Set)
K K (Reset)
clock clock
Q Output
notQ Output Complement (!Q)

Parameters

Name Description
SamplingTime -none or 0: No sampling. The system will be solved in the Newton loop (default).
-auto: Inherit the sampling time of its source device.
-Sampling Period: defined in seconds.