Sequential Circuits
- Gated SR-Latch

Gated SR-Latch

Syntax

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

Example

SR_LATCH_EN S s R r EN En Q q Q` q`
# Another example
SR_LATCH S s R r EN En Q q

Latches a single bit Q according to the inputs S and R. EN is the gate input (Active LOW level triggered).