D Latch: Difference between revisions
Appearance
m add component categories |
use truth table template |
||
Line 3: | Line 3: | ||
The D Latch has an input on the side (data), an input on the top (enable), and an output on the top. The input on the side is a state to be latched; while the enable input is HIGH, the output state will be latched to the input's state. | The D Latch has an input on the side (data), an input on the top (enable), and an output on the top. The input on the side is a state to be latched; while the enable input is HIGH, the output state will be latched to the input's state. | ||
The D Latch will demonstrate the following behavior: | The D Latch will demonstrate the following behavior, where <code>*</code> represents the previous state: | ||
{ | |||
| | {{Truth table | ||
| inputs=Data,Enable | |||
| outputs=1 | |||
| caption=D-Latch Truth Table | |||
|- | | 0 0 * | ||
| | | 0 1 0 | ||
| 1 0 * | |||
| 1 1 1 | |||
| | }} | ||
|* | |||
| | |||
== Timing == | == Timing == |
Revision as of 01:54, 7 September 2025
![]() D Latch | |
Component info | |
---|---|
Internal ID |
MHG.DLatch |
Configurable | No |
Input and output | |
Input count | 2 |
Output count | 1 |
Propagation delay | 1 tick |
The D Latch is a basic digital component who's output can be latched to the input when the latch pin is set to HIGH.
The D Latch has an input on the side (data), an input on the top (enable), and an output on the top. The input on the side is a state to be latched; while the enable input is HIGH, the output state will be latched to the input's state.
The D Latch will demonstrate the following behavior, where *
represents the previous state:
Data | Enable | Output |
---|---|---|
0 | 0 | * |
0 | 1 | 0 |
1 | 0 | * |
1 | 1 | 1 |
Timing
The D Latch has a latency of 1 tick, so in the instance when the enable pin is HIGH, the output will become latched to the data input 1 tick later.
Configurability
This component cannot be configured in the edit menu.