Changeset 81 for trunk/modules/vci_synthetic_initator/caba/sources/include
- Timestamp:
- Aug 31, 2010, 2:18:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_synthetic_initator/caba/sources/include/vci_synthetic_initator.h
r78 r81 61 61 }; 62 62 63 uint32_t m_cpt_cycles; // Counter of cycles 63 uint64_t m_cpt_cycles; // Counter of cycles 64 64 65 65 66 protected: … … 77 78 float rho, // Packets ratio on the network 78 79 size_t depth, // Fifo depth 79 size_t x, //80 size_t y, //80 size_t x, // X location of the synthetic initiator 81 size_t y, // Y location of the synthetic initiator 81 82 size_t xmesh, 82 83 size_t ymesh, … … 85 86 size_t xmax, 86 87 size_t ymin, 87 size_t ymax 88 const soclib::common::IntTab &vci_index ,88 size_t ymax, 89 const soclib::common::IntTab &vci_index 89 90 ); 90 91 … … 95 96 void genMoore(); 96 97 97 void print_stats();98 void destAdress(size_t X_local, size_t Y_local, size_t &X_dest, size_t &Y_dest); 98 99 99 100 private: … … 102 103 const size_t m_length; // Number of flits of a packet 103 104 const size_t m_rho; // Rate of packets in the network wanted 104 const size_t m_depth, // Fifo depth 105 const size_t m_x, // 106 const size_t m_y, // 107 const size_t m_xmesh, 108 const size_t m_ymesh, 109 const size_t m_bc_period, // Broadcast period, if no broadcast => 0 110 const size_t m_xmin, 111 const size_t m_xmax, 112 const size_t m_ymin, 113 const size_t m_ymax 105 const size_t m_depth; // Fifo depth 106 const size_t m_x; // X location 107 const size_t m_y; // Y location 108 const size_t m_xmesh; 109 const size_t m_ymesh; 110 const size_t m_bc_period; // Broadcast period, if no broadcast => 0 111 const size_t m_xmin; 112 const size_t m_xmax; 113 const size_t m_ymin; 114 const size_t m_ymax; 115 116 size_t m_count; 117 size_t m_npackets; // Total number of packets already sent 114 118 115 119 // Fifo transmitting date to the VCI FSM … … 120 124 sc_signal<size_t> r_index; 121 125 126 sc_signal<bool> r_broadcast_req; 127 122 128 }; // end class VciSyntheticInitiator 123 129
Note: See TracChangeset
for help on using the changeset viewer.