EveryCircuit
Contact
Reviews
Home
Issacsutt
modified 3 years ago

4-bit Serial Binary Comparator

2
6
448
05:05:11
Compare two 4-bit binary values to determine which is Greater than, Less than, or equal to! Because it’s serial, it’s also easily scalable and is well capable of comparing even bytes worth of data if you want, you only need to increase the size of the shift register(s) (which in real life would just mean a larger IC, here on EC it takes a little more to do that cause there’s logic gates involved that make up the shift register). However might be able to think of a way around it, if I can develop a memory topology that recycles slots. To start the comparison, press the push button at the bottom (only necessary if it doesn’t automatically start with the sim). Make sure to reset the sim anytime you make changes or want to run the comparison again, otherwise there’s about a 75% probability that it won’t be accurate, as there’s no integrated reset logic currently, might make an update for that soon though. The output is the RGB LED, the color code is shown below, while all the other LEDs are basically for testing purposes. **The Left set of bits is the Control, and the Right side of bits is being Compared to it** **Uses a Shift Register that Shifts from MSB to LSB. When it has cycled through every bit, the output will display a color code representing the magnitude comparison between the two. The Seven segment displays are there to show the decimal number equivalent of the two binary inputs** RGB Color Code: 1. Green is EQUAL (=) 2. Blue is GREATER THAN (>) 3. Red is LESS THAN (<)
published 3 years ago
592azy2circuitdude
3 years ago
Nice 👍.
592azy2circuitdude
3 years ago
Say, I have sort of a circuit request. About 3 months ago, you published the circuit "9 Bit SRAM Computer." With the new larger workspace, I was wondering if you'd like to create a bigger version of it. I know I'd sure like to see that! Just a thought...
Issacsutt
3 years ago
Yeah totally, It’s definitely crossed my mind, and I certainly plan to make a huge amazing new and improved version, but before I do, I want to come up with a much more efficient data structure that is more easily tangible. I actually was able to make a 16 bit version before the update using the same sized workspace as before, but I didn’t post it cause I wanted something truly awesome compared to before, so I’m still working on it!
Issacsutt
3 years ago
I’ll change it to *unlisted* so you can check it out if you’d like, here’s the link for it…
Issacsutt
3 years ago
http://everycircuit.com/circuit/5549240216190976
592azy2circuitdude
3 years ago
Hey, that's great 👍

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy