Altera SDK for OpenCL Cyclone V SoC Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Instrumentos de medida Altera SDK for OpenCL Cyclone V SoC. Altera SDK for OpenCL Cyclone V SoC User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Altera SDK for OpenCL

Altera SDK for OpenCLCyclone V SoC Getting Started GuideSubscribeSend FeedbackOCL006-15.0.02015.05.04101 Innovation DriveSan Jose, CA 95134www.altera.

Página 2 - Contents

Setting Up the Altera SDK for OpenCL, SoC EDS,and the Cyclone V SoC Development Kit forWindows22015.05.04OCL006-15.0.0SubscribeSend FeedbackThe Altera

Página 3

11.Uninstalling the Software on page 2-14To uninstall the AOCL for Windows, run the uninstaller, and restore all modified environmentvariables to thei

Página 4 - Started Guide

If you do not require all the files, select Direct Download and download only the files that you need.Choose this download method if you already have

Página 5 - Prerequisites

• To install the AOCL, Quartus II software, and device support files simultaneously, perform thefollowing tasks:1. Run the QuartusSetup-<version>

Página 6

Installing the SoC EDSTo use the Altera SDK for OpenCL to create OpenCL kernel programs that target a Cyclone V SoC, installthe Altera SoC Embdded Des

Página 7 - Processes

a. Create a backup copy of the provided license file.b. Save the new license file on your local hard drive.c. Append the <path_to_license_file>/

Página 8

Imager, and then write the SD card image onto the micro SD flash card. The SD card image containseverything you need to start using OpenCL on the boar

Página 9 - Design Considerations

Setting Up Terminal Connection in WindowsTo set up the terminal connection for the Cyclone V SoC Development Kit in Windows, specify the USBvirtual CO

Página 10 - Send Feedback

The init_opencl.sh file is available in the SD card image that you write onto the micro SD flash card. Itcontains the commands shown below:export ALTE

Página 11 - Related Information

To reboot the CPU, press the Warm reset button next to the four hard processor system (HPS) LEDson the board.3. If you are unable to acquire the IP ad

Página 12 - Downloading the SoC EDS

ContentsAltera SDK for OpenCL Cyclone V SoC Getting Started Guide...1-1Prerequisites...

Página 13 - 2015.05.04

Figure 2-1: Cyclone V SoC Development Kit Programming OverviewExtract hello_worldOpenCL example Build host applicationRun hello_worldhost executableCh

Página 14 - Licensing the Software

You should see an output similar to the one below:Board list: c5soc c5soc_sharedonly6. To compile the kernel for your Cyclone V SoC Development Kit,

Página 15

Building the Host ApplicationBuild your SoC-specific OpenCL host application using the GNU Compiler Collection (GCC) cross-compiler available with the

Página 16 - Configuring the SW3 Switches

CL_DEVICE_VENDOR = AlteraCL_DEVICE_VENDOR_ID = 4466CL_DEVICE_VERSION = OpenCL 1.0 Altera SD

Página 17 - Altera Corporation

Setting Up the Altera SDK for OpenCL, SoC EDS,and the Cyclone V SoC Development Kit forLinux32015.05.04OCL006-15.0.0SubscribeSend FeedbackThe Altera S

Página 18

11.Uninstalling the Software on page 3-15To uninstall the AOCL for Linux, remove the software package via the Red Hat Package Manager(RPM) or GUI unin

Página 19 - Using SSH and SCP

5. Select Direct Download as the download method.6. Click the Linux SDK tab and then click More beside Download and install instructions to view thedo

Página 20

• To install the AOCL, Quartus II software, and device support files simultaneously, perform thefollowing tasks:1. Run the QuartusSetup-<version>

Página 21

1.At a command prompt, type export PATH=$ALTERAOCLSDKROOT/bin:$PATH to add thepath to the AOCL bin directory to PATH, where ALTERAOCLSDKROOT points to

Página 22 - Running the Host Application

1. In the main page within the Altera website, click MYALTERA and log into your account.2. Click the link to the Self-Service Licensing Center.3. Perf

Página 23 - Uninstalling the Software

Configuring the SW3 Switches...3-7Setting Up Termi

Página 24

5. Connecting the Board to Network via Ethernet on page 3-9Connecting the Cyclone V SoC Development Kit to the host network allows you to transfer fil

Página 25

Switch Configuration3 ON4 OFF5 ON6 ONThe figure below illustrates the physical configuration of the SW switches on the Cyclone V SoCDevelopment Kit:Se

Página 26

f. Press Enter twice to return to the main minicom setup menu.g. Select Save setup as dfl and then press Enter to save the minicom settings as default

Página 27

Sending select for 137.57.175.148...Lease of 137.57.175.148 obtained, lease time 86400/etc/udhcpc.d/50default: Adding DNS 137.57.142.218/etc/

Página 28

For instructions on how to identify <board_ip_address>, refer to the Ensuring IP Address Acquisitionsection.2.To transfer files, one at a time,

Página 29

Figure 3-1: Cyclone V SoC Development Kit Programming OverviewExtract hello_worldOpenCL example Build host applicationRun hello_worldhost executableCh

Página 30

You should see an output similar to the one below:Board list: c5soc c5soc_sharedonly6. To compile the kernel for your Cyclone V SoC Development Kit,

Página 31 - Switch Configuration

Building the Host ApplicationBuild your SoC-specific OpenCL host application using the GNU Compiler Collection (GCC) cross-compiler available with the

Página 32

CL_DEVICE_VENDOR = AlteraCL_DEVICE_VENDOR_ID = 4466CL_DEVICE_VERSION = OpenCL 1.0 Altera SD

Página 33 - Mounting a Shared Drive

Document Revision HistoryA2015.05.04OCL006-15.0.0SubscribeSend FeedbackTable A-1: Document Revision History of the Altera SDK for OpenCL Cyclone V SoC

Página 34

Altera SDK for OpenCL Cyclone V SoC GettingStarted Guide12015.05.04OCL006-15.0.0SubscribeSend FeedbackThe Altera SDK for OpenCL Cyclone V SoC Getting

Página 35

PrerequisitesTo install the Altera SDK for OpenCL (AOCL) and create an OpenCL application for the Cyclone V SoCDevelopment Kit, your system must meet

Página 36

Table 1-1: Select Contents of the AOCL Installation DirectoryWindows Folder Linux Directory Descriptionbin bin User commands in the AOCL. Include this

Página 37

Related InformationOpenCL Design Examples page on the Altera websiteOverview of the AOCL and Cyclone V SoC Development Kit SetupProcessesThe Altera SD

Página 38

Figure 1-2: Overview of AOCL and Board SetupReview prerequisitesDownload installers from altera.com(Quartus II software, Cyclone V + Stratix Vdevice s

Página 39 - Document Revision History

• c5soc boardThis default board provides access to two DDR memory banks. The hard processor system (HPS)DDR is accessible by both the FPGA and the CPU

Comentários a estes Manuais

Sem comentários