05-15-2014, 01:29 PM
A 16 bit version of the fastest adder there is, implemented with 0 tick piston logic. It took 2 days to build. Most of that time was spend debugging glitches with the pistons. This build was an experiment, although a kogge stone adder has the fastest real world performance, the size of the circuit slows down the server, so it loses a lot of it's performance gains.
Original CLA equations:
G = A * B
P = A xor B
Go = P * Gi + G
Po = P * Pi
Sum_i = P_i xor G_i-1
My redstone optimised version:
/G = /(A * B)
/P = //(/(A * /(A * B))) * /(B * /(A * B)))
/Go = //((/P + /Gi) * /G)
/Po = /P + /Pi
Sum_i = /(/(/P_i * /(/P_i * /Go_i-1))) * /(/Go_i-1 * /(/P_i * /Go_i-1)))
Original CLA equations:
G = A * B
P = A xor B
Go = P * Gi + G
Po = P * Pi
Sum_i = P_i xor G_i-1
My redstone optimised version:
/G = /(A * B)
/P = //(/(A * /(A * B))) * /(B * /(A * B)))
/Go = //((/P + /Gi) * /G)
/Po = /P + /Pi
Sum_i = /(/(/P_i * /(/P_i * /Go_i-1))) * /(/Go_i-1 * /(/P_i * /Go_i-1)))