#include <loop_filter.h>
Collaboration diagram for SPUC::loop_filter< Numeric, Coeff >:

Public Types | |
| typedef unquantized_mixed_type< Numeric, Coeff >::dtype | k_type |
| Accumulator for k1 branch (should not be written to). | |
Public Member Functions | |
| loop_filter (void) | |
| Constructor. | |
| void | reset (void) |
| Reset. | |
| Numeric | update (Numeric error) |
| Normal call with input, returns output. | |
Public Attributes | |
| long | k0_en |
| enable first order branch | |
| long | k1_en |
| enable second order branch | |
| Coeff | k0 |
| First order gain. | |
| Coeff | k1 |
| second order gain | |
| k_type | k1_acc |
Protected Attributes | |
| Numeric | loop_out |
| k_type | k1_prod |
| k_type | k0_prod |
Template for 2nd order loop filter (for timing/carrier recovery, etc). Either branch can be enabled/disabled for 1st/2nd order operation There is no overflow protection on accumulator. Gains are not normalized.
| typedef unquantized_mixed_type<Numeric,Coeff>::dtype SPUC::loop_filter< Numeric, Coeff >::k_type |
Accumulator for k1 branch (should not be written to).
| SPUC::loop_filter< Numeric, Coeff >::loop_filter | ( | void | ) | [inline] |
Constructor.
| void SPUC::loop_filter< Numeric, Coeff >::reset | ( | void | ) | [inline] |
Reset.
| Numeric SPUC::loop_filter< Numeric, Coeff >::update | ( | Numeric | error | ) | [inline] |
Normal call with input, returns output.
| Coeff SPUC::loop_filter< Numeric, Coeff >::k0 |
First order gain.
| long SPUC::loop_filter< Numeric, Coeff >::k0_en |
enable first order branch
k_type SPUC::loop_filter< Numeric, Coeff >::k0_prod [protected] |
| Coeff SPUC::loop_filter< Numeric, Coeff >::k1 |
second order gain
| k_type SPUC::loop_filter< Numeric, Coeff >::k1_acc |
| long SPUC::loop_filter< Numeric, Coeff >::k1_en |
enable second order branch
k_type SPUC::loop_filter< Numeric, Coeff >::k1_prod [protected] |
Numeric SPUC::loop_filter< Numeric, Coeff >::loop_out [protected] |
1.4.7