1 2 3 4 5
//example 8.13 clc; clear; disp('For SR flip flop Qn+1 = S + R`Qn and for D flip-flop Qn+1 = D .'); disp('Thus with D = S + R`Qn we get circuit which behaves like SR flip-flop.');