atsci_single_viterbi Class Reference

#include <atsci_single_viterbi.h>

List of all members.


Detailed Description

single channel viterbi decoder

Public Member Functions

 atsci_single_viterbi ()
char decode (float input)
void reset ()
int delay ()
 internal delay of decoder

Static Public Attributes

static const unsigned int TB_LEN = 32

Protected Attributes

float path_metrics [2][8]
unsigned long long traceback [2][8]
unsigned char phase

Static Protected Attributes

static const int transition_table [32]
static const float was_sent [32]

Constructor & Destructor Documentation

atsci_single_viterbi::atsci_single_viterbi (  ) 

References reset().


Member Function Documentation

char atsci_single_viterbi::decode ( float  input  ) 

INPUT ideally takes on the values +/- 1,3,5,7 return is decoded dibit in the range [0, 3]

References path_metrics, phase, traceback, transition_table, and was_sent.

void atsci_single_viterbi::reset (  ) 

int atsci_single_viterbi::delay (  )  [inline]

internal delay of decoder

References TB_LEN.

Referenced by atsci_viterbi_decoder::atsci_viterbi_decoder().


Member Data Documentation

const unsigned int atsci_single_viterbi::TB_LEN = 32 [static]

Referenced by delay().

const int atsci_single_viterbi::transition_table [static, protected]

Initial value:

 {
  0,2,4,6,
  2,0,6,4,
  1,3,5,7,
  3,1,7,5,
  4,6,0,2,
  6,4,2,0,
  5,7,1,3,
  7,5,3,1
}

Referenced by decode().

const float atsci_single_viterbi::was_sent [static, protected]

Initial value:

 {
  -7,-3,-7,-3,-7,-3,-7,-3,
  -5,-1,-5,-1,-5,-1,-5,-1,
  1,5,1,5,1,5,1,5,
  3,7,3,7,3,7,3,7
}

Referenced by decode().

float atsci_single_viterbi::path_metrics[2][8] [protected]

Referenced by decode(), and reset().

unsigned long long atsci_single_viterbi::traceback[2][8] [protected]

Referenced by decode(), and reset().

unsigned char atsci_single_viterbi::phase [protected]

Referenced by decode(), and reset().


The documentation for this class was generated from the following files:

Generated on Thu Mar 27 14:42:28 2008 for GNU Radio 3.1.1 by  doxygen 1.5.5