
D latch
A D latch is a basic digital device used to store one bit of information, similar to a light switch that can turn on or off. It has two main inputs: the Data (D), which sets the desired state, and the Enable (or Clock), which controls when the latch updates its stored data. When enabled, the latch "captures" the D input's value and holds it even if the input changes later. This makes D latches fundamental building blocks in digital systems for temporarily storing and managing data flow within electronic devices.