Skip to main content

CMOS Master-Slave Flip-Flop

CI

CircuitSim

·

Created Oct 3, 2026

·

Updated Oct 3, 2026

Preview will appear once the owner saves the schematic
Details

Components

8


Schematic

Yes


Simulation

Transient analysis


Copies

Not copied yet

About this circuit

Two transmission-gate latches on opposite clock phases capture data on a rising clock edge.

Circuit notes

CMOS Master-Slave Flip-Flop

Two transmission-gate latches on opposite clock phases capture data on a rising clock edge.

Circuit operation

The master latch is transparent while Clock is low. The slave latch is transparent while Clock is high. Each latch uses a forward transmission gate, two inverters, and a feedback transmission gate.

Expected behavior

Q(tk+)=D(tk−)Q(t_k^+)=D(t_k^-) tk: rising clock edget_k:\ \mathrm{rising\ clock\ edge}

Compare D, Master, Clock, and Q. Master follows D during the low clock phase; Q takes that stored value at the rising edge and holds it for the rest of the cycle. The input period differs from the clock period to expose the capture behavior. Finite gate delays mean setup and hold intervals still matter.

Reading the results

The first voltage probe is green and the second is red. Additional voltage traces use distinct colors. Current probes, when present, start with blue and then purple. The chart opens with separate traces on a fixed time window; the table retains the same probe order. Zoom to extents includes the complete schematic.

The saved transient runs for 4.0 ms with a maximum step of 1.00 µs. Compare settled cycles after startup and use time-axis cursors to measure delays or periods.

Try a change

Set V1 period to 2 ms and pulse width to 950 µs; compare the time scale of the response. Restore the saved values after comparing the result.

Model limits

These are generic transistor models, not a specific manufactured part. The CMOS models use illustrative threshold, transconductance, junction-capacitance and series-resistance parameters. Device mismatch, temperature drift, layout parasitics, breakdown and detailed noise are not represented. The schematic and component properties expose the values used.

Components used

Components used
8 components
NameManufacturerMPNCountType

N-channel MOSFET

Generic

—

5

Official

P-channel MOSFET

Generic

—

5

Official

4-Terminal NMOS

Generic

—

4

Official

4-Terminal PMOS

Generic

—

4

Official

Capacitor

Generic

—

3

Official

Pulse Voltage Source

Generic

—

2

Official

DC Voltage Source

Generic

—

1

Official

Resistor

Generic

—

1

Official

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.