From 9b4c8c7c9c9e9645b0ee27a6d6ad06bbfbf1ae66 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 27 Jun 2011 16:07:13 -0700 Subject: usrp2: setup many more control objects and xports --- host/lib/usrp2/usrp2_impl.hpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp2/usrp2_impl.hpp') diff --git a/host/lib/usrp2/usrp2_impl.hpp b/host/lib/usrp2/usrp2_impl.hpp index c3a859851..19f1d8b0f 100644 --- a/host/lib/usrp2/usrp2_impl.hpp +++ b/host/lib/usrp2/usrp2_impl.hpp @@ -25,6 +25,7 @@ #include "tx_frontend_core_200.hpp" #include "rx_dsp_core_200.hpp" #include "tx_dsp_core_200.hpp" +#include "time64_core_200.hpp" #include #include #include @@ -42,6 +43,11 @@ #include #include +static const double mimo_clock_delay_usrp2_rev4 = 4.18e-9; +static const double mimo_clock_delay_usrp_n2xx = 3.55e-9; +static const size_t mimo_clock_sync_delay_cycles = 137; +static const size_t USRP2_SRAM_BYTES = size_t(1 << 20); + /*! * Make a usrp2 dboard interface. * \param iface the usrp2 interface object @@ -61,6 +67,7 @@ uhd::usrp::dboard_iface::sptr make_usrp2_dboard_iface( class usrp2_impl{ public: usrp2_impl(const uhd::device_addr_t &_device_addr); + ~usrp2_impl(void); uhd::property_tree::sptr _tree; private: struct mboard_stuff_type{ @@ -69,9 +76,11 @@ private: usrp2_codec_ctrl::sptr codec; rx_frontend_core_200::sptr rx_fe; tx_frontend_core_200::sptr tx_fe; - rx_dsp_core_200::sptr rx_dsp; + std::vector rx_dsps; tx_dsp_core_200::sptr tx_dsp; - //TODO time core + time64_core_200::sptr time64; + std::vector dsp_xports; + std::vector err_xports; }; std::vector _mboard_stuff; -- cgit v1.2.3