﻿1
00:00:05,220 --> 00:00:14,250
‫Welcome to bous multiplication algorithm implementation on the ARDE development board we have four different

2
00:00:14,430 --> 00:00:18,060
‫seven segment displays we're using on the breadboard.

3
00:00:18,060 --> 00:00:21,830
‫The first one is representing our input 1.

4
00:00:21,930 --> 00:00:28,590
‫The second one we have representing our input to and the bottom to 7 segment displays are representing

5
00:00:28,590 --> 00:00:29,520
‫the product.

6
00:00:29,550 --> 00:00:35,600
‫So to our rhythm This is an algorithm that we use to multiply to sign the numbers and what that means

7
00:00:35,600 --> 00:00:42,750
‫it supports multiplication of two positive numbers to negative numbers or one positive and one negative.

8
00:00:42,750 --> 00:00:48,990
‫And so what we're doing is taking the two products we see the two numbers we see and the top left and

9
00:00:48,990 --> 00:00:52,900
‫right we're going to multiply together and display them in the bottom result.

10
00:00:53,340 --> 00:01:01,210
‫And we have on the board several different ways to input values into our input one input to the first

11
00:01:01,220 --> 00:01:04,270
‫we have is our select switch 3.

12
00:01:04,310 --> 00:01:11,760
‫This is used to indicate whether we're going to be adding or subtracting from input 1 or input 2.

13
00:01:11,780 --> 00:01:20,720
‫We have our switch 0 which indicates whether we're adding or subtracting and we have our button 3 which

14
00:01:20,750 --> 00:01:25,680
‫is perform the multiplication and button to add or subtract 100.

15
00:01:25,820 --> 00:01:34,070
‫But one is add or subtract 10 and Button 0 is add or subtract 1 and for the set up all of the segments

16
00:01:34,070 --> 00:01:41,990
‫on the 7 segment display are pulled through or tied together and through a 56 ohm resistor into the

17
00:01:41,990 --> 00:01:44,230
‫J Pieman port.

18
00:01:44,420 --> 00:01:53,210
‫We have all the digits selects are tied through the J.C in JD PMI ports through an LP and two and three

19
00:01:53,210 --> 00:01:58,430
‫3:51 transistor with a 470 ohm resistor connected to the base.

20
00:01:58,530 --> 00:02:04,070
‫And so for a demonstration let's just put two numbers on the inputs A and B.

21
00:02:04,070 --> 00:02:09,890
‫So right now if I had pressed button three to start a run the multiplication will notice that nothing

22
00:02:09,890 --> 00:02:10,540
‫happens.

23
00:02:10,640 --> 00:02:12,820
‫That's because 0 time 0 0.

24
00:02:12,860 --> 00:02:14,380
‫So that is correct.

25
00:02:14,450 --> 00:02:16,060
‫Let's start adding some values.

26
00:02:16,060 --> 00:02:21,570
‫So now we have a value for an end for a slider switch zero down.

27
00:02:21,620 --> 00:02:27,780
‫We can now be subtracting so we'll go with a 4 and we'll switch over to or input one and make it into.

28
00:02:27,790 --> 00:02:32,940
‫So an easy omega 3 and easy multiplication four times three is equal 12.

29
00:02:33,080 --> 00:02:34,330
‫But see the result.

30
00:02:34,550 --> 00:02:37,930
‫And we can see the 12 shows up in the result register.

31
00:02:37,940 --> 00:02:39,670
‫So let's try a negative number.

32
00:02:39,890 --> 00:02:47,540
‫So let's make our it a negative four times and negative 10.

33
00:02:47,620 --> 00:02:51,110
‫So are negative 10 times four which would be a negative 40.

34
00:02:51,160 --> 00:02:57,280
‫So if we press the multiplication you'll see we now have a negative 40 show up in the result register

35
00:02:57,640 --> 00:02:59,700
‫and we can do any combination of numbers.

36
00:02:59,770 --> 00:03:01,870
‫We can even make a digit be.

37
00:03:01,870 --> 00:03:04,140
‫So let's switch select.

38
00:03:04,150 --> 00:03:07,270
‫So we're now working with the digit B.

39
00:03:07,670 --> 00:03:11,110
‫And let's move it down so we'll go to a negative.

40
00:03:11,500 --> 00:03:16,160
‫Negative five negative 10 times negative five is a positive 50.

41
00:03:16,180 --> 00:03:22,900
‫So let's press a button three and we'll see we now have a positive 50 in our result register and we

42
00:03:22,900 --> 00:03:29,860
‫can do any different combinations so I'm going to make just two wildly random numbers just kind of adding

43
00:03:30,220 --> 00:03:31,800
‫all kinds of crazy.

44
00:03:31,870 --> 00:03:37,780
‫We have negative 640 negative 6:31 times.

45
00:03:38,980 --> 00:03:41,040
‫Two hundred and twenty five.

46
00:03:41,030 --> 00:03:45,770
‫Let's press the button and that is equal to negative.

47
00:03:45,890 --> 00:03:49,170
‫One hundred and forty one thousand nine hundred seventy five.

48
00:03:49,170 --> 00:03:54,860
‫And so any different combination we have an input and input B we can multiply them together and give

49
00:03:54,860 --> 00:04:00,830
‫us the result output and the beauty of using boost our algorithm is that we save instead of using the

50
00:04:01,130 --> 00:04:04,540
‫actual betting multipliers inside the FPGA chip.

51
00:04:04,580 --> 00:04:08,050
‫We're just using design logic so it doesn't cost us as much.

52
00:04:08,060 --> 00:04:12,730
‫And that is a demonstration of boose algorithm running on the Arti development board.

