diff --git a/docs/1b/ece124.md b/docs/1b/ece124.md index dd053fe..5061091 100644 --- a/docs/1b/ece124.md +++ b/docs/1b/ece124.md @@ -195,6 +195,22 @@ A **canonical product of sums (POS)** is a function expressed as a product of ma $$f(x_1,x_2,\dots)=\prod M(a,b,\dots)$$ +## Transistors + +Binary is represented in hardware via switches called **transistors**. Above a certain voltage threshold, its output is $1$, whlie it is $0$ if below a threshold instead. + +A transistor has three inputs/outputs: + +- A ground +- An input **source**, which has voltage that determines whether the circuit is connected to the ground +- An output **drain**, which will either be grounded or have a voltage depending on whether the switch is closed. + +(Source: Wikimedia Commons) + +A **negative logic** transistor uses a NOT bubble to represent that it is closed while the voltage is **below** a threshold. + +(Source: Wikimedia Commons) + ## VHDL VHDL is a hardware schematic language.