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
9150ec46
Commit
9150ec46
authored
Oct 24, 2018
by
Leonardo Solis
Browse files
#20, added lapc: AXI protocol checkers in some gmem ports
parent
171cb558
Changes
1
Hide whitespace changes
Inline
Side-by-side
ofdock_taskpar_xl/Makefile
View file @
9150ec46
...
...
@@ -109,6 +109,28 @@ Krnl_GA_LDCLFLAGS+=--sp Krnl_GA_1.m_axi_gmem0:bank0 \
--sp
Krnl_Conform_1.m_axi_gmem1:bank1
\
--sp
Krnl_InterE_1.m_axi_gmem2:bank2
\
--sp
Krnl_IntraE_1.m_axi_gmem3:bank3
##
# https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1281-sdaccel-debugging-guide.pdf
# Page 32
# Instrumentation 1: Kernel Hangs due to AXI Violations
##
# Add Lightweight AXI Protocol Checker (lapc)
# <protocol:< compute_unit_name >:< interface_name >>
LAPC
:=
none
ifneq
($(LAPC),none)
# Number of axi protocol checkers requested must be between 1 and 63.
#Krnl_GA_LDCLFLAGS+=--dk protocol:all:all
Krnl_GA_LDCLFLAGS
+=
--dk
protocol:Krnl_GA_1:m_axi_gmem0
\
--dk
protocol:Krnl_Conform_1:m_axi_gmem1
\
--dk
protocol:Krnl_InterE_1:m_axi_gmem2
\
--dk
protocol:Krnl_IntraE_1:m_axi_gmem3
endif
#-------------------------------
...
...
@@ -296,6 +318,18 @@ hw:
@
echo
$(newline)
# Build instrumented hw (FPGA bitstream)
# NOT integrated yet in a multistep compilation
hw-instr
:
make all
TARGETS
=
hw
DEVICES
=
$(BOARD)
LAPC
=
yes
@
echo
$(newline)
@
echo
"=============================================================================================="
@
echo
"INFO: [instrumented] FPGA bitstream is under:
\"
./xclbin/
$(XCLBINS)
.hw.*.xclbin
\"
"
@
echo
"=============================================================================================="
@
echo
$(newline)
# Execute on remote server
# Host-recompilation
# Copy of host to $(TARGET_DIR_HW)
...
...
Leonardo Solis
@solis
mentioned in commit
0a490e21
·
Jan 04, 2021
mentioned in commit
0a490e21
mentioned in commit 0a490e2162df12e472849c07005e1d350115f654
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