| 1 | [wiki:Component SocLib Components General Index] |
| 2 | |
| 3 | = !RingGateway = |
| 4 | |
| 5 | == 1) Functional Description == |
| 6 | |
| 7 | In a clusterized architecture, clusters are connected to the global interconnect by RingGateways. One RingGateway component is attached to one ring interconnect. This hardware component is composed of two components : |
| 8 | |
| 9 | * [wiki:Component/HalfGatewayInitiator HalfGatewayInitiator] : handles incoming commands and outcoming responses. |
| 10 | * [wiki:Component/HalfGatewayTarget HalfGatewayTarget] : handles outcoming commands and incoming responses. |
| 11 | |
| 12 | == 2) Component definition & usage == |
| 13 | |
| 14 | source:trunk/soclib/soclib/module/network_component/ring_gateway/caba/metadata/ring_gateway.sd |
| 15 | |
| 16 | == 3) CABA implementation == |
| 17 | |
| 18 | === CABA sources === |
| 19 | |
| 20 | * interface : source:trunk/soclib/soclib/module/network_component/ring_gateway/caba/source/include/ring_gateway.h |
| 21 | * implementation : source:trunk/soclib/soclib/module/network_component/ring_gateway/caba/source/src/ring_gateway.cpp |
| 22 | |
| 23 | === CABA Constructor parameters === |
| 24 | |
| 25 | {{{ |
| 26 | RingGateway( sc_module_name insname, // instance name |
| 27 | const soclib::common::MappingTable &mt, // mapping table |
| 28 | const soclib::common::IntTab &ringid, // global subsystem index |
| 29 | bool alloc_init, // default initiator token owner |
| 30 | bool alloc_target, // default target token owner |
| 31 | bool local, // routing parameter |
| 32 | const int &half_gateway_fifo_depth); // half gateway fifo depth |
| 33 | }}} |
| 34 | |
| 35 | === CABA ports === |
| 36 | |
| 37 | * sc_in<bool> p_clk; // Global system clock |
| 38 | * sc_in<bool> p_resetn; // Global system reset |
| 39 | * soclib::caba::!RingIn p_ring_in; // Ring input port |
| 40 | * soclib::caba::!RingOut p_ring_out; // Ring output port |
| 41 | * soclib::caba::!GateInitiator p_gate_initiator; // Port to gate target |
| 42 | * soclib::caba::!GateTarget p_gate_target; // Port to gate initiator |
| 43 | |
| 44 | == 4) TLMT implementation == |
| 45 | |
| 46 | The TLM-T implementation is not available yet. |