From 6f8acc07c6c4abc2ccdd4158e2564edde1ffacb6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 5 Jan 2018 14:30:31 -0800 Subject: rfnoc: Fix named readback of user_reg_read32() Thanks to github user mdmikh for pointing out problem and fix. --- host/lib/rfnoc/block_ctrl_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/rfnoc/block_ctrl_base.cpp b/host/lib/rfnoc/block_ctrl_base.cpp index 1dfe66292..9996d3b9b 100644 --- a/host/lib/rfnoc/block_ctrl_base.cpp +++ b/host/lib/rfnoc/block_ctrl_base.cpp @@ -319,7 +319,7 @@ uint32_t block_ctrl_base::user_reg_read32(const std::string ®, const size_t p )); } return user_reg_read32(uint32_t( - _tree->access(_root_path / "registers" / "sr" / reg).get() + _tree->access(_root_path / "registers" / "rb" / reg).get() ), port); } -- cgit v1.2.3