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_Q

Q

Q

Structure

mo_Q/fixed

fixed

Cell of scalars

true
false

mo_Q/start

start

Cell of scalars

mo_QI

QI

QI

Structure

mo_QI/fixed

fixed

Cell of scalars

true
false

mo_QI/start

start

Cell of scalars

mo_S

S

S

Structure

mo_S/fixed

fixed

Cell of scalars

true
false

mo_S/start

start

Cell of scalars

mo_R

R

R

Structure

mo_R/fixed

fixed

Cell of scalars

true
false

mo_R/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

Q

implicit

output

1

QI

implicit

output

2

S

implicit

input

1

R

implicit

input

2