Hey Guys, this is 4 Bit Signed Calculator designed using Xilinx ISE 14.7 Features of Calculator:
-
It performs arithmetic operations like π°πππππππ, πππππππππππ, πΌπππππππππππππ, π³πππππππ
-
Two inputs will be given of size 4-Bit each
-
M0 and M1 pins are used to decide which one arithmetic operation out of four must be performed at a time, as, [M1, M0] = Operation
- 00 = Addition
- 01 = Subtraction
- 10 = Multiplication
- 11 = Division
The signs of the input values are decided by two allotted pins as Sign_A and Sign_B as, [Sign_A, Sign_B] = Sign (for value 2), Sign (for value 1)
1) 00 = Positive, Positive
2) 01 = Positive, Negative
3) 10 = Negative, Positive
4) 11 = Negative, Negative