diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:41:46 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:41:46 -0800 |
commit | 9b852f5f243e5cf68662b7152b5fa331a83e55fb (patch) | |
tree | 159ffe0761f78dd87e2ecc97abea14494abab4ff /host/tests/device3_test.cpp | |
parent | c66cb1bad0d881394f3519bd94f4693cceab4c64 (diff) | |
parent | 99c2730bc9db270560671f2d7d173768465ed51f (diff) | |
download | uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.gz uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.bz2 uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.zip |
Merge branch 'maint'
Diffstat (limited to 'host/tests/device3_test.cpp')
-rw-r--r-- | host/tests/device3_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/tests/device3_test.cpp b/host/tests/device3_test.cpp index 593facb9a..657436717 100644 --- a/host/tests/device3_test.cpp +++ b/host/tests/device3_test.cpp @@ -27,7 +27,7 @@ using namespace uhd; using namespace uhd::rfnoc; -static const boost::uint64_t TEST_NOC_ID = 0xAAAABBBBCCCCDDDD; +static const uint64_t TEST_NOC_ID = 0xAAAABBBBCCCCDDDD; static const sid_t TEST_SID0 = 0x00000200; // 0.0.2.0 static const sid_t TEST_SID1 = 0x00000210; // 0.0.2.F @@ -38,11 +38,11 @@ class pseudo_wb_iface_impl : public uhd::wb_iface pseudo_wb_iface_impl() {}; ~pseudo_wb_iface_impl() {}; - void poke64(const wb_addr_type addr, const boost::uint64_t data) { + void poke64(const wb_addr_type addr, const uint64_t data) { std::cout << str(boost::format("[PSEUDO] poke64 to addr: %016X, data == %016X") % addr % data) << std::endl; }; - boost::uint64_t peek64(const wb_addr_type addr) { + uint64_t peek64(const wb_addr_type addr) { std::cout << str(boost::format("[PSEUDO] peek64 to addr: %016X") % addr) << std::endl; switch (addr) { case SR_READBACK_REG_ID: @@ -57,11 +57,11 @@ class pseudo_wb_iface_impl : public uhd::wb_iface return 0; } - void poke32(const wb_addr_type addr, const boost::uint32_t data) { + void poke32(const wb_addr_type addr, const uint32_t data) { std::cout << str(boost::format("poke32 to addr: %08X, data == %08X") % addr % data) << std::endl; } - boost::uint32_t peek32(const wb_addr_type addr) { + uint32_t peek32(const wb_addr_type addr) { std::cout << str(boost::format("peek32 to addr: %08X") % addr) << std::endl; return 0; } |