a logic circuit for dynamic d - flip - flop includes five n - channel mos transistors and five p - channel mos transistors . when used as a shift register stage , it works correctly without any additional delay element or capacitor . with two more mos - transistors , the logic circuit works correctly with any sequence of input signals .