<< DFLIPFLOP Integer palette EXTRACTBITS >>

Scilab Help >> Xcos > palettes > Integer palette > DLATCH

DLATCH

D latch flip-flop

Block Screenshot

Contents

Description

This block copies its input state (D) on the output (Q) when the enable input (C) is high and in this configuration it appears as transparent. The !Q output is the logical negation of Q

When the enable input goes low, the output keeps its previous state and acts like a memory.

This block can be typically used in I/O ports.

The truth table of the block is the following ones:

C D Qn !Qn
0 x Qn-1 !Qn-1 No changes
1001Reset
1110Set

where x means "indifferent" and Qn-1 the previous state of Qn.

Data types

The block supports the following types :

Default properties

Example

The following figure shows a simple use case of the DLATCH block with its timing diagram.

Interfacing function

See also


Report an issue
<< DFLIPFLOP Integer palette EXTRACTBITS >>