DE10 Advance revC demo: Factory Default Code

From Terasic Wiki

Jump to: navigation, search

The DE10-Advanced board has a default configuration bit-stream pre-programmed, which demonstrates some of the basic features on board. This demo used LED ,7-Segments, Switch , HDMI transmitter display and fan control.

Function Block Diagram

Figure 2-1 shows the function block diagram of this demonstration..This demo used fan controller to control fan and used frame buffer read board picture from ON-CHIP-MEMORY,and used scaler scale the picture to 1920x1080 size,display the picture by HDMI TX.


De10 advanced revc demo default code.jpg

Figure 6-2 Block diagram of Default demonstration

Design Tools

  • Quartus Prime 18.0.0 Standard Edition
  • Demonstration Source Code:
    • Project Directory: Demonstration\default_code
    • Bit Stream: default_code.sof or default_code.jic
    • Demonstration Batch File: default_code\demo_batch or default_code\demo_run_batch

NOTE : because the demo include software , and run on on-chip-memory, so use mem_init can package elf to sof ,so user can only program sof or sof +elf to run demo

The demo batch file includes following files:

  • Batch File: test.bat
  • FPGA Configuration File: default_code.sof or default_code.jic

Demonstration Setup

  1. Make sure Quartus Prime is installed on the host PC.
  2. Connect DE10-Advanced board to the host PC via USB cable. Install the USB-Blaster II driver if necessary.
  3. Connect the HDMI TX to displayer via HDMI cable.
  4. Power on the DE10-Advanced.
  5. Execute the demo batch file “test.bat” under the batch file folder \ default_code\demo_batch. You will see the menu Figure 2-2
  6. Select your choice,and program FPGA or program flash
  7. When the demo is running , you can see the led is blinking and flowing, and the displayer will display the board picture Figure 2-3


De10-advanced revc demo factory cmd.png

Figure 2-2 menu of Default demonstration

De10-advanced revc demo factory hdmi Tx.jpg

Figure 2-3 board picture of Default demonstration

Back

Personal tools