Professional Documents
Culture Documents
Introduction
In this project, I will show a simple rolling door system on FPGA by using knowledge in
Digital system design. The system will be a simulation of real system to control the operation
of rolling door , which will be implemented on Zedboard. Result of the project is a program
can be imported to a Zedboard FPGA, we can see the operation of button and leds to know how
does it work . The project is implemented by using VHDL language, Vivado program, and SDK
program.
The report is a summary of my working process through completing the project. The report
contains four main part. The first part is the project motivations. Next is requirements and
specifications of the digital system. The third is designing procedure, include both Hardware
and software designing process. Also in this chapter, the explanation of how the system works
and how to control the system will be shown. Finally, I will have some comments and
conclusions on the result of my project. These conclusions include what I have done, what is
left for the system to be improved.
This project although not too complex , so I think it is a good exercise to practice and cover
what I have learnt in the subject.
2
Chapter 1: Project Motivations
Digital system design is a useful and important subject for an engineer. This course deals
with principles of complex digital system design by means of development environments,
which allow design automation based on hardware description languages. The different
modelling levels and approaches to digital system design are considered based on complex
digital components. Digital system design also provides several advantages as: It is cheaper
and easier to design, easier to store, transmit and manipulate information, devices become
smaller and faster.
Rolling door is very popular in the real life but to design real product very difficult
instead I will simulate the operation of rolling door by using a digital system on Zedboard.
Almost feature of this system can be represent by operation of leds and button on board.
3
• Buttons on borard will represent the operation of door ( open door, close door,
stop,etc…)
• Sensor to realize when the door collision with the barrier can be represent by
press right button.
4
After that press F6 to validate design and create the HDL wrapper, we add the constraint
for connection of external leds with Pmod pins as follow:
After finished all set up, generate the bitstream and launch SDK for software design step.
Step 2:If the door isn’t the lock status it return the status of button
which already was pressed and if the door is the lock status after that
press one more time the status change from lock to stop.
Step 3: When the door is not locked, read input button from GPIO to
determine the operation of door
5
Step 4: Based on the status is determined to operate suitable
controlling
Step 5 : Update value of leds on board when door operate work ( close
door all of 8 leds turn on one by one , open door all of 8 leds turn off one
by one , ….)
6
Step 6: Simulate operation of motor base on status of door ( when door
is opened the external leds connect with Pmod pin JA1 turn on, door
is closed the external leds connect with Pmod pin JA2 turn on after
finish open or close two leds will turn off )
The result of the project is a program can be uploaded and run on FPGA Zynq Zedboard.
The program is done by using Vivado and VHDL with all system provided IP. The program
successfully simulate operation of rolling door. Characteristics that successful being
simulated are up – down operation, lock ,stop, warring feature and motors state.
The simulated of project quiet similar to the operation of real rolling door. But we can
some benefit if use the sensor and a external led instead of right button and leds on board.
So, I hope that the project can be improve to have the good application.
Among with the imperfection, the final product still a good example to practice Vivado
and VHDL and thank you Mr. LÊ HẢI SÂM help me some knowledge to complete this
project.