Demonstration of a N x N divider with 4-bit numbers.
Description:
This project demonstrates a 4-bit divider capable of performing division on two 4-bit binary numbers. The circuit outputs both the quotient (Q) and the remainder (R) of the division. For instance, when dividing 14 by 3, the quotient will be 4 and the remainder (R) will be 2, as 14 = 3 * 4 + 2.
How It Works:
The divider operates by repeatedly subtracting the divisor from the dividend, shifting bits as necessary to align with binary division principles. The quotient is accumulated as the divisor is successfully subtracted from the dividend without the result going negative. The remainder (R) is what’s left of the dividend after the final subtraction, representing the "rest" of the division. This circuit is designed using a combination of adders and control logic to automate this process, illustrating fundamental digital division concepts.
Implementation of division via subtraction.
Hello!
This is an (almost) 1 Byte Calculator. I put a lot of effort into this, so I hope you like it! The calculator can add, subtract, multiply, and divide. I don't know how to use displays, so I'm sorry about that.
How it works:
Input 2 binary numbers and click the solve button to output another number.
The addition works by, of course, adding the numbers. For example, 11 + 110 = 1001 (3+6=9). The subtraction works by inversing the first digit of the addition. The multiplication works by adding that number when one appears and adding 0's accordingly. 11 x 110 = 110 + 1100 = 10010 ( 3 x 6 = 18 ) And the division works via subtraction, meaning, for example, 16/5 = 5 x 3 + 1. In this equation, 3 is the answer, and 1 is the remainder.
Hello!
Now that I have learned how to use bit splitters, I had an idea to create a hexadecimal calculator! This one can also perform addition, subtraction, multiplication, and division! I highly recommend checking out my binary calculator first, before the hexadecimal one.