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