Sequential Circuits
- SR-Latch

SR-Latch

Syntax

SR_LATCH {[Subcircuit-label-n] [label-n]}
# Where, the Subcircuit labels are S, R, Q, Q`
# All Subcircuit labels are mandatory except the outputs
# Order is arbitrary

Example

SR_LATCH S s R r Q q Q` q`
# Another example
SR_LATCH S s R r Q q

Latches a single bit Q according to the input levels (active HIGH).