Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock-fpga
Commits
a2c7264f
Commit
a2c7264f
authored
Oct 19, 2018
by
Leonardo Solis
Browse files
added more support for aws, still requires flags for switching btw sdx20174 platforms
Former-commit-id:
198a2bf3
parent
a7bb82d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ofdock_taskpar_xl/Makefile
View file @
a2c7264f
...
@@ -88,7 +88,11 @@ Krnl_GA_SRCS=./device/Krnl_GA.cl
...
@@ -88,7 +88,11 @@ Krnl_GA_SRCS=./device/Krnl_GA.cl
# Sets the maximum memory port property
# Sets the maximum memory port property
# for all kernels or a given kernel
# for all kernels or a given kernel
krnl_GA_CLFLAGS
=
--max_memory_ports
bandwidth
# Choosing the "bandwidth" kernel for maximum memory port property
# krnl_GA_CLFLAGS=--max_memory_ports bandwidth
# Choosing the all kernels in design for maximum memory port property
krnl_GA_CLFLAGS
=
--max_memory_ports
all
# https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1023-sdaccel-user-guide.pdf
# https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1023-sdaccel-user-guide.pdf
# Page 44
# Page 44
...
@@ -97,9 +101,11 @@ krnl_GA_CLFLAGS=--max_memory_ports bandwidth
...
@@ -97,9 +101,11 @@ krnl_GA_CLFLAGS=--max_memory_ports bandwidth
# bank0, bank1, bank2, and bank3
# bank0, bank1, bank2, and bank3
# for platforms with 4 DDR banks.
# for platforms with 4 DDR banks.
krnl_GA_LDCLFLAGS
+=
--sp
bandwidth_1.m_axi_gmem0:bank0
\
#krnl_GA_LDCLFLAGS+= --sp bandwidth_1.m_axi_gmem0:bank0 \
--sp
bandwidth_1.m_axi_gmem1:bank1
\
# --sp bandwidth_1.m_axi_gmem1:bank1 \
--sp
bandwidth_1.m_axi_gmem2:bank2
# --sp bandwidth_1.m_axi_gmem2:bank2
krnl_GA_LDCLFLAGS
+=
#-------------------------------
#-------------------------------
...
@@ -145,14 +151,25 @@ GFPOP:= 0
...
@@ -145,14 +151,25 @@ GFPOP:= 0
# As it is available in Xelera "saruman" server
# As it is available in Xelera "saruman" server
#DEVICES:= xilinx:kcu1500:dynamic (in ../common_xilinx/utility/boards.mk)
#DEVICES:= xilinx:kcu1500:dynamic (in ../common_xilinx/utility/boards.mk)
# Boards in SDAccel installation path
# Boards in SDAccel installation path: /opt/cad/xilinx/SDx/2017.4/platforms/
# If several versions are present, e.g.: "vcu1525_5_0" and "vcu1525_5_1"
# If several versions are present, e.g.: "vcu1525_5_0" and "vcu1525_5_1"
# Pay attention to which should be used
# Pay attention to which should be used
#BOARD:= xilinx:kcu1500:dynamic
#BOARD:= xilinx:kcu1500:dynamic
#BOARD:= xilinx:vcu1525:dynamic
#BOARD:= xilinx:vcu1525:dynamic
# Boards in external paths
# Boards in external paths
BOARD
:=
/home/wimi/lvs/DSA_SDACCEL_AWS_VU9P/xilinx_aws-vu9p-f1_dynamic_5_0/xilinx_aws-vu9p-f1_dynamic_5_0.xpfm
# Cloned from https://github.com/aws/aws-fpga
# This corresponds to AWS Shell v04261818
# https://github.com/aws/aws-fpga/blob/master/hdk/docs/AWS_Shell_RELEASE_NOTES.md
# IMPORTANT: source scripts to get the full DSA
# Because by default only the "sw" component is provided in GitHub
#BOARD:= /home/wimi/lvs/ocl_xilinx/aws-fpga/SDAccel/aws_platform/xilinx_aws-vu9p-f1-04261818_dynamic_5_0/xilinx_aws-vu9p-f1-04261818_dynamic_5_0.xpfm
BOARD
:=
/home/wimi/lvs/DSA_SDACCEL_AWS_VU9P/xilinx_aws-vu9p-f1-04261818_dynamic_5_0/xilinx_aws-vu9p-f1-04261818_dynamic_5_0.xpfm
# Copied from Xelera (saruman) SDAccel installation path
#BOARD:= /home/wimi/lvs/DSA_SDACCEL_AWS_VU9P/xilinx_aws-vu9p-f1_dynamic_5_0/xilinx_aws-vu9p-f1_dynamic_5_0.xpfm
#BOARD:= /home/wimi/lvs/DSA_SDACCEL_VCU1525_5_1/xilinx_vcu1525_dynamic_5_1/xilinx_vcu1525_dynamic_5_1.xpfm
#BOARD:= /home/wimi/lvs/DSA_SDACCEL_VCU1525_5_1/xilinx_vcu1525_dynamic_5_1/xilinx_vcu1525_dynamic_5_1.xpfm
#BOARD:= /opt/cad/xilinx/SDx/2017.1/platforms/xilinx_adm-pcie-7v3_1ddr_3_0/xilinx_adm-pcie-7v3_1ddr_3_0.xpfm
#BOARD:= /opt/cad/xilinx/SDx/2017.1/platforms/xilinx_adm-pcie-7v3_1ddr_3_0/xilinx_adm-pcie-7v3_1ddr_3_0.xpfm
...
@@ -302,9 +319,14 @@ COPY_DIR := copy_$(PROJECT_NAME)
...
@@ -302,9 +319,14 @@ COPY_DIR := copy_$(PROJECT_NAME)
COPY_DIR_DOCK
:=
$(PROJECT_NAME)
COPY_DIR_DOCK
:=
$(PROJECT_NAME)
# Make sure this remote-server alias exists (in ~/.ssh/config)
# Make sure this remote-server alias exists (in ~/.ssh/config)
SERVER_BRIDGE
:=
erebor:/scratch/
SERVER_EXEC
:=
saruman:~/ocladock_sdx17_4
## Xelera
#SERVER_BRIDGE := erebor:/scratch/
#SERVER_EXEC := saruman:~/ocladock_sdx17_4
## AWS
SERVER_BRIDGE
:=
eredmithrim:/home/lvs/ESA/AWS
SERVER_EXEC
:=
AWS
# Delete an existing folder if previously created
# Delete an existing folder if previously created
# Create a folder $(COPY_DIR) in the parent directory
# Create a folder $(COPY_DIR) in the parent directory
...
@@ -325,7 +347,7 @@ copy: clean-copy
...
@@ -325,7 +347,7 @@ copy: clean-copy
cp
defines_fixedpt_64.h ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
defines_fixedpt_64.h ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
device/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
device/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
host/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
host/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
input/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
#
cp -r input/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
wrapcl/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
wrapcl/ ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
-r
../common ../
$(COPY_DIR)
/
cp
-r
../common ../
$(COPY_DIR)
/
cp
-r
../common_xilinx ../
$(COPY_DIR)
/
cp
-r
../common_xilinx ../
$(COPY_DIR)
/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment