Skip to content

The Transistor

TODO

Key Concepts

Simple Chemistry and a Little VoltageUsing 2 variations of silicon, transistors can physically represent the digital zero (0) and one (1) values that represent the basic numeric units
Timing is Critical when using Transistors to Hold Digital StatesUsing an analog signal like voltage to represent digital values requires a brief time period of transistors to settle to a 0 or 1 state
Terms
TermMeaning
Arithmetic Function/CircuitOperation that processed input signals into a mathematical output. i.e. ADD, SUBTRACT.
CircuitGroup of transistors that implement logic, control, or storage capability in hardware. AKA Gate.
Input/OutputElectrical or binary signals sent into or received out of a transistor, circuit, or arithmetic function.
Invert/InversionSwitching a value/state to its opposite reference value/state. i.e. binary 1 is inverted into a binary 0.
Logic Function/CircuitOperation that processed input signals into a boolean output. i.e. AND, OR, NOT.
N-Type TransistorTransistor that outputs the same reference/boolean value as its input.
P-Type TransistorTransistor that outputs the opposite reference/boolean value than its input.
Ripple circuitA set of identical circuits chained together to cause an output from one circuit feeds the next circuit, and affects the next circuit's result. Common in arithmetic circuits that require carry/borrow interactions between values.
Storage Function/CircuitOperation that retains input signal (single bit) between clock cycle. i.e. STORE, RETRIEVE.
TransistorsElectronic devices used to represent binary 1 or 0 in hardware.
Truth TableA tablature representation of all if a circuit's inputs and outputs.

Introduction

Transistors are electronic devices constructed to control or amplify electrical input. In computer organization, we are interested in the control version as they will represent the 1 and 0 values of binary numbers

There are 2 general types of transistors used in computer hardware. They are made of silicon and one (1) of two (2) different add-in materials. Silicon mixed with one (1) add-in causes a particular switch behavior. Mixed with the other add-in, the transistor behaves with the opposite switch action.

How semiconductors work - Ben Eater - UK YouTube Provider

A detailed look at semiconductor materials and diodes..

Copyright TODO

The first video describe the movement of electrons through the two (2) silicon mixtures to act as a diode. The second video builds on the first, showing how a three-layer sandwich of doped silicon behaves like a binary 0 or 1.

It is not within the scope of this course, but is a great description of how electrons move through silicon materials. If you are interested in understanding transistors at the lowest levels, check it out

P- and N-Type Transistors

Semiconductor transistors act as switches in the core of modern computers. Constructed with layers of slight variations of silicon (mixed or doped with other elements). Transistors have a control connector that provides an input into the device. The input voltage will cause the transistor to output 1) the same voltage as its input, or 2) the opposite of its input voltage

There are two (2) types of basic transistors:

  • P-Type output the opposite of its input
  • N-Type output the same as its input

P- and N-Type

Above a P-Type with 2.9 volts input on the Control line to output 0 volts on the Reference line.

N-Type transistors output 0 volts with 0 volts are input, and 2.9 volts out when 2.9 volts are input.

The line from source to drain is one independent electrical connection. there is a power source (not pictured) that connects these 2 lines.

The Control line also has another line that connects both to a power source. It is omitted from these diagrams for simplicity. In truth, the two electrical connections (source to drain and Control to the missing ground connection) typically share a ground or common. The two connections still operate separately

::: note The P-Type symbol includes a circle where the Control line meets the Reference line. A circle symbol indicates opposite or inverse.

Also, source and drain lines are swapped between P- and N-Type diagrams. Finally, the Vin is positive for P-Types and negative for N-Type. This is related to electrical difference, and beyond the scope of our class. :::

Transistors as Bits

Transistors use a voltage input to switch another voltage output. Voltage are analog quantities, meaning there are (until we start looking at the level os the electron) an infinite number of different voltage level or amounts.

Binary values are digital. The have 2 distinct values and nothing in between. At the lowest level, binary values are 1 or 0. There is no 0.5 binary value.

P- and N-Type

Download the Logisim Examples collection to examine in Logisim Circuit Simulation Tool

To use analog transistors to represent digital bits, hardware designers must consider the rise/fall time of transistors. Essentially, then a transistor is first set to on or 1, it will take a very short time for the voltage in the transistor to rise to a level that is on or 1.

We will refer to rise and fall time intervals generally as settle time. This is the time required for a transistor (or a circuit made is similar transistors) to change from one state to the other.

Likewise, when a transistor it set ot off or 0, there is brief fall time where the voltage dissipates from the transistor.

The purpose of the clock in modern computers is to orchestrate the settle time of all transistors in the system. It synchronizes part of the hardware to send control signals with the transistors that receive the control signals. During a part of a clock cycle, control signals are send out to transistors. During another part of the clock system, activity is prevented so those transistors have time to settle.

The clock cycle provides other essential duties in modern computer hardware. In computer organization, we rely on it to keep transistors synchronized to maintain reliable binary values.

CPU and motherboard manufactures must match the settle time for the transistors with a clock speed that allows

::: note Considering the clock keeps all the transistors (and other things) synchronized, what happens when a computer modder increases the clock speed beyond the manufacturer's recommendations

How would transistors react to having less settle time?

What might happen to circuits that are sending or receiving bits from these transistors? :::

Conclusion

Silicon materials can be used to hold voltages. The voltages control the state of a bipolar device. The P- and N-Type bipolar devices (transistors) are used in modern computers to represent the digital 1 and 0 values in the binary number system.

A clock is used to ensure all transistors have the time to transition between states.

The contents of this E-Text were developed under an Open Textbooks Pilot grant from the Fund for the Improvement of Postsecondary Education (FIPSE), U.S. Department of Education. However, those contents do not necessarily represent the policy of the Department of Education, and you should not assume endorsement by the Federal Government.
Released under Creative Commons BY NC 4.0 International License