Skip to content

Commit

Permalink
Adding mods from latest dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
pjvalla authored and Nicolas Cuervo committed Mar 9, 2018
1 parent 1661d55 commit 0491635
Show file tree
Hide file tree
Showing 14 changed files with 508 additions and 230 deletions.
6 changes: 6 additions & 0 deletions grc/pfb_channelizer_chanmux.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ self.$(id).set_block_size($fft_size)
<tab>RFNoC Config</tab>
</param>

<!-- <sink>
<name>taps</name>
<type>message</type>
<optional>1</optional>
</sink> -->

<sink>
<name>in</name>
<type>complex</type>
Expand Down
10 changes: 7 additions & 3 deletions include/pfb_channelizer/chanmux_block_ctrl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@

#include <uhd/rfnoc/source_block_ctrl_base.hpp>
#include <uhd/rfnoc/sink_block_ctrl_base.hpp>
#include <gnuradio/fft/fft.h>
#include <volk/volk.h>
#include <gnuradio/types.h>

using namespace gr::fft;

namespace uhd {
namespace rfnoc {
Expand All @@ -35,14 +40,13 @@ class UHD_API chanmux_block_ctrl : public source_block_ctrl_base, public sink_bl
{
public:
UHD_RFNOC_BLOCK_OBJECT(chanmux_block_ctrl)
virtual void set_taps(const std::vector<int>& taps) = 0;
//! Returns the number of filter taps in this block.
virtual size_t get_n_taps() const = 0;

virtual size_t get_fft_size() = 0;
virtual void set_fft_size(const int fft_size) = 0;
/*!
* Your block configuration here
*/

}; /* class chanmux_block_ctrl*/

}} /* namespace uhd::rfnoc */
Expand Down

0 comments on commit 0491635

Please sign in to comment.