Minecraft Maps / Redstone Device

8-bit sync Kogge-Stone Carry-Lookahead Adder

  • 5,765 views, 3 today
  • 299 downloads, 0 today
  • 8
  • 2
  • 18
CX gamer's Avatar CX gamer
Level 31 : Artisan Engineer
9
Basicly meaning a very fast adder. In real-life electronics, a Kogge-Stone adder is widely considered the fastest adder design possible. So building this in minecraft should result in the fastest adder also. If you want more info on the design of the Kogge-Stone adder, I suggest this wikipedia article:
en.wikipedia.org/wiki/Kogge-Stone_Adder

From input to output, it takes 10 ticks, which is faster than any Ripple-Carry previously built in minecraft. It is synced, meaning that you can basicly process a series of sums within those 10 ticks, as long as you don't burn out the torches. This will be usefull in a CPU which uses pipelining.

The reason this is uncommon in minecraft adders, is that it's rather tricky to build it, as wires can often congest. Lucky for you, a .schematic is provided. As by Tavirider's world of redstone, red wool is for input and the blue wool is for output. Facing the inputs, starting from the left are a0, b0, a1, b1, ..., a6, b6, a7 and b7. The outputs are likewise.

This was made on the Redstone Development Foundation (RDF) server, the server designed for redstone developers.
Progress100% complete
Tags

Create an account or sign in to comment.

1
06/14/2014 4:30 pm
Level 20 : Expert Narwhal
p_jgoalie34
p_jgoalie34's Avatar
Dude theres something wrong with the adder. And its really confusing. If I had no experience with redstone I would be SOL if I tried to use this. I'm not picking fights but please FIX IT!
1
02/11/2012 9:18 am
Level 1 : New Miner
cwnhat
cwnhat's Avatar
Does the carry in work, so I can make it subtract?
1
02/21/2012 8:24 am
Level 31 : Artisan Engineer
CX gamer
CX gamer's Avatar
I'm sorry for the very late reply, don't come here often anymore. But sadly, no. You can't make this subtract, unless you're only using 7 bits and the first one as Cin.
1
07/12/2011 4:36 am
Level 2 : Apprentice Engineer
zucarok
zucarok's Avatar
This is really cool, I think you should challenge your self and form this design into smaller version, then making it like 16 bits or 32 bits XD nice job!!
1
07/12/2011 5:06 am
Level 31 : Artisan Engineer
CX gamer
CX gamer's Avatar
I will NOT be doing 16 bit nor 32 bit. The complexity is just too much for me. With this one, I already had to find tricks to compensate for the 15-limit. I may be redoing this 8-bit one with piston logic, and I found out that I'll need to add a 9th bit for having a Cin, so it'll be able to suntract.

A couple people have attempted a 16 or even a 32 bit one, but all of them had given up, even before they reached 8 bits. If you look up the wikipedia article on Kogge-Stone, you'll understand. :)
1
08/12/2011 2:31 pm
Level 8 : Apprentice Miner
swampsnail
swampsnail's Avatar
Hi, I just made a 16 bit version. I think it all works properly and gets a result in 10 ticks (though I may have made a mistake somewhere). I'm surprised you managed to make yours so small, mine is about 8 times that size, and even the first 8 bits were about half yours again.
P.S. what material is it made of?
1
08/12/2011 3:13 pm
Level 31 : Artisan Engineer
CX gamer
CX gamer's Avatar
10 ticks would be impossible if you build it using the same 2 tick half adders I used. The reason I didn't make it 16 bit, was because I would need to introduce repeaters, meaning I wouldn't do it in the theoretical perfect 12 ticks, but rather 13.

If you, however, DID do it in 10 ticks, you've redesigned it. Can you upload it somewhere? :)

The building material I used was sponge, with the RDF texture pack, along with the wool system. In this case I used red wool for inputs, blue wool for outputs, light grey wool for powered blocks everywhere and some other wool for insulation.
1
08/12/2011 4:25 pm
Level 8 : Apprentice Miner
swampsnail
swampsnail's Avatar
As regards the material, I used the inputs/outputs used by the RDF pack and was just wondering what general wires were meant to be made of - I checked all the wools and none of them were what you were using. I didn't think of sponge, because I never played minecraft when they still occurred naturally.
1
08/12/2011 4:07 pm
Level 8 : Apprentice Miner
swampsnail
swampsnail's Avatar
www.planetminecraft.com/project/16-bit-carry-lookahead-adder-kogge-stone-radix-2/
I didn't bother inverting propogate signals, rather working with zeros as ones, also I didn't xor the inputs at the beginning, rather at the end, oring them at the beginning (one tick not two). That led to propogate signals which were sometimes on when there should be just a generate, but the generates take priority, so the odd propogates didn't matter. I don't think it's perfect, and with fine tuning a couple of ticks could be shaved off. I deliberately didn't examine yours while making it, because I wanted to work it all out for myself.
1
06/14/2011 4:07 pm
Level 50 : Grandmaster Engineer
berick
berick's Avatar
Definitely the most efficient binary adder I've seen. Good work!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome