Searched Projects

Tags: 4-bit comparator

project.name
1 Stars     135 Views

Design a circuit that takes as input two 4-bit numbers x and y and produces a single bit in the output, such that when x = y its output is 1, and when x ≠ y its output is 0. 

Hint: use four XNOR and one AND gate.


project.name
3 Stars     294 Views
User:

Binary Comparator [4-bit]

Binary Comparator [4-bit]

This is my binary comparator, that compares two 4-bit binary numers (A and B) and outputs whether A=B, A>B or A<B. 

I normaly like to build circuits in Minecraft, but for this "bigger" project I needed to use something quicker and easier.

Maybe this comes in handy for someone :-)


Inputs (on the left):

- Number A {A4, A3, A2, A1}

- Number B {B4, B3, B2, B1}

- chp_enb - chip enable ... When set to 1, enables the output


Outputs (on the right):

- A=B

- A>B

- A<B