Simulating flip-flops in Simulink and Modelica
The static RS flip-flop
The triggered RS flip-flop
The shift register