Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How can I solve this?
Construct a digital system that takes in a single decimal digit and outputs the remainder when the input number is divided by 7. Construct the truth table
1 Answer
- PuzzlingLv 72 weeks ago
Let's first write the input and output using decimals:
x | y
0 | 0
1 | 1
2 | 2
3 | 3
4 | 4
5 | 5
6 | 6
7 | 0
8 | 1
9 | 2
Now write it as bits.
The input can be 0-9 which requires 4 bits.
The output is 0-6 which requires 3 bits.
x3 x2 x1 x0 | y2 y1 y0
0 0 0 0 | 0 0 0
0 0 0 1 | 0 0 1
0 0 1 0 | 0 1 0
0 0 1 1 | 0 1 1
0 1 0 0 | 1 0 0
0 1 0 1 | 1 0 1
0 1 1 0 | 1 1 0
0 1 1 1 | 0 0 0
1 0 0 0 | 0 0 1
1 0 0 1 | 0 1 0
1 0 1 0 | x x x
1 0 1 1 | x x x
1 1 0 0 | x x x
1 1 0 1 | x x x
1 1 1 0 | x x x
1 1 1 1 | x x x
The rows for 10 to 15 have "don't care" values for the outputs because we should only ever get 0-9 as an input.
Now solve for each of the 3 bits in the output, using Karnaugh maps and build the reduced circuit.