{"id":"inverter","level":"logic","name":"Complementary CMOS inverter","shortName":"Inverter","role":"Turns one binary voltage state into its complement.","description":"A CMOS inverter joins a p-channel pull-up device to an n-channel pull-down device. Both gates receive the input; their shared output connects toward the supply for one input state and toward ground for the other. This complementary relationship restores useful signal levels and lets gates drive later gates. During a transition, the output load must charge or discharge, and the device currents change continuously. Static CMOS therefore has low ideal steady-state conduction but not zero real power consumption. The atlas exposes the two devices and the output capacitance instead of showing only a triangular symbol. This is the first place where the physical transistor becomes an explicit logical operation.","specs":[{"label":"Logic equation","value":"Y = NOT A","context":"One binary input, one binary output."},{"label":"Basic implementation","value":"2 transistors","context":"One pMOS and one nMOS in the canonical inverter."},{"label":"Physical output","value":"Voltage range","context":"Logic values rely on valid electrical levels."}],"interfaces":[{"name":"A","direction":"in","signal":"Binary-encoded input voltage"},{"name":"Y","direction":"out","signal":"Complementary output voltage"}],"tradeoff":"Upsizing can drive larger loads faster. It also increases input capacitance and area.","whyAI":"Inverters restore and transform signals throughout a processor. They appear inside memory and more complex logic networks.","related":["mosfet","nand","sram","standard-cell"],"sources":[{"title":"MIT 6.012 — CMOS Inverter Transfer Characteristics","url":"https://ocw.mit.edu/courses/6-012-microelectronic-devices-and-circuits-fall-2005/b5c8c475943132703a6dd50c479f9714_lec13.pdf"}],"scale":"Microscopic cell containing two complementary devices","kind":"inverter","mechanism":["Apply the same input voltage to a complementary pMOS/nMOS pair.","Connect the output toward the supply or ground through the appropriate conducting device.","Charge or discharge the output load so it enters the opposite valid logic range."],"misconception":"Low ideal steady-state CMOS power does not mean zero power: switching, leakage, and transition currents remain.","check":{"question":"What does an inverter do to a valid logic input?","options":["Counts how many electrons are in the wafer","Returns the same value permanently","Produces its logical complement"],"answer":2,"explanation":"The complementary transistor pair maps a low input toward a high output and a high input toward a low output."},"branch":"Digital circuits","subbranch":"Complementary logic","science":[{"title":"Switching power","equation":"P_dynamic ≈ α C_load V_DD² f","explanation":"A switching node repeatedly charges and discharges its load. Voltage has a squared influence in this model, linking device-level supply choices to chip-level power.","assumptions":"α counts effective charging activity per clock period; model excludes leakage and short-circuit power and assumes a lumped load."}],"history":[{"year":1963,"title":"Wanlass files complementary field-effect circuitry","significance":"Complementary n- and p-channel switching provided a path to low standby-power logic. The patent was filed in 1963 and granted in 1967.","source":{"title":"Wanlass — US3356858A","url":"https://patents.google.com/patent/US3356858A/en"}}],"prerequisites":["mosfet"],"learningObjective":"Predict the output state and estimate the dynamic switching power of a loaded CMOS inverter.","engineeringExample":"Synthetic node: with charging activity α = 0.25 per cycle, C = 10 fF, V = 1 V and f = 1 GHz, αCV²f = 2.5 μW. Raising V to 1.2 V gives 3.6 μW, a 44% increase before leakage and short-circuit power.","evidenceNotes":"The switching model and complementary topology follow the linked CMOS lecture. Values are synthetic; valid logic levels, transfer gain and noise margins require a device and load model.","labId":"library","scope":"Use the switching investigation to connect physical charge, circuit load and arithmetic; the numerical library has no standalone model of this lesson’s full mechanism.","investigationId":"switching","labScope":"Use the switching investigation to connect physical charge, circuit load and arithmetic; the numerical library has no standalone model of this lesson’s full mechanism."}