Thanks Achilleas. I read all the documentation concerning the trellis, and the final idea that comes to me is to write a code like the following (to implement the convolutional decoding 1/2, poly 91,121, constraint len 7):
input_length = 48 output_length = 24 src_data = [1.0 for index in range (input_length)] src = gr.vector_source_f (src_data, False, input_length) f = trellis.fsm (1,2,[91,121]) my_trellis_viterbi = trellis.viterbi_i (f,24,-1,-1) dst = gr.vector_sink_i (output_length) self.fg.connect (src, my_trellis_viterbi) self.fg.connect (my_trellis_viterbi, dst) self.fg.run () dec_temp = dst.data () why do you think it does not work? The error is always a mismatch of dimensions between inputs and outpus. Thx, Simone. -- View this message in context: http://old.nabble.com/trellis.viterbi-function_2part-tp27719893p27719893.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio