Set-Reset Flip-Flop

Description
The truth table for the Set-Reset Flip-Flop is:
| S | R | Q | !Q |
|---|---|---|---|
| 0 | 0 | Qprev | !Qprev |
| 0 | 1 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
Important
Non-zero inputs are treated as 1
Library
Control > Logic
Pins
| Name | Description |
|---|---|
| S | Set |
| R | Reset |
| 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. |