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
e2068c61
Commit
e2068c61
authored
Nov 12, 2018
by
Leonardo Solis
Browse files
removed -g flag for hw build
still cannot build FPGA binary: DEBUG_IP_LAYOUT exceeded max size
parent
4dcd8a10
Changes
1
Hide whitespace changes
Inline
Side-by-side
ofdock_taskpar_xl/Makefile
View file @
e2068c61
...
...
@@ -11,10 +11,10 @@ include $(COMMON_REPO)/libs/opencl/opencl.mk
# Added to fix the unnecessarily required pointer
# to global memory in each kernel
OTH
ER_FLAGS
=
DUMMYGLOBPOINT
ER_FLAGS
=
ifeq
($(TARGETS), sw_emu)
OTH
ER_FLAGS
=
-DSW_EMU
DUMMYGLOBPOINT
ER_FLAGS
=
-DSW_EMU
endif
# Enable Kernels
...
...
@@ -96,7 +96,7 @@ FIPO_FLAG = $(FIPOCO_FLAG) \
# Overall custom configs
CONFIG_FLAG
=
$(FIPO_FLAG)
CXXFLAGS
:=
-Wall
-O0
-g
-std
=
c++14
$(
OTH
ER_FLAGS)
CXXFLAGS
:=
-Wall
-O0
-g
-std
=
c++14
$(
DUMMYGLOBPOINT
ER_FLAGS)
# Host Application
...
...
@@ -125,12 +125,34 @@ EXES=hostbin
Krnl_GA_SRCS
=
./device/Krnl_GA.cl
# Custom configuration of vars within: boards.mk
#CLFLAGS= --xp "param:compiler.version=31" \
# --xp "param:compiler.preserveHlsOutput=1" \
# --xp "param:compiler.generateExtraRunData=true" \
# -s -g -I./ -I../ -I./device \
# $(CONFIG_FLAG) \
# $(DUMMYGLOBPOINTER_FLAGS)
# Kernel "-g" debug option must be added
# only for sw-emu and hw-emu, not hw
# UG1023: SDAccel Debug Command Line Flow / Preparing the Kernel
KERNELDEBUG_FLAGS
=
ifeq
($(TARGETS), sw_emu)
KERNELDEBUG_FLAGS
=
-g
else
ifeq
($(TARGETS), hw_emu)
KERNELDEBUG_FLAGS
=
-g
endif
endif
CLFLAGS
=
--xp
"param:compiler.version=31"
\
--xp
"param:compiler.preserveHlsOutput=1"
\
--xp
"param:compiler.generateExtraRunData=true"
\
-s
-g
-I
./
-I
../
-I
./device
\
-s
-I
./
-I
../
-I
./device
\
$(CONFIG_FLAG)
\
$(OTHER_FLAGS)
$(DUMMYGLOBPOINTER_FLAGS)
\
$(KERNELDEBUG_FLAGS)
LDCLFLAGS
=
$(CLFLAGS)
# Custom configuration of vars within: opencl.mk
...
...
@@ -218,10 +240,10 @@ opencl_LDFLAGS=-L$(OPENCL_LIB) -L$(SDA_LIB) -lxilinxopencl -pthread
# --sp Krnl_InterE_1.m_axi_gmem:bank2 \
# --sp Krnl_IntraE_1.m_axi_gmem:bank3
Krnl_GA_LDCLFLAGS
+=
--sp
Krnl_GA_1.m_axi_gmem:bank0
\
--sp
Krnl_Conform_1.m_axi_gmem:bank0
\
--sp
Krnl_InterE_1.m_axi_gmem:bank1
\
--sp
Krnl_IntraE_1.m_axi_gmem:bank1
#
Krnl_GA_LDCLFLAGS+=--sp Krnl_GA_1.m_axi_gmem:bank0 \
#
--sp Krnl_Conform_1.m_axi_gmem:bank0 \
#
--sp Krnl_InterE_1.m_axi_gmem:bank1 \
#
--sp Krnl_IntraE_1.m_axi_gmem:bank1
##
# https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1281-sdaccel-debugging-guide.pdf
...
...
Leonardo Solis
@solis
mentioned in commit
dc4d62bf
·
Jan 04, 2021
mentioned in commit
dc4d62bf
mentioned in commit dc4d62bf616c0b18daac7737a88f7f9238fa8aad
Toggle commit list
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