Presentation is loading. Please wait.

Presentation is loading. Please wait.

DE2-115 Control Panel - Part I

Similar presentations


Presentation on theme: "DE2-115 Control Panel - Part I"— Presentation transcript:

1 DE2-115 Control Panel - Part I
數位電路實驗 TA: 吳柏辰 Author: Trumen

2 Outline Introduction to DE2-115 Control Panel Control Panel Setup
Controlling the LEDs, 7-segment Displays, and LCD Display Switches and Push-buttons

3 Introduction to DE2-115 Control Panel

4 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.

5 Control Panel Setup

6 Control Panel Setup The Control Panel Software Utility is located in "/DE2_115_tools/DE2_115_control_panel/" in the DE 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".

7 Activate the Control Panel (1/2)
Make sure Quartus II 10.0 or later version is installed successfully on your PC. Set the RUN/PROG switch to the RUN position. Connect the supplied USB cable to the USB Blaster port, connect the 12V power supply, and turn the power switch ON. Start DE2_115_ControlPanel.exe on the host computer. The Control Panel user interface will appear.

8 Activate the Control Panel (1/2)

9 Activate the Control Panel (2/2)
The DE2_115_ControlPanel.sof bit stream is loaded automatically as soon as the DE2_115_control_panel.exe is launched. In case the connection is disconnected, click on CONNECT where the .sof will be re- loaded onto the board. 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.

10 DE2-115 Control Panel Concept
Active on the host computer Implemented in the FPGA board

11 Controlling the LEDs, 7-segment Displays, and LCD Display

12

13

14

15 Switches and Push-buttons

16

17 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.

18 Debounce Logic Circuit
Level-sensitive v.s. edge-sensitive button input (bi) Level-sensitive Edge-sensitive bi==1 bi==0 bi==0 bi==0 button state (bs) 1 2 3 bi==1 會使用edge-sensitive主要是因為按一次button只會希望送出一次信號 所以(3) 可當作是edge-sensitive的state 因為整個過程只會有一個cycle在(3),這行為就是edge-sensitive要的 雖然可能反應速度會慢一點,但因為clk訊號很快 (~MHz),所以幾乎是感覺不到delay bi==0 bi==1 bi==1 bi==1 7 6 5 4 bi==0

19 Switches Switches are not debounced, and are assumed for use as level-sensitive data inputs to a circuit.

20 The End. Any question?

21 Reference "DE2-115 User Manual" by Terasic Technologies Inc.


Download ppt "DE2-115 Control Panel - Part I"

Similar presentations


Ads by Google