2020年1月29日 星期三

Mechanics of Altera DE2 Projects

Mechanics of Altera DE2 Projects


Download: design files
There are four steps involved in programming the DE2 board
  1. Setup project
  2. Import assignments
  3. Compile project
  4. Program the DE2 board

Setup project

To setup a new project, first copy any existing design files into a new folder. For this project, download and unpack design files from diglab1.zip
Select File - New Project Wizard from the top menu.
The New Project Wizard helps you create a new project and preliminary project settings, including the following:
You can change the settings for an existing project and specify additional project-wide settings with the Settings command (Assignments menu). You can use the various pages of the Settings dialog box to add functionality to the project.

Import Assignments

Select Assignments - Import Assignments ... from the top menu.
The DE2 board has a default set of pin assignments (and associated pin names) in DE2_pin_assignments.csv. Your life will be much easier if you import this file and use the variable names assigned by the developer.

Compile Project

Choose Processing – Start Compilation from the top menu. The compilation processing may take awhile. Below is a screen capture after compilation.

Program the DE2 Board

Choose Tools – Programmer.
Make sure the USB cable is in place, and USB Blaster is the selected device. Check the Program/Configure box if not already checked.
If the USB Blaster is not the selected hardware device, you can press the Hardware Setup button

Hardware Setup

This dialog allows you to select a programming hardware setup to use when programming devices.
The button labeled Add Hardware ... is used to add a new hardware driver, not to add a new selection. Just select a hardware configuration from the list to highlight it, then press the Close button.




Maintained by John Loomis, last updated 18 January 2008

沒有留言:

張貼留言

零成本學 ESP32!在 Wokwi 打造你的第一個微型氣象站 (ESP32 + DHT22 + 1602 LCD)

零成本學 ESP32!在 Wokwi 打造你的第一個微型氣象站(溫度 濕度) (ESP32 + DHT22 + 1602 LCD) 想學物聯網(IoT)與 ESP32 電子實作,卻擔心接線與電壓規範搞砸嗎?透過強大的線上模擬器 Wokwi ,我們不需要花費任何硬體費用,打開瀏覽器...