A little help with using a block in benchmark_tx..plz

Hi friends,

I want to modify benchmark_tx.py so that I can send data over usrp such
I spread the data before transmitting. Since I took a wrong approach in
working on this I have a little difficulty. I wrote a gnuradio C++ block
that spreads each bit of data into a gold code sequence. The input to
block is a stream of bits and output is a stream of bits that represent
gold code sequence of length N. My problem is how will I use this block
either benchmark_tx or transmit_path. I looked at these two codes and
understood most of it but can’t figure out where and how should I insert
this block. A little help would be appreciated.