In this project, we are going to design a simple calculator in each of us to be synthesized into a
combination of.
The calculator can receive two signed five with binary inputs and perform eight operations on them,
including addition, subtraction, logical, bitwise and logical, bitwise or logical bitwise Annand
logical, bitwise or arithmetic, negation and logical bitwise inverse.
It shows the result on four seven segments using one of the two decimal and hex formats, for example.
Let's assume the two input numbers are one one zero one zero and one zero zero one zero, which represent
minus six and minus 14 respectively.
If the addition operator and output, the small format are selected, then the seven segments should
show minus 20.
Uses light switches on the basis report twins are two signed by binary numbers, the hexadecimal output
format selection and entered operation code.
The first five is light switches represent the first binary number.
The second five is light switches represent the second line error number.
The 12th sleights, which determines the output format hexadecimal zero denotes decimal and one denotes
hex.
The last four slice switches, they know the code of the selected operation as shown in this table,
the four seven segments displayed the result value.
However, as a combination of circuit cannot turn on all the seven segments simultaneously and a sequential
circuit is required for this purpose.
We use the pushbuttons to select a single display at time.
Therefore, the left push-Button enables the Fastjet the down, push-Button enables the second digit,
the push-button enables the third digit.
Finally, the right push-Button enables the sine digit.
In the next lecture, I will explain the structure of the actualised code that implements this simple
calculator.