silicon atlasTHE HARDWARE REFERENCE
العربية
Reference/First principles
Foundations

Transistors & CMOS

A tiny voltage-controlled switch. Billions of them become a computer.

A bit is a promise about voltage, not a tiny printed 0 or 1.
Gate

Electric field controls conduction.

LIVE EXPERIMENT

Build a decision

Runs on your device
Tap each input to flip it.
A
B
XORA ≠ B
1OUTPUT
Truth table
ABXOR
000
011
101
110

NAND can build any Boolean function. Combining small gates creates selectors, adders, and control.

What this model includes

Ideal Boolean logic. Electrical timing and noise are omitted.

FOLLOW THE MECHANISM

What happens inside

1

Control a channel

A MOS transistor has a gate, source, and drain. The gate voltage changes conduction in the channel. Real switches have capacitance, resistance, and leakage; turning one on or off takes time and energy.

2

Pair complementary switches

CMOS combines n-channel and p-channel devices. In an inverter, the pull-up connects the output to the supply when the input is low; the pull-down connects it to ground when the input is high. Brief overlap and charging capacitance consume energy during transitions.

3

Make a reliable digital signal

Logic 0 and 1 are voltage ranges separated by noise margins. A circuit must settle before the next sampling edge. FinFET and gate-all-around are transistor geometries that improve electrostatic control; they do not change the Boolean meaning of an instruction.

THE RELATIONSHIPP_dynamic ≈ α · C · V² · f
PUT IT TO WORK

What this means for your code

Low-level engineer

Learn setup/hold timing, noise margins, fan-out, and the critical path. A digital model hides analog behavior, especially around clock crossings.

Software developer

Power is not just work per second. Data movement and voltage matter; batching can let a device finish sooner and sleep longer.

GO TO THE SOURCE

Read the actual specifications

These references supply the underlying contracts and implementation details. The diagrams here are simplified teaching models.

TSMC · Transistor structuresTSMC Research
Nand2Tetris · Boolean logicHebrew University / Reichman University

Keep following the connection

Understood the idea? Keep a note of your progress.