| 1 | [wiki:Component SocLib Components General Index] |
| 2 | |
| 3 | = Upsampling = |
| 4 | |
| 5 | == 1) Functional Description == |
| 6 | |
| 7 | The upsampling operation consists in adding zeros between the inputs (i.e. the OFDM symbols in our case). In our system, the upsampling factor is 4. This means that we add 3 zeros between each input. |
| 8 | The architecture of the upsampling component is presented in the figure 1. It is composed of a upsampling 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(upsampling.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/upsampling/caba/metadata/upsampling.sd |
| 18 | |
| 19 | === Usage === |
| 20 | |
| 21 | Upsampling 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('Upsampling', fifo_depth = 16); |
| 24 | |
| 25 | == 3) CABA Implementation == |
| 26 | |
| 27 | === CABA sources === |
| 28 | |
| 29 | * interface : source:trunk/soclib/soclib/module/ofdm_chain_components/upsampling/caba/source/include/upsampling.h |
| 30 | * implementation : source:trunk/soclib/soclib/module/ofdm_chain_components/upsampling/caba/source/src/upsampling.cpp |
| 31 | |
| 32 | |
| 33 | === CABA Constructor parameters === |
| 34 | |
| 35 | {{{ |
| 36 | Upsampling( |
| 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 upsampling to the MWMR controller |
| 46 | * soclib::caba::FifoInput<uint32_t> '''p_from_ctrl''' : interface from the MWMR controller to the upsampling |
| 47 | |
| 48 | == 4) TLM-T Implementation == |
| 49 | |
| 50 | The TLM-T implementation is not yet available. |