Back to Index

Set-dominant latch. If both set and reset are true in the same cycle, set wins.

Signature

SR(setCond, resetCond, &q);

Example

SR(in(1), in(2), latch);
if (latch) { out(1)=1; }