How to rebuild the digital_swig for the modification of ofdm

Hi Gurus,

I am modifying some c++ code over the current ofdm modulator and
demodulator. My question is:

As the all the sub C++ blocks of ofdm are combined together into the
digital_swig, how can I re-generate these blocks? If I follow the guide
of
how_to_write_a_signal_process_block, I am expecting that only one of the
block can be generated instead of combing it into the digital_swig
module.
I don’t know how to update the digital_swig correctly.

Does any friend has the clues?

Alex,
Dreams can come true – just believe.

Maybe I am confused about the generation of the module and block. But I
really don’t know how to work on combining a chunk of blocks to a
module.

On Wed, Mar 14, 2012 at 12:54 AM, Alex Z.
[email protected]wrote:

Does any friend has the clues?

Alex,
Dreams can come true – just believe.

Alex,
Dreams can come true – just believe.

Resend this mail to ask for some guides.

On Wed, Mar 14, 2012 at 12:54 AM, Alex Z.
[email protected]wrote:

Does any friend has the clues?

Alex,
Dreams can come true – just believe.

Alex,
Dreams can come true – just believe.

Depends on what exactly your trying to do:

  1. modify existing blocks in gnuradio.digital.
  2. add new blocks to gnuradio.digital
  3. add new blocks out-of-tree

In the case of 1) you can just edit the files, recompile and reinstall.

In the case of 2) you need to edit some other files so the new blocks
are included. For a purely cmake build a list of the files you’d have
to edit is:
gr-digital/swig/digital_swig.i, gr-digital/lib/CMakeLists.txt,
gr-digital/include/CMakeLists.txt, gr-digital/swig/CMakeLists.txt
(Disclaimer: I didn’t test this so it’s possible I left one out)

In the case of 3) you can use Martin’s fabulous gr_modtool.

Cheers,
Ben

Thank you Ben, What I am doing is actually case 1).

On Wed, Mar 14, 2012 at 12:11 PM, Ben R. [email protected] wrote:

to edit is:

how_to_write_a_signal_process_block, I am expecting that only one of the


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

Alex,
Dreams can come true – just believe.