Hi Manu,
Am I supposed to put ldpc.h in inlclude/ldpc/ and ldpc.cc in
lib/? Or should I put both of them inside lib/ ? Which section
of CMakeLists.txt am I supposed to modify?
Yes, that would be the correct structure.
Just add ldpc.cc to lib/CMakeLists.txt:
It
*Issue solved by defining the constructor as given below.*
copy_bb_impl::copy_bb_impl(int block_length)
: gr::sync_block("copy_bb",
gr::io_signature::make(0, 0, 0),
gr::io_signature::make(0, 0, 0)),
*Hi,
*
*I have a block which copies a block of input to output. The constructor is
defined as shown below.
*
###
copy_bb_impl::copy_bb_impl(int block_length)
{
d_block_length = block_length;
set_input_signa
Hey Marcus,
Thanks a lot.
On Sun, Sep 8, 2013 at 1:28 PM, Marcus Müller wrote:
> Hi Manu!
>
> Suppose I don't know the block size before hand, and I want to pass a
>> parameter "x" to toe constructor such that block size can be obtained from
>> x using certain computation (that will be define
Hi Manu!
Suppose I don't know the block size before hand, and I want to pass a parameter
"x" to toe constructor such that block size can be obtained from x using
certain computation (that will be defined inside the constructor). Can I do this? If so
how?
Yes, that's possible *inside the cons
Given below is the constructor in vector_to_stream block. The block size is
passed as a parameter to the constructor.
vector_to_stream_impl::vector_to_stream_impl(size_t itemsize, size_t
nitems_per_block)
: sync_interpolator ("vector_to_stream",
io_signature::make (1, 1