1
00:00:01,490 --> 00:00:08,330
We generated the article IP corresponding to our vending machine in the last lecture here, we are going

2
00:00:08,330 --> 00:00:13,460
to generate the FPGA bitstream and explore our design on the basis Trible.

3
00:00:17,230 --> 00:00:21,800
Our design consists of three parts, the main part is the vending machine, Arpit.

4
00:00:22,930 --> 00:00:30,160
As we are going to connect it's inputs to push buttons, we need a bouncer and the pulse generator for

5
00:00:30,160 --> 00:00:30,490
itchin.

6
00:00:32,260 --> 00:00:38,830
These IPIS convertibles, the input signal into a single cycle pulse ready to be used by the vending

7
00:00:38,830 --> 00:00:39,450
machine i.p.

8
00:00:40,840 --> 00:00:47,140
The outputs of the vending machine are connected to the LSD on the board, the vending machine generates

9
00:00:47,140 --> 00:00:52,150
a single cycle pulse on each output whenever it wants to activate that output.

10
00:00:52,660 --> 00:00:56,770
These pulses cannot be seen due to their narrow with.

11
00:00:58,340 --> 00:01:05,090
Therefore, we will use pulse detector epis to detect single cycle pulses and turn on the ladies.

12
00:01:05,960 --> 00:01:07,100
Until we reset them.

13
00:01:11,590 --> 00:01:18,130
We use for this to show our design outputs and five push buttons to provide inputs for our design.

14
00:01:18,460 --> 00:01:21,600
This diagram shows these connections on the board.

15
00:01:32,950 --> 00:01:35,950
Now, let's complete our vending machine circuit involving.

16
00:01:38,210 --> 00:01:44,470
Create a new wave of the project with the name of winning, underscore machine dashboard and select

17
00:01:44,470 --> 00:01:47,260
the basis to report as a target FPGA platform.

18
00:02:08,450 --> 00:02:09,800
Create a new blog design.

19
00:02:19,270 --> 00:02:28,010
And for Ipis to deliver the repository, including the bouncer, pulse detector, pulse generator and

20
00:02:28,010 --> 00:02:28,840
the vending machine.

21
00:02:29,790 --> 00:02:32,910
You can find Ipis in the resources folder attached to this.

22
00:02:39,150 --> 00:02:41,700
At the vending machine IPE to the diagram area.

23
00:02:44,190 --> 00:02:47,040
Make the clock and supports external.

24
00:02:48,560 --> 00:02:51,560
And a the bouncer and a pulse generator, IP.

25
00:03:13,910 --> 00:03:17,500
Connect them together and then to Nicole, underscore in.

26
00:03:23,470 --> 00:03:28,480
Make the demands for input external and change its name to Niccolò underscoring.

27
00:03:40,070 --> 00:03:45,380
Do the same for the other employees, you can copy and paste the required IPIS.

28
00:05:11,280 --> 00:05:16,880
You can click on the generate Layon icon to rearrange the eyepiece automatically for a better view.

29
00:05:58,540 --> 00:06:06,460
Now for the Outsports, first adiposity actor, IP and collector to the candy underscore out, out.

30
00:06:19,700 --> 00:06:26,220
Connect it, research input to the pulse generator output that is connected to underscore in.

31
00:06:28,700 --> 00:06:32,570
Make the pulse generator out to the external and rename that properly.

32
00:06:42,230 --> 00:06:45,320
Do the same for the Nicole underscore out, out.

33
00:07:10,740 --> 00:07:16,650
For the diamond rescore out and to pass a six hour ipis to connect these ipis to the diamond rescore

34
00:07:16,650 --> 00:07:18,450
out, we need a help like.

35
00:07:19,610 --> 00:07:26,270
As our pulse generator, except one single bit, but the time underscore outport has to its.

36
00:07:48,630 --> 00:07:54,630
To extract the first bit of the dive, underscore out, you can add a slice i.p to our design.

37
00:07:57,380 --> 00:08:03,650
Double click on the added IP and configure that to connect the first bit of its two bit input to its

38
00:08:03,650 --> 00:08:10,040
one bit output, connect the configured IP to the Duyne underscore out and one of the pulse generators.

39
00:08:11,090 --> 00:08:18,380
Then add another slice IP to get the second it first, configure that and then connect that as shown

40
00:08:18,380 --> 00:08:18,740
here.

41
00:09:08,430 --> 00:09:14,520
Now, Vinnie, the constraint might create a constant fight and copy the constraints into the creative

42
00:09:14,520 --> 00:09:18,990
fight, you can find a constant fight in the resources folder attached to the structure.

43
00:09:45,460 --> 00:09:51,700
Now generate the output products and still recover after that, generate the bitstream and program the

44
00:09:51,700 --> 00:09:52,020
world.

45
00:10:53,660 --> 00:10:59,960
This video is the last lecture explaining how to design a vending machine controller, therefore the

46
00:10:59,960 --> 00:11:05,930
next lecture will give you some exercises to review and master the techniques and coding styles you

47
00:11:05,930 --> 00:11:07,520
have learned throughout this section.

48
00:11:10,460 --> 00:11:17,530
These are our takeaway messages, using a pass detector can help to visualize and narrow pulse on analogy.

49
00:11:18,410 --> 00:11:23,870
The slice IP can be used to extract a range of bits from a wide width port.

50
00:11:27,980 --> 00:11:29,050
Now, the quiz question.

51
00:11:30,420 --> 00:11:38,160
Customize a slice IP that receives an AP data and returns the bits from the third position up to the

52
00:11:38,170 --> 00:11:39,060
fifth position.
