Added problem set 2
This commit is contained in:
parent
83cf9c0b44
commit
b0b35c25a5
82
main.tex
82
main.tex
@ -3,6 +3,7 @@
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{lastpage}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{graphicx}
|
||||
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
@ -15,17 +16,17 @@
|
||||
\section{Truth Tables and Boolean Equations}
|
||||
|
||||
Derive a truth table and sum-of-products representation for a function:
|
||||
\begin{itemize}
|
||||
\item Inputs: consist of 3 values – A, B, C – that may be either True or False
|
||||
\item Output: a single value – X – that is True when two and only two adjacent inputs are true
|
||||
\end{itemize}
|
||||
\begin{itemize}
|
||||
\item Inputs: consist of 3 values – A, B, C – that may be either True or False
|
||||
\item Output: a single value – X – that is True when two and only two adjacent inputs are true
|
||||
\end{itemize}
|
||||
|
||||
Full instructions can be viewed in the \href{https://docs.google.com/document/d/1XpSKpgN0JamxbZtsq-ZivZxFwIlkMH-9futUYkL0g2E/edit}{problem set 1 document}.
|
||||
|
||||
\subsection{Truth Table}
|
||||
|
||||
\begin{center}
|
||||
\begin{tabular}{|c|c|c|c|}
|
||||
\begin{tabular}{|c|c|c|c|}
|
||||
\hline
|
||||
A & B & C & X \\
|
||||
\hline
|
||||
@ -38,13 +39,78 @@ Full instructions can be viewed in the \href{https://docs.google.com/document/d/
|
||||
1 & 1 & 0 & 1 \\
|
||||
1 & 1 & 1 & 0 \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
|
||||
\subsection{Sum-of-Products Representation}
|
||||
|
||||
\[
|
||||
X = (!A \&\& B \&\& C) || (A \&\& B \&\& !C)
|
||||
X = (!A \&\& B \&\& C) || (A \&\& B \&\& !C)
|
||||
\]
|
||||
|
||||
\end{document}
|
||||
\newpage
|
||||
|
||||
\section{Truth Tables and Boolean Equations 2}
|
||||
|
||||
Derive a truth table and sum-of-products representation for the function describing the operation of the 4-channel multiplexor shown in P\&H Fig B.5.10 (below).
|
||||
|
||||
Full instructions can be found \href{https://docs.google.com/document/d/1e3DLurnuYyMFrjvi_6Wir7A7KS7h3gS3DyRhnOQJYMw/edit}{here}.
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[scale=0.25]{resources/Set2.png}
|
||||
\end{center}
|
||||
|
||||
\subsection{Truth Table}
|
||||
|
||||
\begin{center}
|
||||
\begin{tabular}{|c|c|c|c|c|c|c|c|}
|
||||
\hline
|
||||
Ainvert & Binvert & Less & S0 & S1 & S2 & S3 & Result \\
|
||||
\hline
|
||||
F & F & F & F & F & F & F & F \\
|
||||
F & F & F & F & F & F & T & T \\
|
||||
F & F & F & F & F & T & F & F \\
|
||||
F & F & F & F & F & T & T & T \\
|
||||
F & F & F & F & T & F & F & F \\
|
||||
F & F & F & F & T & F & T & T \\
|
||||
F & F & F & F & T & T & F & F \\
|
||||
F & F & F & F & T & T & T & T \\
|
||||
F & F & F & T & F & F & F & F \\
|
||||
F & F & F & T & F & F & T & T \\
|
||||
F & F & F & T & F & T & F & F \\
|
||||
F & F & F & T & F & T & T & T \\
|
||||
F & F & F & T & T & F & F & F \\
|
||||
F & F & F & T & T & F & T & T \\
|
||||
F & F & F & T & T & T & F & F \\
|
||||
F & F & F & T & T & T & T & T \\
|
||||
\hline
|
||||
T & T & T & T & T & T & T & T \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
|
||||
\subsection{Sum-of-Products Representation}
|
||||
|
||||
\[
|
||||
\begin{aligned}
|
||||
\text{Result} = & (!Ainvert \&\& !Binvert \&\& !Less \&\& !S0 \&\& !S1 \&\& !S2 \&\& S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& !S0 \&\& !S1 \&\& S2 \&\& !S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& !S0 \&\& !S1 \&\& S2 \&\& S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& !S0 \&\& S1 \&\& !S2 \&\& !S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& !S0 \&\& S1 \&\& !S2 \&\& S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& !S0 \&\& S1 \&\& S2 \&\& !S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& !S0 \&\& S1 \&\& S2 \&\& S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& !S1 \&\& !S2 \&\& !S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& !S1 \&\& !S2 \&\& S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& !S1 \&\& S2 \&\& !S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& !S1 \&\& S2 \&\& S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& S1 \&\& !S2 \&\& !S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& S1 \&\& !S2 \&\& S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& S1 \&\& S2 \&\& !S3) \\
|
||||
& \,|| (!Ainvert \&\& !Binvert \&\& !Less \&\& S0 \&\& S1 \&\& S2 \&\& S3) \\
|
||||
& \,|| \ldots \\
|
||||
& \,|| (Ainvert \&\& Binvert \&\& Less \&\& S0 \&\& S1 \&\& S2 \&\& S3)
|
||||
\end{aligned}
|
||||
\]
|
||||
|
||||
\end{document}
|
||||
|
||||
BIN
resources/Set2.png
Normal file
BIN
resources/Set2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 103 KiB |
Loading…
Reference in New Issue
Block a user