| | 1 | [wiki:Component SocLib Components General Index] |
| | 2 | |
| | 3 | = !VciPiTargetWrapper Functional Description = |
| | 4 | |
| | 5 | This hardware component is a VCI/PIBUS protocol converter. |
| | 6 | It behaves as a target on the PIBUS interface, and behaves as an initiator on |
| | 7 | the VCI interface. It can be used by a VCI target to interface |
| | 8 | a PIBUS based system on chip. |
| | 9 | * A single FSM controls the PIBUS and VCI interfaces. Therefore, the throughput |
| | 10 | cannot be larger than 2cycles per 32bits words, even in case of a burst. |
| | 11 | * The supported PIBU response codes are PI_ACK_RDY, PI_ACK_WAT, and PI_ACK_ERR. |
| | 12 | |
| | 13 | = !VciPiTargetWrapper CABA Implementation = |
| | 14 | |
| | 15 | The caba implementation is in |
| | 16 | * source:trunk/soclib/systemc/include/caba/interconnect/vci_pi_target_wrapper.h |
| | 17 | * source:trunk/soclib/systemc/src/caba/interconnect/vci_pi_target_wrapper.cc |
| | 18 | |
| | 19 | == Template parameters == |
| | 20 | |
| | 21 | template<typename vci_param> |
| | 22 | |
| | 23 | == Constructor parameters == |
| | 24 | {{{ |
| | 25 | VciPiTargetWrapper( sc_module_name name); // Instance Name |
| | 26 | }}} |
| | 27 | |
| | 28 | == Ports == |
| | 29 | |
| | 30 | * sc_in<bool> '''p_resetn''' : Global system reset |
| | 31 | * sc_in<bool> '''p_clk''' : Global system clock |
| | 32 | * sc_in<bool> '''p_sel''' : Target select (from the PIBUS controller) |
| | 33 | * soclib::caba::!VciInitiator<vci_param> '''p_vci''' : The VCI port |
| | 34 | * soclib::caba::!PibusTarget '''p_pi''' : The PIBUS port |