50 | | The TLM-T implementation is not yet available. |
| 48 | == a) Component definition & usage == |
| 49 | |
| 50 | === Component definition === |
| 51 | |
| 52 | * source:trunk/soclib/soclib/module/ofdm_chain_components/upsampling/tlmdt/metadata/upsampling.sd |
| 53 | |
| 54 | == b) TLM-DT sources == |
| 55 | |
| 56 | * interface : source:trunk/soclib/soclib/module/ofdm_chain_components/upsampling/tlmdt/source/include/upsampling.h |
| 57 | * implementation : source:trunk/soclib/soclib/module/ofdm_chain_components/upsampling/tlmdt/source/src/upsampling.cpp |
| 58 | |
| 59 | |
| 60 | === TLM-DT Constructor parameters === |
| 61 | |
| 62 | {{{ |
| 63 | Upsampling(sc_core::sc_module_name name, // Instance name |
| 64 | uint32_t id, |
| 65 | uint32_t read_fifo_depth, // Depth of input buffer |
| 66 | uint32_t write_fifo_depth, // Depth of output buffer |
| 67 | uint32_t n_read_channels, // Number of read channels |
| 68 | uint32_t n_write_channels, // Number of write channels |
| 69 | uint32_t n_config, // Number of configurations |
| 70 | uint32_t n_status); // Number of status |
| 71 | }}} |
| 72 | |
| 73 | === TLM-DT Ports === |
| 74 | * std::vector<tlm_utils::simple_target_socket_tagged<Upsampling,32,tlm::tlm_base_protocol_types> *> '''p_config''': configuration port |
| 75 | * std::vector<tlm_utils::simple_target_socket_tagged<Upsampling,32,tlm::tlm_base_protocol_types> *> '''p_status''': status port |
| 76 | * std::vector<tlm_utils::simple_initiator_socket_tagged<Upsampling,32,tlm::tlm_base_protocol_types> *> '''p_read_fifo''': port from the MWMR controller to the upsampling |
| 77 | * std::vector<tlm_utils::simple_initiator_socket_tagged<Upsampling,32,tlm::tlm_base_protocol_types> *> '''p_write_fifo''': port from the upsampling to the MWMR controller |