| 1 | [wiki:Component SocLib Components General Index] |
| 2 | |
| 3 | = !VirtualDspinNetwork = |
| 4 | |
| 5 | == 1) Functional Description == |
| 6 | |
| 7 | It is composed of two [wiki:Component/VirtualDspinArray VirtualDspinArray] , one for command paquets and the other for response paquets. |
| 8 | |
| 9 | == 2) Component definition & usage == |
| 10 | |
| 11 | source:trunk/soclib/soclib/module/network_component/virtual_dspin_network/caba/metadata/virtual_dspin_network.sd |
| 12 | |
| 13 | == 3) CABA implementation == |
| 14 | |
| 15 | === CABA sources === |
| 16 | |
| 17 | * interface : source:trunk/soclib/soclib/module/network_component/virtual_dspin_network/caba/source/include/virtual_dspin_network.h |
| 18 | * implementation : source:trunk/soclib/soclib/module/network_component/virtual_dspin_network/caba/source/src/virtual_dspin_network.cpp |
| 19 | |
| 20 | === CABA Constructor parameters === |
| 21 | |
| 22 | {{{ |
| 23 | VirtualDspinNetwork( sc_module_name insname, // instance name |
| 24 | const soclib::common::MappingTable &mt, // mapping table |
| 25 | const soclib::common::IntTab &ringid, // global subsystem index |
| 26 | const int &wrapper_fifo_depth, // wrapper fifo depth |
| 27 | int nb_attached_initiator, // number of VCI initiators |
| 28 | int nb_attached_target); // number of VCI targets |
| 29 | }}} |
| 30 | |
| 31 | |
| 32 | === CABA ports === |
| 33 | |
| 34 | * sc_in<bool> p_clk; // Global system clock |
| 35 | * sc_in<bool> p_resetn; // Global system reset |
| 36 | * soclib::caba::!DspinInput<vci_param> * p_in; // Ports to VCI targets |
| 37 | * soclib::caba::!DspinOutput<vci_param> * p_to_initiator;// Ports to VCI initiators |
| 38 | |
| 39 | == 4) TLMT implementation == |
| 40 | |
| 41 | The TLM-T implementation is not available yet. |