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
c5372861
Commit
c5372861
authored
Oct 23, 2018
by
Leonardo Solis
Browse files
#22, added rules for swemu and hw debug with xgdb + extensions
parent
96835a43
Changes
2
Show whitespace changes
Inline
Side-by-side
ofdock_taskpar_xl/Makefile
View file @
c5372861
...
...
@@ -250,6 +250,20 @@ swemu: kerswemu
@
echo
"===================================================================================="
@
echo
$(newline)
# Debug on software using Xilinx GDB
# Analyze hangs with the following gdb extensions:
# xprint queue [<cl_command_queue>]
# xprint event <cl_event>
# xprint mem [<cl_mem>]
# xprint kernel
# xprint all
swemudebug
:
xgdb
--args
\
./
$(EXES)
\
-ffile
input/
$(PDB)
/derived/
$(PDB)
_protein.maps.fld
\
-lfile
input/
$(PDB)
/derived/
$(PDB)
_ligand.pdbqt
\
-psize
$(PSIZE)
-nrun
$(NRUN)
-nev
$(NEV)
-ngen
$(NGEN)
-gfpop
1
hwemu
:
kerhwemu
emconfigutil
--platform
$(BOARD)
--nd
$(NDEVICES_EMU)
...
...
@@ -282,14 +296,6 @@ hw:
@
echo
$(newline)
sw-debug
:
XCL_EMULATION_MODE
=
sw_emu
\
xgdb
-args
./
$(EXES)
\
-ffile
input/1stp/derived/1stp_protein.maps.fld
\
-lfile
input/1stp/derived/1stp_ligand.pdbqt
\
-nrun
1
-nev
100
-lsit
10
-psize
10
# Execute on remote server
# Host-recompilation
# Copy of host to $(TARGET_DIR_HW)
...
...
@@ -315,6 +321,22 @@ eva: exe
@
echo
$(newline)
# Debug on hardware using Xilinx GDB
# Analyze hangs with the following gdb extensions:
# xprint queue [<cl_command_queue>]
# xprint event <cl_event>
# xprint mem [<cl_mem>]
# xprint kernel
# xprint all
evadebug
:
xgdb
--args
\
./
$(EXES)
\
-ffile
input/
$(PDB)
/derived/
$(PDB)
_protein.maps.fld
\
-lfile
input/
$(PDB)
/derived/
$(PDB)
_ligand.pdbqt
\
-resnam
docking_debug_
$(PDB)
_
$(NRUN)
\
-nrun
$(NRUN)
-gfpop
$(GFPOP)
# Project name
PROJECT_NAME
:=
ofdock_taskpar_xl
...
...
@@ -344,6 +366,7 @@ copy: clean-copy
cp
./xclbin/
$(XCLBINS)
.hw.
*
.xo ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/xclbin/
cp
./xclbin/
$(XCLBINS)
.hw.
*
.xclbin ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
mv
../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
$(XCLBINS)
.hw.
*
.xclbin ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
$(XCLBINS)
.xclbin
cp
sdaccel.ini ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
Makefile ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
defines.h ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
cp
defines_fixedpt.h ../
$(COPY_DIR)
/
$(COPY_DIR_DOCK)
/
...
...
ofdock_taskpar_xl/sdaccel.ini
View file @
c5372861
[Debug]
timeline_trace
=
true
device_profile
=
true
app_debu
g
=
true
app_debu
=
true
Leonardo Solis
@solis
mentioned in commit
7c76e2b5
·
Jan 04, 2021
mentioned in commit
7c76e2b5
mentioned in commit 7c76e2b5693321e48b7ae722434ad799c0da5377
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