DLatch
When the E/C port of the block is 0, the D input has no effect on the outputs. When The E/C is high, the Q output is equal to D.
Library
Activate/FlipFlops
Description
When the E/C port is true, the block is enabled the truth table of inputs and outputs can be found as following:
D Q !Q
0 0 1
1 1 0
When the E/C port is false, the output ports keep the value of previous step. Non-zero is considered true and zero is considered false.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
init | Initial value | Initial Value: Output at port Q at initial time. |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Q | explicit | output | 1 | |
!Q | explicit | output | 2 | |
D | explicit | input | 1 | |
E|C | explicit | input | 2 |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | yes | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |