Commit 8e7ba1d3 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline
Browse files

BebTools: better debug in BebFpgaMem::read

parent 7c7326c5
......@@ -110,7 +110,8 @@ unsigned long BebFpgaMem::read(unsigned long addr)
is >> hex >> phys_addr >> virt_addr >> val;
if (phys_addr != addr)
THROW_HW_ERROR(Error) << "addr mismatch: "
<< DEB_VAR2(phys_addr, addr);
<< DEB_VAR2(DebHex(phys_addr),
DebHex(addr));
DEB_RETURN() << DEB_VAR1(DEB_HEX(val));
return val;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment