ScratchData LogoScratchData
Back to JavaThirteen's profile

Binary Addition (64-bit)

JAJavaThirteen•Created August 22, 2016
Binary Addition (64-bit)
2
2
164 views
View on Scratch

Description

Today I started digging deeper into how computers work. Not simply learning what parts do what, learning HOW those parts do what the do. I have a book with good illustrations on how something called a "full adder" works. A full adder is a part of the CPU that adds two binary numbers together. They can be 4-bit, 8-bit, 16-bit, etc, but here I made a 64-bit adder. A 64-bit full adder uses 16 4-bit adders to add 8-bit numbers. A 4-bit full adder uses a cascade of half adders to add binary numbers. Half adders are composed of two and gates, one or gate, and one not gate to get the result of two single-bit binary numbers (e.g. they can only be 1 or 0). Here I have put the 64-bit full adder, the 4-bit full-adder, the half-adder, and each logic gate into its own custom block so that I could create a calculator.

Project Details

Project ID118869725
CreatedAugust 22, 2016
Last ModifiedSeptember 3, 2016
SharedAugust 22, 2016
Visibilityvisible
CommentsAllowed