6 tick hex CCA, adds up to 32 bit binary :O - Printable Version +- Forums - Open Redstone Engineers (https://forum.openredstone.org) +-- Forum: ORE General (https://forum.openredstone.org/forum-39.html) +--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html) +---- Forum: Completed Projects (https://forum.openredstone.org/forum-21.html) +---- Thread: 6 tick hex CCA, adds up to 32 bit binary :O (/thread-8209.html) |
6 tick hex CCA, adds up to 32 bit binary :O - Magic :^) - 10-31-2015 There's a warp: /warp hexcca So, I finished my hex adder earlier this week. It is actually based on a subtraction algorithm I made up, to skip over the double inversion malarkey of your conventional hex adders. I just wired the inputs to default to 2's complement inversion on the B (-) input and inverted the Cin and Cout to make it an adder. More photos: I tried to draw out the algorithm here: Explanation of the subtraction algorithm: I hope that makes sense? RE: 6 tick hex CCA, adds up to 32 bit binary :O - slugdude - 11-01-2015 I don't even RE: 6 tick hex CCA, adds up to 32 bit binary :O - Chibill - 11-01-2015 Very cool. This can speed up hex computing. RE: 6 tick hex CCA, adds up to 32 bit binary :O - PNWMan - 11-04-2015 What is the point of the end portals? Do they have some sort of special property? RE: 6 tick hex CCA, adds up to 32 bit binary :O - Chibill - 11-04-2015 They put out a value on the compactor. Can't remember what value but. RE: 6 tick hex CCA, adds up to 32 bit binary :O - Legofreak - 11-04-2015 its just the max value(15). its easier than filling a container all the way and it copies with worldedit without losing the entities liek some contiainers would. RE: 6 tick hex CCA, adds up to 32 bit binary :O - Magic :^) - 11-04-2015 Also, from the perspective of all other devices, an ender portal acts exactly like a basic block. you can put redstone on top without it bleeeding, and repeaters don't treat it the same as comparators do either. RE: 6 tick hex CCA, adds up to 32 bit binary :O - PI-Pyru-Pyru - 03-21-2016 I saw it yesterday! This is awesome! Too bad I couldn't try it. RE: 6 tick hex CCA, adds up to 32 bit binary :O - Legofreak - 03-21-2016 please dont bump threads that are 5 months old if it does not contribute to the discussion. RE: 6 tick hex CCA, adds up to 32 bit binary :O - Magic :^) - 07-19-2016 I never really explained the thing that saves a tick on that adder so I'll just mention it briefly here: I purposely bleed the CCA carry tower's generate line with the cancel line and use subtraction mode comparators. The way I bled it was so that the output of the borrow calculation would always be either 0 or 2 signal strength. Because I was guaranteed a consistent sig. strength with this technique, I could use the output directly to do -1 on later parts that depended on that 'borrow' evaluation. So yeah, saved a tick. |