| | 1 | [wiki:Component SocLib Components General Index] |
| | 2 | |
| | 3 | = Synchronization = |
| | 4 | |
| | 5 | == 1) Functional Description == |
| | 6 | |
| | 7 | The synchronization operation consists in determining the beginning of the pilot sequence and to estimate and compensate the sampling clock difference between the transmitter and the receiver. |
| | 8 | The architecture of the synchronization component is presented in the figure 1. It is composed of a synchronization core and a MWMR wrapper. The wrapper is used to interface the core and the MWMR controller avalaible here [wiki:Component/VciMwmrController VciMwmrController]. |
| | 9 | |
| | 10 | [[Image(synchronization.png,align=top,nolink)]] |
| | 11 | |
| | 12 | |
| | 13 | == 2) Component definition & usage == |
| | 14 | |
| | 15 | === Component definition === |
| | 16 | |
| | 17 | * source:trunk/soclib/soclib/module/ofdm_chain_components/synchronization/caba/metadata/synchronization.sd |
| | 18 | |
| | 19 | === Usage === |
| | 20 | |
| | 21 | synchronization has a ''fifo_depth'' parameter, which defines the fifo depth for the input and the output. |
| | 22 | For example with a FIFO depth equal to 16 : |
| | 23 | Uses('synchronization', fifo_depth = 16); |
| | 24 | |
| | 25 | == 3) CABA Implementation == |
| | 26 | |
| | 27 | === CABA sources === |
| | 28 | |
| | 29 | * interface : source:trunk/soclib/soclib/module/ofdm_chain_components/synchronization/caba/source/include/synchronization.h |
| | 30 | * implementation : source:trunk/soclib/soclib/module/ofdm_chain_components/synchronization/caba/source/src/synchronization.cpp |
| | 31 | |
| | 32 | |
| | 33 | === CABA Constructor parameters === |
| | 34 | |
| | 35 | {{{ |
| | 36 | Synchronization( |
| | 37 | sc_module_name name, // Instance name |
| | 38 | int ncycles) // Number of computation cycles |
| | 39 | }}} |
| | 40 | |
| | 41 | === CABA Ports === |
| | 42 | |
| | 43 | * sc_in<bool> '''p_resetn''' : hardware reset |
| | 44 | * sc_in<bool> '''p_clk''' : clock |
| | 45 | * soclib::caba::FifoOutput<uint32_t> '''p_to_ctrl''' : interface from the synchronization to the MWMR controller |
| | 46 | * soclib::caba::FifoInput<uint32_t> '''p_from_ctrl''' : interface from the MWMR controller to the synchronization |
| | 47 | |
| | 48 | == 4) TLM-T Implementation == |
| | 49 | |
| | 50 | The TLM-T implementation is not yet available. |