wire / wire-format / flip-flops

Flip-flops and latches (sequential logic)

Flip-flops are bistable circuits (1-bit memory). Types: SR latch (set/reset), D latch (data), D flip-flop (edge-triggered), JK flip-flop (toggle), T flip-flop (toggle). Latches are level-sensitive; flip-flops are edge-triggered. Setup time, hold time, and clock-to-Q delay are key timing parameters.

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: Flip-flops and latches (sequential logic)

wire format

spec: Sequential logic design

Flip-flops are bistable circuits (1-bit memory). Types: SR latch (set/reset), D latch (data), D flip-flop (edge-triggered), JK flip-flop (toggle), T flip-flop (toggle). Latches are level-sensitive; flip-flops are edge-triggered. Setup time, hold time, and clock-to-Q delay are key timing parameters.

fieldsizemeaning
SR latch2 inputs (S, R)Set (S=1, R=0): Q=1. Reset (S=0, R=1): Q=0. Invalid: S=1, R=1. (S=R=0: hold.)
D latch2 inputs (D, E)When E=1 (enable): Q=D. When E=0: hold. Transparent latch.
D flip-flop2 inputs (D, CLK)On rising edge of CLK: Q=D. Edge-triggered. Master-slave or pulse-triggered.
JK flip-flop3 inputs (J, K, CLK)J=K=0: hold. J=1, K=0: set. J=0, K=1: reset. J=K=1: toggle.
T flip-flop2 inputs (T, CLK)T=0: hold. T=1: toggle. (T flip-flop = JK with J=K=T.)
Setup time (t_su)timingMinimum time data must be stable before the clock edge.
Hold time (t_h)timingMinimum time data must be stable after the clock edge.
Clock-to-Q (t_cq)timingTime from clock edge to output change.

example:

00 00

Flip-flop types (placeholder)


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/flip-flops or /wire-format/flip-flops.json