Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
lation.push_back(1); >constellation.push_back(-1); > > So how do i achieve BPSK modulation with encoder using generator poly in > awgn1o2_128.fsm. > > Many many thanks, > Ram > > > > --- On *Mon, 19/7/10, Achilleas Anastasopoulos * wrote: > > > From:

[Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Raman O
sing generator poly in  awgn1o2_128.fsm. Many many thanks, Ram --- On Mon, 19/7/10, Achilleas Anastasopoulos wrote: From: Achilleas Anastasopoulos Subject: Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder To: "Raman O" , discuss-gnuradio@gnu.org Date: Monday, 19 July,

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
connect( encoder , 0,mod, 0); > > connect(mod, 0,metrics, > 0); > connect(metrics, 0, viterbi, 0); > connect( viterbi, 0,stream2vector, 0); > connect(stream2vector, 0, d_dst, 0); > > > > > --- On *Mon, 19/7/10, Achilleas Anastasopoulos * wrote:

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Raman O
tasopoulos Subject: Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder To: "gnuradio mailing list" , gnuma...@yahoo.com Date: Monday, 19 July, 2010, 6:47 PM I also realized that the way you call gr_make_vector_source_s(in_bits,false,K ); is incorrect. I think you have mis

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
I also realized that the way you call gr_make_vector_source_s(in_bits,false,K ); is incorrect. I think you have misunderstood what this block does. You should use: gr_make_vector_source_s(in_bits,false,1 ); or simply gr_make_vector_source_s(in_bits,false); and you really don't need the vector2s

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
In your code the "encoder" block is not connected to any other block... It should be: info bits -> encoder -> modulator -> channel -> metrics -> viterbi Achilleas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailma

[Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-18 Thread Raman O
Hello , I am using conv encoder and  viterbi decoder in FHSS-BPSK transceiver. Below I have pasted encoder-decoder code which is a part of pure C++ application. Problem is  encoder input and decoder output do not match. Can anyone point where i am making mistake ? Thanks in advance Ram