RSFlipFlop
A basic RS Flip Flop
![]()
Library
Blocks/Logical
Description
The output Q is set by the input S, is reset by the input R, and keeps its value in between. QI is the inverse of Q.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_Qini | Qini | Start value of Q at initial time | Scalar | true |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_Q | Q | Q | Structure | |
mo_Q/fixed | fixed | Cell of scalars | true | |
mo_Q/start | start | Cell of scalars | ||
mo_QI | QI | QI | Structure | |
mo_QI/fixed | fixed | Cell of scalars | true | |
mo_QI/start | start | Cell of scalars | ||
mo_S | S | S | Structure | |
mo_S/fixed | fixed | Cell of scalars | true | |
mo_S/start | start | Cell of scalars | ||
mo_R | R | R | Structure | |
mo_R/fixed | fixed | Cell of scalars | true | |
mo_R/start | start | Cell of scalars |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
Q | implicit | output | 1 | |
QI | implicit | output | 2 | |
S | implicit | input | 1 | |
R | implicit | input | 2 |