• • 10/24/12 8:29 am • 3 logs
- 1.9k views • 0 today
- save_alt 53 downloads • 1 today
- Progress
- 100% complete
31
On a forum someone needed some help getting started on ALU's. However I never build one myself. But I did gave him some tips. One of them was how schematically the circuit of a comparator could look like:

After this I also thought I should give it a try to build it. And this is the result.
The design is stackable which is 12 long, 8 high and 2 wide per digit. However the stackable schematic is 4 wide (two digits) because I had alter the wiring slightly to prevent them to interfere.
Do keep in mind that the purple line is not(A=B), so after stacking the stackable design you still need to invert this signal.
I think it is fairly compact, but could be faster, since I needed to use repeaters as diodes to prevent the power from going the wrong way.
PS: I often tend to hold of the use of pistons (cause of their noise) and I succeeded.
Edit 1: I managed to reduce the amount of repeater drastically (also added some to replace two torches) which made a huge improvement on the speed. I have added the schematics to the download.
It should be 3 ticks for the first 5 bits, and an additional 1 tick for every 5 bits more.
Edit 2: I have revisited this design after watching propperinglish's video about his comparator.And was able to increase the number of bits after which a repeater would be needed to 8 and reducing some other delay. The result is a 2 tick delay for the 'AB' for up to 8 bits and 3 ticks for 'A=B'. I will add these designs to the download and here are some screenshots.

After this I also thought I should give it a try to build it. And this is the result.
The design is stackable which is 12 long, 8 high and 2 wide per digit. However the stackable schematic is 4 wide (two digits) because I had alter the wiring slightly to prevent them to interfere.
Do keep in mind that the purple line is not(A=B), so after stacking the stackable design you still need to invert this signal.
I think it is fairly compact, but could be faster, since I needed to use repeaters as diodes to prevent the power from going the wrong way.
PS: I often tend to hold of the use of pistons (cause of their noise) and I succeeded.
Edit 1: I managed to reduce the amount of repeater drastically (also added some to replace two torches) which made a huge improvement on the speed. I have added the schematics to the download.
It should be 3 ticks for the first 5 bits, and an additional 1 tick for every 5 bits more.
Edit 2: I have revisited this design after watching propperinglish's video about his comparator.And was able to increase the number of bits after which a repeater would be needed to 8 and reducing some other delay. The result is a 2 tick delay for the 'AB' for up to 8 bits and 3 ticks for 'A=B'. I will add these designs to the download and here are some screenshots.
3 Update Logs
Update #3 : by fibonatic 10/24/2012 8:29:17 amOctober 24, 2012 @ 12:29 pm UTC
On request I have added a world download containing all the comparator designs.
LOAD MORE LOGS
More like this
1006874
2



Have something to say?
take a diamond :)