50 likes | 67 Views
Logic Design LAB 6. 授課老師:伍紹勳 課程助教:邱麟凱、江長庭. Outlines. 2-bit Comparator A=B A>B A<B LAB. 2-bit Comparator. A=B A 1 =B 1 , A 0 =B 0 Principle X0=1 when A0=B0 X1=1 when A1=B1 Circuit. XNOR !. 2-bit Comparator. A>B A1>B1 A1=B1, A0>B0 Circuit A<B A1<B1 A1=B1, A0<B0 Circuit. LAB.
E N D
Logic Design LAB 6 授課老師:伍紹勳課程助教:邱麟凱、江長庭
Outlines • 2-bit Comparator • A=B • A>B • A<B • LAB
2-bit Comparator • A=B • A1=B1, A0=B0 • Principle • X0=1 when A0=B0 • X1=1 when A1=B1 • Circuit XNOR !
2-bit Comparator • A>B • A1>B1 • A1=B1, A0>B0 • Circuit • A<B • A1<B1 • A1=B1, A0<B0 • Circuit
LAB • Implement a 2-bit comparator • Show the relation between two two-bit inputs, A and B • Equipment: • LED x 3 • IC • 7402(NOR)x 1 • 7408(AND) x 1 • 7404(Inverter)x 1 • 7432(OR) x 1、