3.Signal D works as a control signal.Determine different functions when D=1 or D=0. inputs outputs D AB C =1 0 0 0 0 0 1 0 1 0 0 1 1 0 0 400 1 0 1 1 1 0 1 1 1 4.Design the logic diagram for a comparator.(input:A B,output:F1 F2 F3) A=BF1=0, A>BF2=0, A<BF3=0。 5.Design a logic diagram for three persons'vote (When two or three persons say "yes",the result is"yes")。 -3-‐ 3 ‐ 3.Signal D works as a control signal. Determine different functions when D=1 or D=0. inputs outputs D A B S C 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 4.Design the logic diagram for a comparator.(input: A B, output: F1 F2 F3) A=B F1=0, A>B F2=0, A<B F3=0。 5.Design a logic diagram for three persons’ vote (When two or three persons say “yes”, the result is “yes”)