discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trellis.fsm method invoked with polynomials


From: Matteo Campanella
Subject: trellis.fsm method invoked with polynomials
Date: Fri, 17 Jan 2020 15:23:16 +0100

Hello, I have noticed that such a method ia available:


//# Automatically generate the FSM from the generator matrix
//# of a (n,k) binary convolutional code
//######################################################################
fsm::fsm(int k, int n, const std::vector<int>& G) I am doing some experimentation with BPSK31 code generation which uses Rate=1/2, Constraint length=5 convolutional code, polys are 0x17 and 0x19
now, k = 5 and n = 2, but how do I describe the polys in terms of array? I though, being poly1=0b10111 and poly2=0b11001, I had to specify them as a single array [1,0,1,1,1,1,1,0,0,1], but the comment talks about the generator matrix. Unluckily any attempt to specify a matrix returns error, and the C code seems to confirm an array is expected. any help? thank in advance matteo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]