Commit fd770015 authored by Leonardo Solis's avatar Leonardo Solis
Browse files

added script ot init v16.1


Former-commit-id: 09e6fbff
parent 140e3cb0
# This is created to automate the boring
# process of setting AOC in celebdil
# DO NOT FORGET to run it using:
# >source init_aoc_esa.sh
echo "======================================="
echo "Setting up Altera OpenCL SDK & Compiler"
echo "======================================="
echo ""
export LM_LICENSE_FILE=/opt/cad/keys/altera
echo "LM_LICENSE_FILE: "
echo $LM_LICENSE_FILE
echo " "
export PATH=/opt/cad/altera/altera-16.1/quartus/bin/:$PATH
echo "PATH: "
echo $PATH
echo " "
export ALTERAOCLSDKROOT=/opt/cad/altera/altera-16.1/hld
echo "ALTERAOCLSDKROOT: "
echo $ALTERAOCLSDKROOT
echo " "
export AOCL_BOARD_PACKAGE_ROOT=$ALTERAOCLSDKROOT/board/a10_ref
echo "AOCL_BOARD_PACKAGE_ROOT: "
echo $AOCL_BOARD_PACKAGE_ROOT
echo " "
source $ALTERAOCLSDKROOT/init_opencl.sh
echo " "
echo "List of available boards "
aoc --list-boards
echo " "
echo "Altera OpenCL SDK version: "
aocl version
echo " "
echo "Altera OpenCL Compiler version: "
aoc --version
echo " "
......@@ -334,6 +334,7 @@ DEV_DIRS := device
KRNL_NAME:= Krnl_GA
DEV_SRC := $(DEV_DIRS)/$(KRNL_NAME).cl
BOARD := Proc10A_X115
#BOARD := a10gx
## Make it all: compilation (host & device) + run emulation
## Notice, it switches automatically to /bin folder
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment