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.

    DLatch

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

DLatch_0

NameLabelDescriptionData TypeValid Values

init

Initial value

Initial Value: Output at port Q at initial time.

Ports

NameTypeDescriptionIO TypeNumber

Q

explicit

output

1

!Q

explicit

output

2

D

explicit

input

1

E|C

explicit

input

2

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no

Diagram

DLatch