You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chapters/logiccircuits.tex
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,16 @@ \subsection*{Equality}
132
132
\end{center}
133
133
\end{figure}
134
134
135
+
\begin{figure}[hb!]
136
+
\begin{center}
137
+
\includegraphics[scale=0.17]{XNORgate.jpg}
138
+
\caption{A discrete-transistor XOR and NOT gate. Tying the output of the XOR gate to the input of the NOT gate makes the result of the NOT gate an XNOR of the original two XOR gate inputs---answering the question ``are the two inputs equal?"}
Copy file name to clipboardExpand all lines: chapters/logicgates.tex
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -213,7 +213,7 @@ \subsection*{The AND Gate}
213
213
214
214
\subsection*{The NOT Gate}
215
215
216
-
NOT gates take one input and reverse the value of that input. So a 1 becomes a 0, or vice versa. Also note this is the \emph{complement} of the input value, as seen above.
216
+
NOT gates, sometimes called \emph{inverters}, take one input and reverse the value of that input. So a 1 becomes a 0, or vice versa. Also note this is the \emph{complement} of the input value, as seen above.
217
217
218
218
\medskip
219
219
\begin{center}
@@ -259,7 +259,7 @@ \subsection*{The NOT Gate}
259
259
260
260
\bigskip
261
261
262
-
A simple NOT circuit is easy to understand, though this example is not how NOT gates are actually implemented, because of the poor efficiency (and wasted energy turns into heat, which then has to be cooled somehow; it is better to not make the heat in the first place).
262
+
A simple NOT circuit is easy to understand, though this example is not how NOT gates are actually implemented, because of the poor efficiency---wasted energy turns into heat, which then has to be cooled somehow. It is better to not make the heat in the first place.
263
263
264
264
\begin{figure}[!h]
265
265
\begin{center}
@@ -274,7 +274,7 @@ \subsection*{The NOT Gate}
274
274
\begin{center}
275
275
\input{./include/CMOSNOT.tex}
276
276
277
-
\caption{A practical inverter (NOT) circuit. While more complicated than a simple NOT circuit, it is more efficient, wasting much less energy. It uses one P-type and one N-type \emph{field effect transistor} (FET). Each transistor gate (the ``switch" you turn on or off with voltage) is tied to ground through a fairly high value resistor. P-type transistors clamp off electricity when their gate \emph{has} voltage on it. N-type transistors clamp off when their gate \emph{does not have} voltage on it. So, here, when the input is high, the top transistor clamps off voltage input, and the bottom transistor opens up, allowing any current to flow to ground--but there's no current available! The situation nicely reverses itself when the input is low: the top transistor opens up, allowing current to flow, and the bottom transistor clamps off, preventing current from going anywhere -- but putting a high signal at the output.}
277
+
\caption{A practical inverter (NOT) circuit. While more complicated than a simple NOT circuit, it is more efficient, wasting much less energy. It uses one P-type and one N-type \emph{field effect transistor} (FET). P-type transistors clamp off electricity when their gate \emph{has} voltage on it. N-type transistors clamp off when their gate \emph{does not have} voltage on it. So, here, when the input is high, the top transistor clamps off voltage input, and the bottom transistor opens up, allowing any current to flow to ground--but there's no current available! The situation reverses when the input is low: the top transistor opens up, allowing current to flow, and the bottom transistor clamps off, preventing current from going anywhere -- but putting a high signal at the output.}
278
278
\label{fig:cmosnot}
279
279
\end{center}
280
280
\end{figure}
@@ -283,14 +283,14 @@ \subsection*{The NOT Gate}
283
283
\begin{figure}[!ht]
284
284
\begin{center}
285
285
\includegraphics[scale=0.25]{trimmednotgate.png} % convert NOTgate.png -alpha off -trim trimmednotgate.png
286
-
\caption{A circuit board designed using the more elegant NOT gate schematic seen in Figure \ref{fig:cmosnot}. This one looks almost exactly like the OR gate and the AND gate, but the wiring is different! Also, it has only one input and one output. The NOT gate takes one \emph{input}, A, and produces one\emph{result}, R.}
286
+
\caption{A circuit board designed using the more elegant NOT gate schematic seen in Figure \ref{fig:cmosnot}. The NOT gate takes exactly one \emph{input}, A, and produces a\emph{result}, R.}
287
287
\label{fig:notgateboard}
288
288
\end{center}
289
289
\end{figure}
290
290
291
291
\begin{table}
292
292
\input{./include/NOTgateBOM.tex}
293
-
\caption{The list of components needed to solder up the NOT gate seen in Figures \ref{fig:cmosnot} and \ref{fig:notgateboard}.}
293
+
\caption{The list of components needed to make the NOT gate seen in Figures \ref{fig:cmosnot} and \ref{fig:notgateboard}.}
0 commit comments