The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+8 votes
417 views

Design a logic circuit to convert a single digit BCD number to the number modulo six as follows (Do not detect illegal input):

  1. Write the truth table for all bits. Label the input bits I1, I2, .... with I1 as the least significant bit. Label the output bits R1, R2.... with R1 as the least significant bit. Use 1 to signify truth.
  2. Draw one circuit for each output bit using, altogether, two two-input AND gates, one two-input  OR gate and two NOT gates.

 

asked in Digital Logic by Veteran (59.4k points)
edited by | 417 views

1 Answer

+4 votes
Best answer
A B C D   Y3 Y2 Y1 Y0  
0 0 0 0 0 0 0 0 0  
0 0 0 1 1 0 0 0 1  
0 0 1 0 2 0 0 1 0  
0 0 1 1 3 0 0 1 1  
0 1 0 0 4 0 1 0 0  
0 1 0 1 5 0 1 0 1  
0 1 1 0 6 0 0 0 0  
0 1 1 1 7 0 0 0 1  
1 0 0 0 8 0 0 1 0  
1 0 0 1 9 0 0 1 1  
                   

Y3=0

Y2=A'BC'

Y1=A'B'C+AB'C'

Y0=A'D+B'C'D

answered by (367 points)
selected by
+2
Simply Y0=D

Related questions



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

34,942 questions
41,951 answers
119,194 comments
41,470 users