Changeset 78 for trunk/modules/vci_synthetic_initator/caba/sources/include
- Timestamp:
- Aug 27, 2010, 4:24:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_synthetic_initator/caba/sources/include/vci_synthetic_initator.h
r77 r78 73 73 74 74 VciSyntheticInitiator( 75 sc_module_name name, // Instance Name 76 const soclib::common::MappingTable &mtp, // Mapping table for primary requets 77 const soclib::common::IntTab &vci_index, // VCI port to PROC (initiator) 78 size_t nways, // Number of ways per set 79 size_t nsets, // Number of sets 80 size_t nwords); // Number of words per line 75 sc_module_name name, 76 size_t length, // Packet length (flit numbers) 77 float rho, // Packets ratio on the network 78 size_t depth, // Fifo depth 79 size_t x, // 80 size_t y, // 81 size_t xmesh, 82 size_t ymesh, 83 size_t bc_period, // Broadcast period, if no broadcast => 0 84 size_t xmin, 85 size_t xmax, 86 size_t ymin, 87 size_t ymax 88 const soclib::common::IntTab &vci_index, 89 ); 81 90 82 91 ~VciSyntheticInitiator(); … … 91 100 92 101 // Component attributes 93 const size_t m_initiators; // Number of initiators 94 const size_t m_ways; // Number of ways in a set 95 const size_t m_sets; // Number of cache sets 96 const size_t m_words; // Number of words in a line 97 const size_t m_srcid; // Srcid for requests to processors 102 const size_t m_length; // Number of flits of a packet 103 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 98 114 99 data_t ***m_cache_data; // data array[set][way][word] 100 101 // adress masks 102 const soclib::common::AddressMaskingTable<addr_t> m_x; 103 const soclib::common::AddressMaskingTable<addr_t> m_y; 104 const soclib::common::AddressMaskingTable<addr_t> m_z; 105 const soclib::common::AddressMaskingTable<addr_t> m_nline; 106 107 ////////////////////////////////////////////////// 108 // Registers controlled by the TGT_CMD fsm 109 ////////////////////////////////////////////////// 110 111 // Fifo between TGT_CMD fsm and READ fsm 112 GenericFifo<addr_t> m_cmd_read_addr_fifo; 115 // Fifo transmitting date to the VCI FSM 116 GenericFifo<uint64_t> m_date_fifo; 113 117 114 118 sc_signal<int> r_vci_fsm; … … 116 120 sc_signal<size_t> r_index; 117 121 118 }; // end class Vci MemCache122 }; // end class VciSyntheticInitiator 119 123 120 124 }}
Note: See TracChangeset
for help on using the changeset viewer.