LED should display zero, one, two, three, four, five, six, seven, eight and nine
ID: 3792085 • Letter: L
Question
LED should display zero, one, two, three, four, five, six, seven, eight and nine. For each segment a-g, figure out whether it needs to be on for the particular digit it is trying to display. For example, to display zero: a, b, c, d, e and f are ON and only g is OFF. You need to figure out the formula for each segment by completing the following formulas: a = zero + b = zero + c = zero + d = zero + e = zero + f = zero + NOW assume the input is the number or bits you determined above and its named i. We will reference 0^th bit as i[0] and 1^st bit as i[1] and so on. We can now complete the design by figuring out the corresponding bit pattern for each of the signals zero through nine. (This is usually call a decoder) Your answer should be in terms of i[N] and not is and 0s. zero = = three = four = five = six = seven = eight = nine =Explanation / Answer
Part A
a = Zero + two +Three + five + six + seven +eight + nine.
b = Zero + one + two +Three + four+ seven +eight + nine
c = Zero + one +Three + four + five + six + seven +eight + nine
d = Zero + two +Three + five + six +eight
e = Zero + two + six +eight
f = Zero + four + five + six +eight+nine
g = two +Three + four + five + six +eight + nine
Part B
Let i[0] , i[1], i[2] , I[3] , I[4] , I[5] , I[6] representing wither 0 or 1
So for zero = i[0] , i[1], i[2] , I[3] , I[4] , I[5] should be 1
i[2] should be 1
two = i[0] , i[1], I[3] , I[4] , I[6] should be 1
three = i[0] , i[1], i[2] , I[3] , I[6] should be 1
four = i[1],i[2] , I[5] , I[6] should be 1
five = i[0] , i[2] , I[3] , I[5] ,I[6] should be 1
six = i[0] , i[2] , I[3] , I[4] I[5] ,I[6] should be 1
seven = i[0] , I[1] , I[2] should be 1
eight = i[0] , I[1], i[2] , I[3] , I[4] I[5] ,I[6] should be 1
nine = i[0] , I[1], i[2] ,I[5],I[6] should be 1
Thanks, let me know if there is any concern.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.