post #1 of 1
Thread Starter 
It's not quite on the level of the unfinished ALU or Enterprise we saw in the news articles recently. But after two failed designs and a good couple of hours of work i got a small binary calculator working. It only adds and is quite large, but i had no prior experience in this type of design and only started using redstone yesterday.

I want to give serious thanks to ZHoob (pictured below.) Guy helped me debug there at the end and we got it hammered out in only 10 or 15 minutes after i finished building the design. Only debugging before that point was thought experimentation.





Calculator takes two inputs : two, double digit, binary, numbers. Expressed by manipulating the levers. The output are torches on the opposite end. The torches are 1 = on and 2 = off, of course.

The logic works by accepting two inputs at a time. The rightmost digits first. Taking those two digits we add as in traditional math. To do this first we split the inputs into two sets and sort them. From there we check one set to see if both inputs are on. If so we skip over and add one to the input of the carrying circuit. If not we take the output and branch it off, it is run through a NOT gate (reverses charge on the line) and into the input of another AND gate. The other input on this AND gate is connected to the two lines which are merged into a single line for this gate. If there is power on either it'll add one to the first digit of the number without question (since no carrying is possible.) On the carrying circuit we have basically the same addition circuit. One of the inputs being the result of the next digits to be added after going through my math circuit, and the other being our line carrying the signal. After going through the math circuit it adds numbers to the digits appropriately.



Picture and description exclude a bunch of components used to overcome limitations and rules on redstone (electricity) in the game.

Forgive any inaccuracies in my post.

------------------------------------------------------------------------

Edit :

While I was typing this post...





Little bastard boxed me into my own building. Then mocked me with signs.





Edited by Licht - 10/2/10 at 12:00am
Lee XT
(19 items)
 
Leon
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Revodrive 3 120GB 
Hard DriveCoolingOSMonitor
OCZ Vertex 4 256GB Xigmatec Rifle 120mm Windows 8 Pro MCE Acer H213H 21.5" 
MonitorKeyboardPowerCase
Acer H213H 21.5" Razer Arctossa Ultra 600W Limited Edition NZXT Black Steel 
MouseMouse PadAudio
Roccat Kone[+] Prometric Testing Center Renewal Gift Mouse Pad Realtek HD Audio 
CPUGraphicsRAMHard Drive
Phenom II X4 N970 2.2GHZ Radeon HD 6650m 8GB DDR3 1066MHZ Mushkin Callisto Deluxe 256GB 
Optical DriveOSMonitorPower
DVD Super Multi Windows 8 Pro Acer 15.6" 1366x768 Hipro 19v 4.74a 
MouseAudioOther
Razer Orochi Realtek HD Audio Intel Centrino 6230 Wireless-N + Bluetooth 3.0HS 
  hide details  
Reply
Lee XT
(19 items)
 
Leon
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Revodrive 3 120GB 
Hard DriveCoolingOSMonitor
OCZ Vertex 4 256GB Xigmatec Rifle 120mm Windows 8 Pro MCE Acer H213H 21.5" 
MonitorKeyboardPowerCase
Acer H213H 21.5" Razer Arctossa Ultra 600W Limited Edition NZXT Black Steel 
MouseMouse PadAudio
Roccat Kone[+] Prometric Testing Center Renewal Gift Mouse Pad Realtek HD Audio 
CPUGraphicsRAMHard Drive
Phenom II X4 N970 2.2GHZ Radeon HD 6650m 8GB DDR3 1066MHZ Mushkin Callisto Deluxe 256GB 
Optical DriveOSMonitorPower
DVD Super Multi Windows 8 Pro Acer 15.6" 1366x768 Hipro 19v 4.74a 
MouseAudioOther
Razer Orochi Realtek HD Audio Intel Centrino 6230 Wireless-N + Bluetooth 3.0HS 
  hide details  
Reply