background image

 

 

 

 

FLIK Getting   
Started Guide 

 

www.terasic.com

 

April 30, 2020 

 

 

 

 

 

Communication Ports 

 

Thunderbolt  3  Port  x1 

 

PCIe  Gen3x4  via  Thunderbolt  3  Port 

 

USB  Blaster  II  port  via  Thunderbolt  3  Port 

 

 

System Monitor and Control 

 

FPGA  Temperature  Monitor 

 

Board  Temperature  Monitor 

 

Power  Monitor 

 

Auto  Fan  Speed  Control 

 

Auto  Shutdown  when  temperature  or  power  are  abnormal. 

 

LED  Indication 

 

 

Power Source 

 

12V  DC  Input 

 

1.6 

 

Software Package and Manual 

The FLIK Kit includes three  software packages, as shown in

 Table 1-2

. The software 

packages are prepared for C/C++, OpenCL, and RTL developers. 

Table 1-3 

shows the 

documents  provided  by  the  FLIK  Kit.  The  table  also  recommends  manuals  that 

developers should study. 

 

Table 1-2 Software Packages 

Software Package 

Required Programming Skill for FPGA 

OpenVINO BSP 

C/C++ 

OpenCL BSP 

OpenCL 

RTL Example Designs  RTL Coding 

 

Table 1-3 Software Packages 

Manual\Developer 

OpenVINO 

Developer 

OpenCL 

Developer 

RTL 

Developer 

Quick Stat Guide 

√ 

 

 

Getting Started Guide (Windows or Linux ) 

 

 

 

OpenVINO Development Guide   

 

 

 

Summary of Contents for Terasic FLIK

Page 1: ...FLIK Getting Started Guide 1 www terasic com April 30 2020 1 1 Q ...

Page 2: ... Key Features 7 1 6 Software Package and Manual 8 1 7 Power On FLIK 9 1 8 Power Monitor Utility 10 1 9 Function Test Guide 11 Chapter 2 Thunderbolt 3 Setup 12 2 1 Hardware Requirement 13 2 2 Thunderbolt 3 Test 13 Chapter 3 OpenVINO Setup for Windows 17 3 1 OpenVINO Installer Demo Package 17 3 2 Install FLIK OpenVINO Runtime Environment 18 3 3 Install FLIK OpenVINO Toolkit 25 ...

Page 3: ...FLIK Getting Started Guide 3 www terasic com April 30 2020 Chapter 4 Power Monitor Setup 29 4 1 Software Requirements 29 4 2 Power Monitor Utility 35 4 3 Getting Help 37 ...

Page 4: ...onment FLIK takes advantage of the powerful Intel Arria 10 FPGA to enable higher speed data processing The kit is armed with 8GB DDR4 2133 on board memory providing around 4GB data transfer via PCIe Gen 3 interface between FPGA and laptops or host PC via Thunderbolt 3 port Also with a form factor slightly larger than a 2 5 external hard drive and closely packed in an aluminum body with advanced th...

Page 5: ...ck Start Guide 4 Power DC Adapter 12V 5 AC Power Cord 1 3 FLIK View Figure 1 2 shows the front and rear views of the FLIK There are five color LED in front panel The five color LED indicate the status of FLIK Table 1 1 shows the LED indication meanings There are a thunderbolt 3 port and a 12V DC input Jack on the rear of FLIK ...

Page 6: ...Blue FLIK is connected to the Host PC and show the power consumption status More Light Blue means more power is consumed Red FPGA power is shut down due to over temperature Orange FPGA power is shut down due to power consumption exceeds expectation Gray FPGA power is shut down due to FPGA power consumption exceeds expectation Yellow FLIK is disconnected and will be auto shutdown in 60 seconds 1 4 ...

Page 7: ...ware is implemented on the FLIK board FPGA Intel Arria 10 FPGA 10AX115N3F40E2SG FPGA Configuration On Board USB Blaster II via Thunderbolt 3 Port AS x4 configuration via QSPI Flash Clock System 50MHz and 100MHz Oscillators Programmable clock generators Si5340 Memory Two Independent DDR4 banks 4GB 1066MHz for each 1024Mb QSPI Flash ...

Page 8: ...e Package and Manual The FLIK Kit includes three software packages as shown in Table 1 2 The software packages are prepared for C C OpenCL and RTL developers Table 1 3 shows the documents provided by the FLIK Kit The table also recommends manuals that developers should study Table 1 2 Software Packages Software Package Required Programming Skill for FPGA OpenVINO BSP C C OpenCL BSP OpenCL RTL Exam...

Page 9: ...opment Guide 1 7 Power On FLIK There is no power SWITH on FLIK Plug in 12V DC to FLIK will directly power on the FLIK See Figure 1 4 When FLIK is power on without connected to the Host PC the Font Panel Color LED is Green as shown in Figure 1 5 Figure 1 4 Plug the DC 12V power to the FLIK ...

