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 |
| 18 | * interface : source:trunk/soclib/soclib/module/network_component/virtual_dspin_network/caba/source/include/virtual_dspin_network.h |
| 19 | * implementation : source:trunk/soclib/soclib/module/network_component/virtual_dspin_network/caba/source/src/virtual_dspin_network.cpp |
| 20 | |
| 21 | === CABA Template parameters === |
| 22 | |
| 23 | * int io_mask_size : Size in bits of IO checking |
| 24 | * int io_number_size : Size in bits of IO index |
| 25 | * int x_addressing_size : Size in bits of first coordinate addressing |
| 26 | * int y_addressing_size : Size of second coordinate addressing |
| 27 | |
| 28 | * int cmd_data_size : Size in bits of command flits |
| 29 | * int cmd_io_mask_offset : Emplacement of IO checking in command paquets |
| 30 | * int cmd_io_number_offset : Emplacement of IO index in IO table in command paquets |
| 31 | * int cmd_x_addressing_offset : Emplacement of target x in first flit in command paquets |
| 32 | * int cmd_y_addressing_offset : Emplacement of target y in first flit in command paquets |
| 33 | * int cmd_eop_offset : Emplacement of eop checking in command paquets |
| 34 | * int cmd_broadcast_offset : Emplacement of broadcast checking in command paquets |
| 35 | |
| 36 | * int rsp_data_size : Size in bits of response flits |
| 37 | * int rsp_io_mask_offset : Emplacement of IO checking in response paquets |
| 38 | * int rsp_io_number_offset : Emplacement of IO index in IO table in response paquets |
| 39 | * int rsp_x_addressing_offset : Emplacement of target x in first flit in response paquets |
| 40 | * int rsp_y_addressing_offset : Emplacement of target y in first flit in response paquets |
| 41 | * int rsp_eop_offset : Emplacement of eop checking in response paquets |
| 42 | |
| 43 | * int in_fifo_size : Size of input fifos |
| 44 | * int out_fifo_size : Size of output fifos |
| 45 | * int x_min_offset, : Emplacement of x_min for broadcast confinement |
| 46 | * int x_max_offset, : Emplacement of x_max for broadcast confinement |
| 47 | * int y_min_offset, : Emplacement of y_min for broadcast confinement |
| 48 | * int y_max_offset : Emplacement of x_max for broadcast confinement |
| 49 | |
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 |
| 54 | VirtualDspinNetwork( sc_module_name insname, // instance name |
| 55 | int size_x, // width of network |
| 56 | int size_y, // height of network |
| 57 | clusterCoordinates<x_addressing_size, y_addressing_size> * aIO_table); // list of IO Clusters |
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 |
| 63 | * sc_in<bool> p_clk; // Global system clock |
| 64 | * sc_in<bool> p_resetn; // Global system reset |
| 65 | * DspinOutput<cmd_data_size> *** p_out_cmd; |
| 66 | * DspinInput<cmd_data_size> *** p_in_cmd; |
| 67 | * DspinOutput<rsp_data_size> *** p_out_rsp; |
| 68 | * DspinInput<rsp_data_size> *** p_in_rsp; |