We generated the article IP corresponding to our vending machine in the last lecture here, we are going
to generate the FPGA bitstream and explore our design on the basis Trible.
Our design consists of three parts, the main part is the vending machine, Arpit.
As we are going to connect it's inputs to push buttons, we need a bouncer and the pulse generator for
itchin.
These IPIS convertibles, the input signal into a single cycle pulse ready to be used by the vending
machine i.p.
The outputs of the vending machine are connected to the LSD on the board, the vending machine generates
a single cycle pulse on each output whenever it wants to activate that output.
These pulses cannot be seen due to their narrow with.
Therefore, we will use pulse detector epis to detect single cycle pulses and turn on the ladies.
Until we reset them.
We use for this to show our design outputs and five push buttons to provide inputs for our design.
This diagram shows these connections on the board.
Now, let's complete our vending machine circuit involving.
Create a new wave of the project with the name of winning, underscore machine dashboard and select
the basis to report as a target FPGA platform.
Create a new blog design.
And for Ipis to deliver the repository, including the bouncer, pulse detector, pulse generator and
the vending machine.
You can find Ipis in the resources folder attached to this.
At the vending machine IPE to the diagram area.
Make the clock and supports external.
And a the bouncer and a pulse generator, IP.
Connect them together and then to Nicole, underscore in.
Make the demands for input external and change its name to Niccolò underscoring.
Do the same for the other employees, you can copy and paste the required IPIS.
You can click on the generate Layon icon to rearrange the eyepiece automatically for a better view.
Now for the Outsports, first adiposity actor, IP and collector to the candy underscore out, out.
Connect it, research input to the pulse generator output that is connected to underscore in.
Make the pulse generator out to the external and rename that properly.
Do the same for the Nicole underscore out, out.
For the diamond rescore out and to pass a six hour ipis to connect these ipis to the diamond rescore
out, we need a help like.
As our pulse generator, except one single bit, but the time underscore outport has to its.
To extract the first bit of the dive, underscore out, you can add a slice i.p to our design.
Double click on the added IP and configure that to connect the first bit of its two bit input to its
one bit output, connect the configured IP to the Duyne underscore out and one of the pulse generators.
Then add another slice IP to get the second it first, configure that and then connect that as shown
here.
Now, Vinnie, the constraint might create a constant fight and copy the constraints into the creative
fight, you can find a constant fight in the resources folder attached to the structure.
Now generate the output products and still recover after that, generate the bitstream and program the
world.
This video is the last lecture explaining how to design a vending machine controller, therefore the
next lecture will give you some exercises to review and master the techniques and coding styles you
have learned throughout this section.
These are our takeaway messages, using a pass detector can help to visualize and narrow pulse on analogy.
The slice IP can be used to extract a range of bits from a wide width port.
Now, the quiz question.
Customize a slice IP that receives an AP data and returns the bits from the third position up to the
fifth position.