Page 10: ...ED when Power up 1 8 Power Monitor Utility The FLIK Kit includes a Power Monitor Software which can be used to monitor the power and temperature status of the FLIK as shown in Figure 1 6 For more detailed information please check Chapter 4 Power Monitor Setup Figure 1 6 Power Monitor ...

Page 11: ...020 1 9 Function Test Guide To perform function test on FLIK users need to setup thunderbolt 3 first For detail refer to Chapter 2 in this document For OpenVINO developers they need to install OpenVINO Software For detail refer to Chapter 3 in this document ...

Page 12: ... user to build such connection for the FPGA and the host PC via a thunderbolt3 cable In addition the thunderbolt3 on the FLIK also provides an USB interface to connect to the USB Blaster II circuit on the board providing a JTAG interface for the user to program the FPGA or configuration device through the host PC Therefore a host PC equipmented with thunderbolt 3 port is required to work with the ...

Page 13: ...Installed Windows Linux Installed Thunderbolt 3 driver installed A FLIK kit A Thunderbolt 3 Cable as shown in Figure 2 2 Figure 2 2 Thunderbolt 3 Cable 2 2 Thunderbolt 3 Test Below shows the procedure when the FLIK is first time to plug into the thunderbolt 3 port of the Host PC 1 Make sure your Host PC had installed Thunderbolt 3 Driver 2 Plug 12V DC to FLIK to power on the FLIK 3 Connect FLIK an...

Page 14: ...m right corner of your screen as shown in Figure 2 4 Click the message to approve the device Figure 2 4 New Thunderbolt devices have been attached message Note if this message does not appear user can reconnect the thunderbolt 3 cable between the FLIK and Host PC or power off and on the FLIK If the message still doesn t appear please refer to the below link to fix it Setup Thunderbolt3 connection ...

Page 15: ...lt device window Figure 2 6 Approve Thunderbolt device window 6 Open the Device Manager in the Windows and you will see the PCI Device and Unknown device on the Other devices item See Figure 2 7 It shows that the PCIe device and USB Blaster II circuit on the FLIK are correctly detected by ...

Page 16: ...Started Guide 16 www terasic com April 30 2020 the host PC The following chapter will show how to install the drivers for these two devices Figure 2 7 Host PC detects the PCIe and USB Blaster II function in the FLIK ...

Page 17: ...ake sure the thunderbolt3 driver is installed on the Host PC 3 1 OpenVINO Installer Demo Package First users need to download the OpenVINO BSP for windows FLIK_OpenVINO2019R1_windows zip from the link http flik terasic com cd Figure 3 1 OpenVINO BSP for Windows Then uncompress the zip file into your Host PC There are two folders in the compressed file Figure 3 2 Contents of the demo package The Op...

Page 18: ...older OpenVINO2019R1_windows you just extracted section 3 1 Before install the drive of the FLIK and setup associated environment please open and read the Intel OBL Commercial Use License pdf for Software License Agreement 3 Go to the path OpenVINO2019R1_windows FLIK Windows Install_19 2 and execute 1 SetBootOptions bat as an Administration to enable test signed code and device driver signing of t...

Page 19: ...30 2020 Figure 3 5 Run 1 SetBootOptions bat as administrator 4 When the batch file is executed please reboot the system to enable the settings Figure 3 6 1 SetBootOptions bat is executed 5 After Reboot Windows open Command Prompt and run as administrator ...

Page 20: ...re 3 7 Open Command Prompt 6 Go to the folder FLIK Windows Install_19 2 and execute 2 InstallDcpBsp bat It will start to install Intel Runtime Environment for OpenCL Figure 3 8 Run 2 InstallDcpBsp bat as administrator 7 Press y when ask to install FLIK device driver ...

Page 21: ...l FLIK device driver 8 Then a Device Driver Installation Wizard window will appear Click Next to install the driver Figure 3 10 Device Driver Installation Wizard When a Windows Security dialog appears please select Install this driver software anyway option This may appear twice ...

Page 22: ...p_bsp which is generated by the installer is existed 10 Plug 12V DC power to FLIK to power on the FLIK 11 Connect FLIK to your Host PC via Thunderbolt 3 cable Make sure you have set up the Thunderbolt 3 port for FLIK and your host PC as described in the Chapter 2 12 Open Device Manager on your host PC and expand the Accelerators FPGA Opaeaccel Device and FPGA PF Device should be list That shows th...

Page 23: ...9 2 aclrte windows64 board dcp_bsp bringup Note If the path C IntelFPGA_pro 19 2 aclrte windows64 board dcp_bsp does not exist on the user s host PC please copy the path form the OpenVINO BSP for windows path FLIK_OpenVINO2019R1_windows OpenVINO2019R1_windows FLIK Windows Install_19 2 dcp_bsp to the specified directory 15 Execute InitRuntimeEnv bat Figure 3 14 run InitRuntimeEnv bat ...

