Lines Matching defs:trans

134   void b_transport(int initiator_id, transaction_type& trans, sc_core::sc_time& t){
137 accessMySpecificExtensions(trans).get_extension(btag);
140 bool added_mm=!trans.has_mm(); //in case there is no MM in we add it now
142 trans.set_mm(this);
143 trans.acquire(); //acquire the txn
145 accessMySpecificExtensions(trans).set_extension(&tag);
147 initiatorNBTransport(initiator_id, trans, phase, t);
150 trans.release(); //we release our reference (this will not delete the txn but trigger the tag.event as soon as the ref count is zero)
151 if (trans.get_ref_count())
153 trans.set_mm(NULL); //remove the MM
156 accessMySpecificExtensions(trans).clear_extension(&tag);
168 void initiatorNBTransport_core(transaction_type& trans,
172 switch (initiator_socket[tgtSocketNumber]->nb_transport_fw(trans, phase, t)) {
179 m_bwPEQ.notify(trans,phase,t);
185 accessMySpecificExtensions(trans).get_extension(connInfo);
189 m_bwPEQ.notify(trans, phase, t);
198 transaction_type& trans,
203 accessMySpecificExtensions(trans).get_extension(connInfo);
204 m_fwPEQ.notify(trans,phase,t);
209 connInfo->fwID=decode(trans.get_address());
213 accessMySpecificExtensions(trans).set_extension(connInfo);
225 transaction_type& trans,
235 m_bwPEQ.notify(trans,phase,t);
239 void bwPEQcb(transaction_type& trans, const phase_type& phase){
242 accessMySpecificExtensions(trans).get_extension(connInfo);
247 accessMySpecificExtensions(trans).get_extension(btag);
251 sc_assert(m_pendingReqs[connInfo->fwID].front()==&trans);
261 m_pendingResps[connInfo->bwID].push_back(&trans);
268 m_fwPEQ.notify(trans, ph, t);
271 switch (target_socket[connInfo->bwID]->nb_transport_bw(trans, p, t)){
278 m_fwPEQ.notify(trans, ph, t);
290 void fwPEQcb(transaction_type& trans, const phase_type& phase){
292 accessMySpecificExtensions(trans).get_extension(connInfo);
297 trans.set_address(trans.get_address()&m_masks[connInfo->fwID]); //mask address
298 m_pendingReqs[connInfo->fwID].push_back(&trans);
300 initiatorNBTransport_core(trans, ph, t, connInfo->fwID);
307 accessMySpecificExtensions(trans).get_extension(btag);
308 accessMySpecificExtensions(trans).clear_extension(connInfo); //remove our specific extension as it is not needed any more
310 sync_enum_type tmp=initiator_socket[connInfo->fwID]->nb_transport_fw(trans, ph, t);