RSFlipFlop

A basic RS Flip Flop

    RSFlipFlop

Library

Modelica/Blocks/Logical

Description

The output Q is set by the input S, is reset by the input R, and keeps its value in between. QI is the inverse of Q.

Parameters

RSFlipFlop_0

NameLabelDescriptionData TypeValid Values

mo_Qini

Qini

Start value of Q at initial time

Scalar

true
false

RSFlipFlop_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

Q

implicit

output

1

QI

implicit

output

2

S

implicit

input

1

R

implicit

input

2

See Also