4-bit ALU

Build image: 
In-game name (NO VISITORS! Must be LEARNER rank or higher!): 
Dr_DestructioN16
Builder name(s) and current ranks: 
Dr_DestructioN16, Learner
Creation location: 
-423/53/-491
Machine Features: 

The ALU is built off of an ICA adder which utilizes pistons to make instant carries. The ALU has 11 Opcodes including: OR, NOR, AND, NAND, XOR, XNOR, A+B, A-B, B-A, A+B/2, and A+B*2. The addition is carried out by using a binary adder, subtraction is by inverting one of the inputs of the adder then using the carry in line, dividing by two is carried out by using a bit shifter to shift the output to the right while multiplication by two uses the same logic except it shifts the output to the left. OR is if A or B are on the output is on, NOR is if A or B are on the output is off, AND is if both inputs are on the output is on, NAND is if both outputs are on the output is off, XOR is if one input is on the output is on, while XNOR is if one input is on the output is off.

How To Use: 

First input binary numbers into input A and input B. Then use the opcodes explained above to get different outputs. The opcodes go from 0-10 and you input them into a binary decoder which then affects the ALU to do those functions.

Request status: 
Approved

Comments

Flandyn's picture

It's a very good ALU, and you already got quite a lot of knowledge. You have some major mistakes in your coding. AND gate and NAND gate had swapped labels. The XOR and XNOR didn't work. I found a misplaced repeater and corrected it. I swapped the invert out torch on AND and NAND. And I reprogrammed the XOR and XNOR so it's working. The adder does look familure to a common designed made on another redstone server.

But I see that you have a skill level that reaches the expectations for a Regular, so I'd like to congratulation you on behalf of the server! Congratulation, your promotion request has been approved. You'll find your rank to be Regular the next time you login, and you have now rights to build in the Regular's area.

Best regards
Flandyn

By Flandyn