﻿1
00:00:05,760 --> 00:00:13,320
‫Welcome to the Alieu demonstration with the Arti development board we have four different seven segment

2
00:00:13,320 --> 00:00:15,470
‫displays we're using on the breadboard.

3
00:00:15,480 --> 00:00:21,240
‫The first one is representing that they are the opcode input to the Alieu.

4
00:00:21,240 --> 00:00:28,290
‫The second one is representing the B of the input to the Alieu And we also have the two at the bottom

5
00:00:28,590 --> 00:00:34,890
‫which are representing the result of the Alieu operation and all the different segments are tied together

6
00:00:35,310 --> 00:00:40,200
‫through a 56 ohm resistor that is then tied into the J.

7
00:00:40,230 --> 00:00:43,050
‫P. port of the Arti development board.

8
00:00:44,030 --> 00:00:52,690
‫Each of the digits are controlled through 16 different and n 2 and 3:47 transistors which are fed with

9
00:00:52,690 --> 00:01:01,350
‫a 470 ohm resistor and each of these are tied back into the J.C in Jaydee on ports of the already development

10
00:01:01,350 --> 00:01:02,450
‫board.

11
00:01:02,710 --> 00:01:10,100
‫The order to build the board also has an external switch connected to ground and 3.3 as well as the

12
00:01:10,100 --> 00:01:12,190
‫output is going into Io's zero.

13
00:01:12,350 --> 00:01:18,260
‫This is used to determine whether you're going to be adding or subtracting the value that you're setting

14
00:01:19,040 --> 00:01:23,540
‫in the opcode or the OP could be area.

15
00:01:23,550 --> 00:01:29,580
‫We also have the different slides which is we're using the first one this switch three is used to determine

16
00:01:29,580 --> 00:01:37,620
‫whether you're setting the value on a or b and then switches to zero are used to determine your opcode

17
00:01:37,710 --> 00:01:46,410
‫input to your Alieu your button three is used to execute the Alieu your button 0 1 and 2 are used to

18
00:01:46,410 --> 00:01:49,080
‫add either 1 10 or 100.

19
00:01:49,080 --> 00:01:51,450
‫So let's go through an example.

20
00:01:51,570 --> 00:01:58,560
‫We have our first set the value of a day by pressing the button.

21
00:01:58,890 --> 00:01:59,340
‫We went.

22
00:01:59,340 --> 00:02:00,530
‫We were in subtraction mode.

23
00:02:00,540 --> 00:02:02,520
‫So now there is a negative one.

24
00:02:02,700 --> 00:02:04,770
‫If we switch it will now start adding.

25
00:02:04,770 --> 00:02:06,580
‫So now we're a positive one.

26
00:02:06,750 --> 00:02:14,130
‫If we press the button two we go to up to 31 for president multiple times we add by 10 or we can also

27
00:02:14,130 --> 00:02:19,430
‫go all the way up to 60 for a B.

28
00:02:19,460 --> 00:02:26,390
‫We'll set that in order to set or B we need to set our switch three down to zero in press or one we

29
00:02:26,390 --> 00:02:27,400
‫can increment that.

30
00:02:27,590 --> 00:02:29,080
‫So now are they.

31
00:02:29,210 --> 00:02:31,880
‫Is it a value 60 or B.

32
00:02:31,880 --> 00:02:33,640
‫Is it a value 5.

33
00:02:33,680 --> 00:02:38,800
‫And currently our result is it is zero because we haven't done any Alieu operations.

34
00:02:38,810 --> 00:02:45,800
‫So the first operation we're going to do is set our over up close to zero and press button three.

35
00:02:45,900 --> 00:02:50,970
‫This will load result into the result.

36
00:02:50,990 --> 00:02:55,050
‫But what we have in our age should be lowered into our result register.

37
00:02:55,080 --> 00:03:01,260
‫So by pressing that we can see that our value is now represented in our register.

38
00:03:01,260 --> 00:03:03,290
‫You can see the 60 gets transferred.

39
00:03:03,330 --> 00:03:16,140
‫If we do a 0 0 1 we'll move the B value our 5 is now in a result register if we do a 0 1 0 0 1 0.

40
00:03:16,530 --> 00:03:21,360
‫We now have the result value of 65 because we do it again or a plus or B.

41
00:03:21,570 --> 00:03:30,770
‫So 60 plus five if we do are 0 1 1 we now be taking a minus be so we're going to have 60 minus 5 which

42
00:03:30,770 --> 00:03:33,660
‫gives us the value of 55 in our result register.

43
00:03:34,010 --> 00:03:39,690
‫If we do a 1 0 0 that will load all zeros in our result register.

44
00:03:39,800 --> 00:03:46,130
‫So 1 0 0 we now load all zeroes into our result register.

45
00:03:46,130 --> 00:03:53,970
‫If we do a 1 0 1 this will load all ones which since we're representing these unsigned notation is an

46
00:03:53,970 --> 00:04:01,510
‫actual negative one value and that is a demonstration of Alieu running on the arty development board.

