Sitemap
HyunsuYu

HyunsuYu

As a game developer with Unity and C# as the main players, I've been working on a number of game development projects and side projects

1 bit full adder

3 min readMay 30, 2024

This post deals with circuits that find the sum of two numbers at the bit level.

There will be many types of circuits related to this, but this time it deals with a 1-bit full adder.

A 1-bit full adder can process 1 bit of addition as its name is with only one circuit. However, if a 1-bit full adder is connected, it can be expanded as much as it wants.

Of course, this type of adder may not be a very good suntech in this respect because N-bit operations require N-cycle.

Press enter or click to view image in full size
Press enter or click to view image in full size

Now let’s do 4-bit addition with this 1-bit full adder.

Implementing this on the circuit is as follows.

Press enter or click to view image in full size

A large square with five lines exiting the middle is a 1-bit full adder.

Get HyunsuYu’s stories in your inbox

Join Medium for free to get updates from this writer.

The two squares above the 1-bit full adder are switches, and the above circuit will express binary values through them.

The leftmost part of the circuit continues to give low voltage, because C_in of the first 1-bit full adder must be given a value of 0.

You will see that there are two large modules underneath the image.

Among them, the one on the left is a module called “BCD to 7-Segment Display”. That is, it takes a 4-bit value as an input, converts it into signals suitable for a 7-Segment display as an output, and sends it out.

The display with the numbers on the right is “7-Segment Display”. This display will show the calculated result in a visualized way. You can express a single digit value in hexadecimal.

​

Now let’s test the 4-chain full adder.

Examples

Press enter or click to view image in full size
3 + 4
Press enter or click to view image in full size
10 + 5
Press enter or click to view image in full size
7 + 3

--

--

HyunsuYu
HyunsuYu

Written by HyunsuYu

As a game developer with Unity and C# as the main players, I've been working on a number of game development projects and side projects