nokotsos
nokotsos

Reputation: 21

Create 1-bit Comparator with mux

I want to make a 1-bit comparator with 2x1 mux or 4x1. I have made this 2x1. I am stuck in this situation.

1 bit comparator with 3 2x1 mux: 1 bit comparator with 3 2x1 mux

2x1 mux: 2x1 mux

I have to use only the 2x1 mux or 4x1, NOT gates as well as stable volt power (0 or 1).

What do I do wrong?

Upvotes: 1

Views: 3439

Answers (1)

Savvasenok
Savvasenok

Reputation: 51

You can make it using only 2 MUXs. As you can see on the picture, we use top MUX for negating the B value. The second one returns actual result of comparison

enter image description here

Upvotes: 0

Related Questions