itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
Enumerations
_sim_enum_def.h File Reference

Go to the source code of this file.

Enumerations

enum  win_type { WIN_RECT = 0, WIN_HANNING = 1, WIN_KAISER_BESSEL = 2, WIN_FLAT_TOP = 3 }
 
enum  tedg_mode { TEDG_MODE_STD = 0, TEDG_MODE_EDGE = 1, TEDG_MODE_PUMP = 2 }
 
BERT_FSM

enum  bert_fsm_state {
  BERT_FSM_RESET = 0, BERT_FSM_RELOAD = 1, BERT_FSM_PRESET = 2, BERT_FSM_nSYNC = 3,
  BERT_FSM_SYNC = 4
}
 
BERT_ADDR

enum  bert_adr { BERT_ADR_LSRX = 0, BERT_ADR_LSRY = 1, BERT_ADR_PRBS = 2 }
 addresses of bert internal registers
used by SIM::bert.set_adr() for defining target register of SIM::bert.get_state() More...
 

Enumeration Type Documentation

enum bert_adr

addresses of bert internal registers
used by SIM::bert.set_adr() for defining target register of SIM::bert.get_state()

Enumerator
BERT_ADR_LSRX 

X[0:N] LSR.

BERT_ADR_LSRY 

Y[0:N] LSR.

BERT_ADR_PRBS 

PRBS[0:n] LFSR, size determined by PRBS index or poly, n<=N.

states of bert internal FSM - auto transitions in SIM::bert::process()
transitions are determined by threshold settings [T0,T1,T2]
metrics is sum(xor(X,Y)) where X[0:N-1] is input fed LSR, Y[0:N-1] is PRBS fed LSR
N should be greater or equal with PRBS size due setting state of PRBS LFSR in RELOAD state

Enumerator
BERT_FSM_RESET 

static idle state - no auto transition

BERT_FSM_RELOAD 

(after N bits shifted in X and PRBS<=X)->PRESET

BERT_FSM_PRESET 

after N bits shifted (metrics > T2)->RELOD, (T1 < metrics < T2)->nSYNC, (metrics<T0)->SYNC

BERT_FSM_nSYNC 

(metrics <=T0)->SYNC, (metrics <=T0)->RELOD

BERT_FSM_SYNC 

(metrics >T1)->nSYNC

enum tedg_mode
Enumerator
TEDG_MODE_STD 
TEDG_MODE_EDGE 
TEDG_MODE_PUMP 
enum win_type
Enumerator
WIN_RECT 
WIN_HANNING 
WIN_KAISER_BESSEL 
WIN_FLAT_TOP