diff options
author | Josh Blum <josh@joshknows.com> | 2013-07-19 14:00:32 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-07-19 14:00:32 -0700 |
commit | bb73a21495e15b6221472cb1838b609a91f9c59c (patch) | |
tree | e80469363084a6262ff6403edd23ee0b48ff0aba /host/lib/usrp/cores/wb_iface.cpp | |
parent | 7c9a4a5a41bb981dd4db66e7b479e4e66d488fa5 (diff) | |
download | uhd-bb73a21495e15b6221472cb1838b609a91f9c59c.tar.gz uhd-bb73a21495e15b6221472cb1838b609a91f9c59c.tar.bz2 uhd-bb73a21495e15b6221472cb1838b609a91f9c59c.zip |
uhd: squashed support modules for usrp3 fpga cores
Diffstat (limited to 'host/lib/usrp/cores/wb_iface.cpp')
-rw-r--r-- | host/lib/usrp/cores/wb_iface.cpp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/host/lib/usrp/cores/wb_iface.cpp b/host/lib/usrp/cores/wb_iface.cpp new file mode 100644 index 000000000..9aa6d18d4 --- /dev/null +++ b/host/lib/usrp/cores/wb_iface.cpp @@ -0,0 +1,51 @@ +// +// Copyright 2013 Ettus Research LLC +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// + +#include "wb_iface.hpp" +#include <uhd/exception.hpp> + +using namespace uhd; + +void wb_iface::poke64(const wb_iface::wb_addr_type, const boost::uint64_t) +{ + throw uhd::not_implemented_error("poke64 not implemented"); +} + +boost::uint64_t wb_iface::peek64(const wb_iface::wb_addr_type) +{ + throw uhd::not_implemented_error("peek64 not implemented"); +} + +void wb_iface::poke32(const wb_iface::wb_addr_type, const boost::uint32_t) +{ + throw uhd::not_implemented_error("poke32 not implemented"); +} + +boost::uint32_t wb_iface::peek32(const wb_iface::wb_addr_type) +{ + throw uhd::not_implemented_error("peek32 not implemented"); +} + +void wb_iface::poke16(const wb_iface::wb_addr_type, const boost::uint16_t) +{ + throw uhd::not_implemented_error("poke16 not implemented"); +} + +boost::uint16_t wb_iface::peek16(const wb_iface::wb_addr_type) +{ + throw uhd::not_implemented_error("peek16 not implemented"); +} |