itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
Public Member Functions | List of all members
SIM::casdec_x Class Reference

cascade of by 2 complex decimators
Core function SIM::casdec_x.process()
More...

Inheritance diagram for SIM::casdec_x:
Inheritance graph
[legend]

Public Member Functions

 casdec_x ()
 
 ~casdec_x ()
 
void set_decimator_order (int k)
 
void set_decimator_rate (int r)
 
void set_taps (cvec c)
 
void reset ()
 
cmat process (const bvec &ce, const cvec &x)
 

Detailed Description

cascade of by 2 complex decimators
Core function SIM::casdec_x.process()

Constructor & Destructor Documentation

SIM::casdec_x::casdec_x ( )
inline
SIM::casdec_x::~casdec_x ( )
inline

Member Function Documentation

cmat SIM::casdec_x::process ( const bvec &  ce,
const cvec &  x 
)

process input samples - [x] for active clock ticks [ce]

Parameters
ce- bvec - clock enable vector
x- cvec - input sample vector
Returns
y - cmat - [cvec|ceo] complex output sample vector|ce output
void SIM::casdec_x::reset ( )

reset all FIR filters and counters in cascade

void SIM::casdec_x::set_decimator_order ( int  k)

set order 2^N = k - where N is number of decimators

Parameters
[in]kdecimator order 2^N
void SIM::casdec_x::set_decimator_rate ( int  r)

set rate 2^n = r - default rate is 2^N - where

Parameters
[in]rdecimator rate r= 2^n, n <= N number of decimators
void SIM::casdec_x::set_taps ( cvec  c)

set FIR coefficients

Parameters
[in]c- [cvec] FIR coefficients

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