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