DE2-115 Control Panel (Part I) -...
Transcript of DE2-115 Control Panel (Part I) -...
![Page 1: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/1.jpg)
DE2-115 Control
Panel - Part I
數位電路實驗
TA: 吳柏辰
Author: Trumen
![Page 2: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/2.jpg)
Outline
• Introduction to DE2-115 Control Panel
• Control Panel Setup
• Controlling the LEDs, 7-segment Displays, and
LCD Display
• Switches and Push-buttons
2
![Page 3: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/3.jpg)
Introduction to DE2-115
Control Panel
3
![Page 4: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/4.jpg)
Introduction to Control Panel
• The DE2-115 board comes with a Control
Panel facility that allows users to access
various components on the board from a host
computer.
• The host computer communicates with the board
through a USB connection.
• The facility can be used to verify the functionality of
components on the board or be used as a debug
tool while developing RTL code.
4
![Page 5: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/5.jpg)
Control Panel Setup
5
![Page 6: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/6.jpg)
Control Panel Setup
• The Control Panel Software Utility is located in
"/DE2_115_tools/DE2_115_control_panel/" in
the DE2-115 System CD.
• It's free of installation, just copy the whole
folder to your host computer and launch the
control panel by executing the
"DE2_115_ControlPanel.exe".
6
![Page 7: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/7.jpg)
Activate the Control Panel (1/2)
1. Make sure Quartus II 10.0 or later version is installed
successfully on your PC.
2. Set the RUN/PROG switch to the RUN position.
3. Connect the supplied USB cable to the USB Blaster
port, connect the 12V power supply, and turn the
power switch ON.
4. Start DE2_115_ControlPanel.exe on the host
computer. The Control Panel user interface will appear.
7
![Page 8: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/8.jpg)
Activate the Control Panel (1/2)
8
![Page 9: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/9.jpg)
Activate the Control Panel (2/2)
5. The DE2_115_ControlPanel.sof bit stream is loaded
automatically as soon as the
DE2_115_control_panel.exe is launched.
6. In case the connection is disconnected, click on
CONNECT where the .sof will be re-loaded onto the
board.
7. Note, the Control Panel will occupy the USB port until
you close that port; you cannot use Quartus II to
download a configuration file into the FPGA until the
USB port is closed.
9
![Page 10: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/10.jpg)
10
DE2-115 Control Panel Concept
Implemented in
the FPGA board
Active on the
host computer
![Page 11: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/11.jpg)
Controlling the LEDs,
7-segment Displays,
and LCD Display
11
![Page 12: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/12.jpg)
12
![Page 13: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/13.jpg)
13
![Page 14: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/14.jpg)
14
![Page 15: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/15.jpg)
Switches and Push-buttons
15
![Page 16: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/16.jpg)
16
![Page 17: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/17.jpg)
Push-buttons
• Each of these buttons is debounced using a
Schmitt Trigger circuit.
• Since the push-buttons are debounced, they are
appropriate for using as reset inputs in a circuit.
17
![Page 18: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/18.jpg)
Debounce Logic Circuit
• Level-sensitive v.s. edge-sensitive
18
Edge-sensitiveLevel-sensitive
0 1 2 3
7 6 5 4
button input (bi)
button state (bs)bi==0 bi==0 bi==0
bi==1bi==1bi==1
bi==1
bi==1
bi==0
bi==0
![Page 19: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/19.jpg)
Switches
• Switches are not debounced, and are
assumed for use as level-sensitive data inputs
to a circuit.
19
![Page 20: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/20.jpg)
The End.
Any question?
![Page 21: DE2-115 Control Panel (Part I) - 數位電路實驗dclab.ee.ntu.edu.tw/static/Document/Exp1/Exp1_3.pdf · Outline •Introduction to DE2-115 Control Panel •Control Panel Setup •Controlling](https://reader034.fdocuments.net/reader034/viewer/2022042507/5a79961a7f8b9a770a8d560f/html5/thumbnails/21.jpg)
Reference
1. "DE2-115 User Manual" by Terasic
Technologies Inc.
21