Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASfpga
VILLASfpga
Commits
98cf7227
Commit
98cf7227
authored
Sep 14, 2018
by
Daniel Krebs
Browse files
rtds2gpu: update status register before dump
parent
9263d3a1
Pipeline
#73354
failed with stages
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/ips/rtds2gpu/rtds2gpu.cpp
View file @
98cf7227
...
@@ -38,6 +38,10 @@ void Rtds2Gpu::dump(spdlog::level::level_enum logLevel)
...
@@ -38,6 +38,10 @@ void Rtds2Gpu::dump(spdlog::level::level_enum logLevel)
const
auto
doorbell_offset
=
XRtds2gpu_Get_doorbell_offset
(
&
xInstance
);
const
auto
doorbell_offset
=
XRtds2gpu_Get_doorbell_offset
(
&
xInstance
);
const
auto
frame_size
=
XRtds2gpu_Get_frame_size
(
&
xInstance
);
const
auto
frame_size
=
XRtds2gpu_Get_frame_size
(
&
xInstance
);
if
(
not
updateStatus
())
{
logger
->
warn
(
"Couldn't read status register (not ready), values may be wrong"
);
}
logger
->
log
(
logLevel
,
"Rtds2Gpu registers (IP base {:#x}):"
,
xInstance
.
Ctrl_BaseAddress
);
logger
->
log
(
logLevel
,
"Rtds2Gpu registers (IP base {:#x}):"
,
xInstance
.
Ctrl_BaseAddress
);
logger
->
log
(
logLevel
,
" Base address (bytes): {:#x}"
,
baseaddr
);
logger
->
log
(
logLevel
,
" Base address (bytes): {:#x}"
,
baseaddr
);
logger
->
log
(
logLevel
,
" Doorbell offset (bytes): {:#x}"
,
doorbell_offset
);
logger
->
log
(
logLevel
,
" Doorbell offset (bytes): {:#x}"
,
doorbell_offset
);
...
...
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