<< SHIFT Integer palette Lookup tables palette >>

Scilab Help >> Xcos > palettes > Integer palette > SRFLIPFLOP

SRFLIPFLOP

SR flip-flop

Block Screenshot

Contents

Description

This block describes the simplest and the most fundamental latch the SR flip flop. The output Q depends of the state of the inputs S and R. The output !Q is the logical negation of Q

The user can set the initial output state with Initial Value parameter.

This block is almost used as a memory

The truth table of this block is:

S R Qn !Qn
0 0 Qn !Qn Hold
0 1 0 1 Reset
1 0 1 0 Set
1 1 U U Forbidden state

where U stands for "Unknown".

Data types

The block supports the following types :

Parameters

Default properties

Example

The following example presents a typical anti-bouncing application of the SR flipflop. The output graph shows the memory effect of the flipflop.

Interfacing function

See also


Report an issue
<< SHIFT Integer palette Lookup tables palette >>