Page 24: ...gure 3 15 run InitRuntimeEnv bat 17 The user can also do the test for the individual device connected to the host PC The command is aocl diagnose device_name If the host pc is connected to only one device device_name is usually named acl0 So after entering the aocl diagnose acl0 command the memory transfer test will start and the test result will be returned Please execute aocl diagnose acl0 There...

Page 25: ... 3 Install FLIK OpenVINO Toolkit Below is the procedure to install OpenVINO Toolkit and perform OpenVINO face detection demo 1 Go to folder OpenVINO2019R1_windows 2 Execute python 3 6 5 amd64 exe Remember to check Add Python 3 6 to PATH as shown in Figure 3 17 Figure 3 17 Install the Python 3 6 ...

Page 26: ...ga_p_2019 1 138 exe to install Intel Distribution of OpenVINO toolkit for Windows Figure 3 18 Install the OpenVINO toolkit 5 Go to the OpenVINO Demo Package folder terasic_demo_windows in your host PC See section 3 1 6 Execute 00_setup_board_flik bat for setting the Intel FPGA RTE for OpenCL Pro edition user environment variables ...

Page 27: ... a10_dcp_bitstreams 8 Execute aocl program acl0 2019R1_RC_FP11_ResNet_SqueezeNet_VGG aocx to program the demo bitstream file into the FPGA Check the command returns Program succeed for download finish Figure 3 20 Program the demo bitstream file into the FLIK 9 Return to folder terasic_demo_windows 10 Execute 04_face_detection bat fpga video to run the face detection demo ...

Page 28: ...FLIK Getting Started Guide 28 www terasic com April 30 2020 Figure 3 21 Execute face_detection demo 11 You will see the face detection as shown in Figure 3 22 Figure 3 22 face detection demo ...

Page 29: ...erbolt 3 connection Users can skip this chapter if they are not interested with the Power Monitor 4 1 Software Requirements Quartus Programmer To use the power monitor user first needs to download and install the Quartus programmer software This software can set the environment settings for the host pc and install the USB Blaster II driver at the same time Here is the procedure to install the Quar...

Page 30: ...t the Select edition to Standard and set Select release to 18 1 In order to properly execute the power monitor please install 18 1 standard version Figure 4 2 Select Quartus edition and release 3 In the same page select the Additional Software Tab check Quartus Prime Programmer and Tools and click the Download Selected Files ...

Page 31: ...20 Figure 4 3 Select Stand Alone software 4 Follow the instruction to install the Quartus programmer Figure 4 4 Install Quartus Programmer 5 In the last step of the installation please check Launch USB Blaster II driver installation to install USB Blaster II ...

Page 32: ...etting Started Guide 32 www terasic com April 30 2020 Figure 4 5 Select Launch USB Blaster II driver installation 6 See Figure 4 6 follow the instructions to install the USB Blaster II driver on your host PC ...

Page 33: ... Plug the 12V DC to FLIK to power on the FLIK 8 Connect FLIK to PC Thunderbolt 3 port by a Thunderbolt 3 cable 9 Open the Device Manager you should see a JTAG cables device and it contains the Altera USB Blaster II hardware device That means the USB Blaster II driver is install correctly on your host PC ...

Page 34: ...stributable Package for Windows In addition to the Quartus Programmer since Power Monitor software is a 32 bit software users also need to download and install the Microsoft Visual C 2010 Redistributable Package for Windows x86 version It can be downloaded from the link https www microsoft com en us download details aspx id 5555 ...

Page 35: ...s and Temperature information The software flik_power_monitor zip is available from the link http flik terasic com cd Figure 4 9 Power monitor utility Here is the procedure to launch the Power Monitor Utility 1 Make sure the Power Monitor is downloaded and copy to the Host PC 2 Make sure the Quartus Prime Programmer is downloaded and installed 3 Plug 12V DC power to FLIK to power on the FLIK 4 Con...

Page 36: ...rasic com April 30 2020 5 Launch Power Monitor A GUI will appear as shown in Figure 4 10 Figure 4 10 Power Monitor Screen 6 In the dialog Power Status and FPGA Board Temperature are shown on the GUI Figure 4 11 Power Monitor Screen Shoot ...

Page 37: ... Technologies 9F No 176 Sec 2 Gongdao 5th Rd East Dist HsinChu City Taiwan 30070 Email support terasic com Web www terasic com FLIK Web flik terasic com Revision History Date Version Changes 2019 09 First publication 2020 01 V1 1 Modify section 3 1 and 4 2 2020 03 V1 2 Change cover picture 2020 03 V1 2 1 Modify FLIK Case Picture 2020 04 V1 2 2 Add how to setup Thunderbolt 3 link ...

Reviews: