The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+7 votes
367 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 (68.8k points)
edited by | 367 views

1 Answer

+3 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 (361 points)
selected by
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

32,470 questions
39,199 answers
108,999 comments
36,575 users