HW 3
HW 3
A·B ≡A+B
A+B ≡A·B
Prove these laws are true by equating truth tables derived from either side of the law.
(c) Construct a NOR gate in terms of NAND gates and inverters, and construct a NAND gate
in terms of NOR gates and inverters
A B C D Out
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 x
1 0 0 0 1
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 0
(a) Write a sum of products boolean function directly from the truth table
(b) Use a 4 variable Karnaugh Map to derive a simplified boolean function from this truth table.
Your solution can include any combination of: inverters, 2-input AND gates, 2-input OR gates, 2
to 1 multiplexors, and 2-input exclusive-OR gates. Your goal is to minimize the delay through the
circuit. You can assume that the delay through each of these components is the same.
In the space below neatly draw the circuit diagram for your equal comparator. Label all inputs
and outputs.
FF
FF
FF OUT
Optional: What is the maximum clock frequency for this circuit? Assume IN comes from the OUT
of an identical copy of this circuit, all logic gates have a delay of 1ns and the flip-flop setup time
and clock-to-q delay are both 0.5ns.