Here's a design challenge/puzzle for anyone that might be interested.
Imagine that you are tasked with producing the bitwise XOR of two multi-bit words. For simplicity, let's make them 8-bit words and call them X and Y.
We are therefore trying to get
Z = X xor Y
Here's the catch: You are given a box that has two 8-bit cascadable adders (i.e., have a carry-in and a carry-out) and eight two-input NAND gates -- perhaps four 74xx283 4-bit full adders and two 74xx00 quad NAND gates, to give something concrete. This is all you have.
Can you produce Z using just these parts?
Imagine that you are tasked with producing the bitwise XOR of two multi-bit words. For simplicity, let's make them 8-bit words and call them X and Y.
We are therefore trying to get
Z = X xor Y
Here's the catch: You are given a box that has two 8-bit cascadable adders (i.e., have a carry-in and a carry-out) and eight two-input NAND gates -- perhaps four 74xx283 4-bit full adders and two 74xx00 quad NAND gates, to give something concrete. This is all you have.
Can you produce Z using just these parts?