Homework Set 3 Solutions, ECE 25, Fall 2013
The following questions are taken from chapter 3 problems in Mano and Kime, 4th Edition. Some answers are
from the website
http://writphotec.com//mano4//problem
solutions.html
and the remainder are taken from a pdf provided to instructors by Pearson.
1. A majority function has an output value of 1 if there are more 1s than 0s on its inputs. The output is 0
otherwise. Design a threeinput majority function.
Solution:
2. Find a function to detect an error in the representation of a decimal digit in BCD. In other words, write an
equation with value 1 when the inputs are any one of the six unused bit combinations in the BCD code, and
value 0 otherwise.
Solution:
1
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document3. design a circuit with a 4bit BCD input
A
,
B
,
C
,
D
that produces an output
W
,
X
,
Y
,
Z
that is equal to
the input +6 in binary. For example if the input is 9 (1001 in binary), then the output must be 9 + 6 = 15
(1001 + 0110 = 1111 in binary). The output for invalid BCD codes are don’t cares.
This is the end of the preview.
Sign up
to
access the rest of the document.
 Fall '08
 staff
 Boolean Algebra, Binarycoded decimal, Boolean function

Click to edit the document details