CMOS XOR
CircuitSim
·
Created Oct 3, 2026
·
Updated Oct 3, 2026
Details
Components
8
Schematic
Yes
Simulation
Transient analysis
Copies
Not copied yet
About this circuit
A transmission-gate selector chooses an input or its complement to implement exclusive OR.
Circuit notes
CMOS XOR
A transmission-gate selector chooses an input or its complement to implement exclusive OR.
Circuit operation
One inverter creates the complement of A and another creates the complement of B. Two transmission gates select A when B is low and the complement of A when B is high. All transistor bodies connect to their appropriate rails.
Expected behavior
Equal inputs produce a low output; unequal inputs produce a high output. The 2 nF output capacitance makes the settling following a selection change visible. Read logic values away from the edges.
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 3 ms and pulse width to 1.45 ms; compare unequal and equal input intervals at the new timing. 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
Try this circuit yourself
Free to get started. No download — runs in your browser with a full SPICE engine.