1
00:00:00,880 --> 00:00:06,040
In this project, we are going to design a simple calculator in each of us to be synthesized into a

2
00:00:06,040 --> 00:00:06,690
combination of.

3
00:00:08,400 --> 00:00:14,100
The calculator can receive two signed five with binary inputs and perform eight operations on them,

4
00:00:14,100 --> 00:00:21,990
including addition, subtraction, logical, bitwise and logical, bitwise or logical bitwise Annand

5
00:00:22,170 --> 00:00:27,210
logical, bitwise or arithmetic, negation and logical bitwise inverse.

6
00:00:27,990 --> 00:00:34,440
It shows the result on four seven segments using one of the two decimal and hex formats, for example.

7
00:00:35,490 --> 00:00:42,520
Let's assume the two input numbers are one one zero one zero and one zero zero one zero, which represent

8
00:00:42,540 --> 00:00:45,380
minus six and minus 14 respectively.

9
00:00:45,930 --> 00:00:51,660
If the addition operator and output, the small format are selected, then the seven segments should

10
00:00:51,660 --> 00:00:53,040
show minus 20.

11
00:00:55,400 --> 00:01:02,500
Uses light switches on the basis report twins are two signed by binary numbers, the hexadecimal output

12
00:01:02,500 --> 00:01:05,280
format selection and entered operation code.

13
00:01:05,620 --> 00:01:09,130
The first five is light switches represent the first binary number.

14
00:01:09,580 --> 00:01:12,910
The second five is light switches represent the second line error number.

15
00:01:14,230 --> 00:01:21,640
The 12th sleights, which determines the output format hexadecimal zero denotes decimal and one denotes

16
00:01:21,640 --> 00:01:22,120
hex.

17
00:01:23,190 --> 00:01:28,260
The last four slice switches, they know the code of the selected operation as shown in this table,

18
00:01:29,280 --> 00:01:32,030
the four seven segments displayed the result value.

19
00:01:32,430 --> 00:01:39,210
However, as a combination of circuit cannot turn on all the seven segments simultaneously and a sequential

20
00:01:39,210 --> 00:01:41,400
circuit is required for this purpose.

21
00:01:41,610 --> 00:01:44,790
We use the pushbuttons to select a single display at time.

22
00:01:45,990 --> 00:01:51,600
Therefore, the left push-Button enables the Fastjet the down, push-Button enables the second digit,

23
00:01:51,960 --> 00:01:54,570
the push-button enables the third digit.

24
00:01:54,810 --> 00:01:58,410
Finally, the right push-Button enables the sine digit.

25
00:02:00,720 --> 00:02:05,850
In the next lecture, I will explain the structure of the actualised code that implements this simple

26
00:02:05,850 --> 00:02:06,420
calculator.
