LE>From transistors come gates!
indigenous Transistors to Functions

For the purpose of this class, us will consider transistors to it is in the simple piersonforcongress.comilding blocks of computer hardware.

You are watching: How many transistors in an and gate

A transistor is anelectronic device that has actually three ends: a source, a sink, and a gate. The figure listed below shows 3 individual transistors (circa 1960s). Today"s technology allows united state to pack up to 1 million transistors per square millimeter (circa 2006). One Intel processor measuring much less than a square inch has well end 1.5 billion transistors on the (circa 2007) -- much more data availablehere.

*

Figure 1: photo of separation, personal, instance transistors (courtesy that Wikipedia).

More conveniently, transistors are depicted using the picture below.

*

Figure 2: Symbol offered to depict a transistor through its three link points.

Transistors as Faucets!

The procedure of a transistor can be explained by making an analogyto faucets. as with a transistor, a faucet is connected to a resource (the watercompany), the faucet drains in a sink, and the flow of water through the faucet is regulated by a gate (the knob). If the faucet knob (gate) isturned on water operation from the resource to the sink, otherwise if the faucet knob (gate) isturned turn off no water flows.
*

Figure 3: Faucet Operation: The gate controls the circulation of water from resource to sink.

If we represent the truth that water flows from the source to the sinkwith a 1 (or ON) and the fact that water does not flow fromthe source to the sink through a 0 (or OFF), we have the right to understandhow a transistor works simply by transforming "water" come "electricity". Inparticular: once the gate of a transistor is top top (or has actually avalue 1) then power flows indigenous the source to the sinkand the transistor is said to it is in ONOtherwise once the gateof a transistor is turn off (or has actually a worth 0) thenelectricity walk not circulation from the source to the sink and also thetransistor is claimed to be OFF. The current an innovation used to piersonforcongress.comild computer hardware (chips) iscalled CMOS, which means Complementary Metal�Oxide�Semiconductor. In CMOS, in enhancement to utilizing the transistor describedabove, us use an additional kind that transistors, which is rotate ONwhen the gate is OFF and is turned OFF as soon as the gate isON. In other words, its procedure is "complementary" (or opposite) to the one we just explained above. The symbol because that this complementary type of transistors is shown below. The symbolis quite comparable to the transistor we defined above, other than for the"piersonforcongress.combble" connected to the gate. This piersonforcongress.combble means that this transistorworks in the opposite way (it"s ON as soon as the gate is OFFand OFF as soon as the gate is ON.
*

Figure 4: Symbol used to depict a safety transistor.

To bring the analogy with faucets, one can think the a faucet that allows water flow from the source to the sink as soon as its knob is tightened yet not when the knob is loosened.

using Transistors to piersonforcongress.comild Bigger Circuits

Using transistors as piersonforcongress.comilding blocks, we can construct larger circuitsthat perform amazing (logical) operations.

See more: Iron (Iii) Oxide Chemical Formula, Iron(Iii) Oxide

Our very first example is the not circuit. The figure listed below showshow to attach two transistors with each other to piersonforcongress.comild an inverter (alsoknown together a no gate).
*

Figure 5: an inverter circuit (known as the no gate).

Now, let"s find out what the inverter circuit above will do once presented v an intake (i.e. X). We recognize that X have the right to takeone of 2 values, either 0 or 1. Let"s research each oneseparately.If X=0 then by an interpretation of the bottom transistor, it will certainly beOFF, which method that electrical energy will not be able to flow fromits source to that sink. Also, through definition, the optimal transistor willbe ON, which method that electricity will be able to flow fromits resource to the sink. The question is, will there be any kind of electricitycoming out from Z (where Z is the output of thatcircuit). The price is YES. Because the peak transistor is ON and also thebottom transistor is OFF, electrical power flowing the end of the battery willgo with the height transistor yet will not be able to make it throughthe bottom one. In other words, the will circulation out throughZ. Come visualize the operation of the inverter, it may be useful to think around this instance using the water analogy disputed before. If X=1 then by meaning of the bottom transistor, it will certainly beON, which method that any electricity already easily accessible at itssource will drainpipe in the sink. Also, by definition, the top transistor willbe OFF, which way that no electrical energy will be able to flow fromits resource to its sink. The concern is, will certainly there be any electricitycoming out from Z (where Z is the output of thatcircuit). The prize is NO. Because the height transistor is OFF and thebottom transistor is ON, electricity flowing out of the battery willbe clogged by the peak transistor and any electrical power that might exist inZ, will certainly drain. In various other words, there will be no electricityflowing out with Z. Again, it may be advantageous to think aboutthis example using the water analogy questioned before.The table below sums up the operation of the no gate by offering an output (Z) because that every possible input (X) that the circuit. Tables like this one (providing us with the value of a function for every possible combination of input of the function) are called truth tables.