Searched refs:phase (Results 1 - 25 of 50) sorted by relevance

12

/gem5/util/tlm/examples/master_port/
H A Dtraffic_generator.cc91 tlm::tlm_phase phase = tlm::BEGIN_REQ; local
94 auto status = socket->nb_transport_fw(*trans, phase, delay);
98 peq.notify(*trans, phase, delay);
110 const tlm::tlm_phase& phase)
112 if (phase == tlm::END_REQ ||
113 (&trans == requestInProgress && phase == tlm::BEGIN_RESP)) {
114 // The end of the BEGIN_REQ phase
117 } else if (phase == tlm::BEGIN_REQ || phase == tlm::END_RESP)
119 "Illegal transaction phase receive
109 peq_cb(tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase) argument
147 nb_transport_bw(tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay) argument
[all...]
H A Dtraffic_generator.hh68 void peq_cb(tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase);
73 tlm::tlm_phase& phase,
/gem5/src/systemc/tests/tlm/multi_sockets/
H A DMultiSocketSimpleSwitchAT.h82 bool clearReq; //is the txn still in req phase?
146 phase_type phase=tlm::BEGIN_REQ; //then simply use our nb implementation (respects all the rules) local
147 initiatorNBTransport(initiator_id, trans, phase, t);
169 phase_type& phase,
172 switch (initiator_socket[tgtSocketNumber]->nb_transport_fw(trans, phase, t)) {
176 if (phase != tlm::BEGIN_REQ)
178 sc_assert(phase!=tlm::END_RESP);
179 m_bwPEQ.notify(trans,phase,t);
188 phase=tlm::BEGIN_RESP;
189 m_bwPEQ.notify(trans, phase,
168 initiatorNBTransport_core(transaction_type& trans, phase_type& phase, sc_core::sc_time& t, unsigned int tgtSocketNumber) argument
197 initiatorNBTransport(int initiator_id, transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
224 targetNBTransport(int portId, transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
239 bwPEQcb(transaction_type& trans, const phase_type& phase) argument
290 fwPEQcb(transaction_type& trans, const phase_type& phase) argument
[all...]
/gem5/util/tlm/src/
H A Dsc_peq.hh59 const tlm::tlm_phase& phase);
73 const tlm::tlm_phase& phase),
82 void notify(tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase, argument
88 p = phase;
70 PayloadEvent(OWNER& port_, void (OWNER::*handler_)(PayloadEvent<OWNER>* pe, tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase), const std::string& event_name) argument
H A Dsc_slave_port.cc245 tlm::tlm_phase phase = tlm::BEGIN_REQ; local
247 status = transactor->socket->nb_transport_fw(*trans, phase, delay);
250 sc_assert(phase == tlm::BEGIN_REQ);
255 sc_assert(phase == tlm::END_REQ || phase == tlm::BEGIN_RESP);
260 pe->notify(*trans, phase, delay);
263 sc_assert(phase == tlm::END_RESP);
274 const tlm::tlm_phase& phase)
278 if (phase == tlm::END_REQ ||
279 &trans == blockingRequest && phase
271 pec( PayloadEvent<SCSlavePort> * pe, tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase) argument
348 tlm::tlm_phase phase = tlm::END_RESP; local
355 nb_transport_bw(tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay) argument
[all...]
H A Dsc_slave_port.hh77 tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase);
111 tlm::tlm_phase& phase,
H A Dsc_master_port.cc146 tlm::tlm_phase& phase, sc_core::sc_time& delay)
165 peq.notify(trans, phase, delay);
171 const tlm::tlm_phase& phase)
177 switch (phase) {
185 panic("unimplemented phase in callback");
248 tlm::tlm_phase phase = tlm::END_REQ; local
251 auto status = transactor->socket->nb_transport_bw(trans, phase, delay);
371 tlm::tlm_phase phase = tlm::BEGIN_RESP; local
375 auto status = transactor->socket->nb_transport_bw(trans, phase, delay);
378 status == tlm::TLM_UPDATED && phase
145 nb_transport_fw(tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay) argument
170 peq_cb(tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase) argument
[all...]
/gem5/src/systemc/tlm_bridge/
H A Dsc_peq.hh59 const tlm::tlm_phase& phase);
73 const tlm::tlm_phase& phase),
82 void notify(tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase, argument
88 p = phase;
70 PayloadEvent(OWNER& port_, void (OWNER::*handler_)(PayloadEvent<OWNER>* pe, tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase), const std::string& event_name) argument
H A Dgem5_to_tlm.cc128 tlm::tlm_generic_payload &trans, const tlm::tlm_phase &phase)
132 if (phase == tlm::END_REQ ||
133 (&trans == blockingRequest && phase == tlm::BEGIN_RESP)) {
143 if (phase == tlm::BEGIN_RESP) {
169 if (phase == tlm::BEGIN_RESP) {
346 tlm::tlm_phase phase = tlm::BEGIN_REQ; local
348 status = socket->nb_transport_fw(*trans, phase, delay);
351 sc_assert(phase == tlm::BEGIN_REQ);
356 sc_assert(phase == tlm::END_REQ || phase
126 pec( Gem5SystemC::PayloadEvent<Gem5ToTlmBridge<BITWIDTH>> *pe, tlm::tlm_generic_payload &trans, const tlm::tlm_phase &phase) argument
406 tlm::tlm_phase phase = tlm::END_RESP; local
432 nb_transport_bw(tlm::tlm_generic_payload &trans, tlm::tlm_phase &phase, sc_core::sc_time &delay) argument
[all...]
/gem5/src/systemc/tests/include/
H A DSimpleBusAT.h116 phase_type phase = tlm::BEGIN_REQ; local
121 switch ((*decodeSocket)->nb_transport_fw(*trans, phase, t)) {
125 if (phase == tlm::BEGIN_REQ) {
126 // Request phase not yet finished
129 } else if (phase == tlm::END_REQ) {
130 // Request phase finished, but response phase not yet started
133 } else if (phase == tlm::BEGIN_RESP) {
144 phase = tlm::END_REQ;
146 (*it->second.from)->nb_transport_bw(*trans, phase,
178 phase_type phase = tlm::BEGIN_RESP; local
221 initiatorNBTransport(int initiator_id, transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
245 targetNBTransport(int portId, transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
[all...]
H A DSimpleATTarget1.h69 // phase)
71 // phase)
73 sync_enum_type myNBTransport(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
75 if (phase == tlm::BEGIN_REQ) {
99 // Notify end of request phase after ACCEPT delay
107 // - seperate call to indicate end of phase (do not update phase or t)
110 } else if (phase == tlm::END_RESP) {
112 // response phase ends after t
126 // end request phase o
[all...]
H A DExplicitATTarget.h56 sync_enum_type myNBTransport(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
58 if (phase == tlm::BEGIN_REQ) {
79 // End request phase
80 phase = tlm::END_REQ;
97 } else if (phase == tlm::END_RESP) {
116 // start response phase
117 phase_type phase = tlm::BEGIN_RESP;
133 if (socket->nb_transport_bw(*mCurrentTransaction, phase, t) == tlm::TLM_COMPLETED) {
H A DSimpleATTarget2.h65 // phase)
67 // phase)
70 phase_type& phase,
73 if (phase == tlm::BEGIN_REQ) {
98 // End request phase after accept delay
100 phase = tlm::END_REQ;
104 // Notify begin of response phase after accept delay + response delay
111 // - immediately return delay to indicate end of phase
114 } else if (phase == tlm::END_RESP) {
116 // response phase end
69 myNBTransport(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
[all...]
H A DSimpleATInitiator2.h181 phase_type phase; local
186 // Create transaction and initialise phase and t
188 phase = tlm::BEGIN_REQ;
193 switch (socket->nb_transport_fw(trans, phase, t)) {
203 switch (phase) {
205 // Request phase not yet finished
206 // Wait until end of request phase before sending new request
215 // Request phase ended
223 // Request phase ended and response phase alread
253 myNBTransport(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
[all...]
H A DSimpleATInitiator1.h185 phase_type phase; local
190 // Create transaction and initialise phase and t
192 phase = tlm::BEGIN_REQ;
197 switch (socket->nb_transport_fw(trans, phase, t)) {
207 switch (phase) {
209 // Request phase not yet finished
210 // Wait until end of request phase before sending new request
219 // Request phase ended
227 // Request phase ended and response phase alread
255 myNBTransport(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
299 phase_type phase = tlm::END_RESP; local
[all...]
/gem5/src/systemc/tests/tlm/nb2b_adapter/
H A Dnb2b_adapter.cpp50 tlm::tlm_phase phase; local
94 phase = tlm::BEGIN_REQ;
99 status = socket->nb_transport_fw( *trans, phase, delay );
104 m_peq.notify( *trans, phase, delay );
119 tlm::tlm_phase& phase, sc_time& delay )
125 m_peq.notify( trans, phase, delay );
129 void peq_cb(tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase) argument
131 if (phase == tlm::END_REQ || (&trans == request_in_progress && phase == tlm::BEGIN_RESP))
136 else if (phase
118 nb_transport_bw( tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_time& delay ) argument
222 nb_transport_fw( int id, tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_time& delay ) argument
265 nb_transport_bw( int id, tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_time& delay ) argument
[all...]
/gem5/src/systemc/tests/tlm/static_extensions/ext2gp/
H A Dextension_adaptors.h63 tlm::tlm_phase& phase,
66 return initiator_socket->nb_transport_fw(trans, phase, t);
72 tlm::tlm_phase& phase,
75 return target_socket->nb_transport_bw(trans, phase, t);
138 tlm::tlm_phase& phase,
155 initiator_socket->nb_transport_fw(trans, phase, t);
164 tlm::tlm_phase& phase,
168 return target_socket->nb_transport_bw(trans, phase, t);
62 forward_nb_transport(initiator_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
71 backward_nb_transport(target_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
137 forward_nb_transport(initiator_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
163 backward_nb_transport(target_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
/gem5/src/systemc/tests/tlm/static_extensions/ext2gp2ext/
H A Dextension_adaptors.h63 tlm::tlm_phase& phase,
66 return initiator_socket->nb_transport_fw(trans, phase, t);
72 tlm::tlm_phase& phase,
75 return target_socket->nb_transport_bw(trans, phase, t);
138 tlm::tlm_phase& phase,
155 initiator_socket->nb_transport_fw(trans, phase, t);
164 tlm::tlm_phase& phase,
168 return target_socket->nb_transport_bw(trans, phase, t);
62 forward_nb_transport(initiator_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
71 backward_nb_transport(target_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
137 forward_nb_transport(initiator_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
163 backward_nb_transport(target_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
/gem5/src/systemc/tests/tlm/static_extensions/gp2ext/
H A Dextension_adaptors.h63 tlm::tlm_phase& phase,
66 return initiator_socket->nb_transport_fw(trans, phase, t);
72 tlm::tlm_phase& phase,
75 return target_socket->nb_transport_bw(trans, phase, t);
138 tlm::tlm_phase& phase,
155 initiator_socket->nb_transport_fw(trans, phase, t);
164 tlm::tlm_phase& phase,
168 return target_socket->nb_transport_bw(trans, phase, t);
62 forward_nb_transport(initiator_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
71 backward_nb_transport(target_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
137 forward_nb_transport(initiator_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
163 backward_nb_transport(target_payload_type& trans, tlm::tlm_phase& phase, sc_core::sc_time& t) argument
/gem5/ext/systemc/src/tlm_utils/
H A Dtlm2_base_protocol_checker.h86 nb_transport: phase sequence BEGIN_REQ -> END_REQ -> BEGIN_RESP -> END_RESP
90 Must not call b_transport during nb_transport phase sequence and vice-versa
199 tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay)
201 tlm::tlm_phase start_phase = phase;
204 nb_transport_fw_pre_checks( trans, phase, delay );
207 status = initiator_socket->nb_transport_fw( trans, phase, delay );
210 nb_transport_fw_post_checks( trans, start_phase, phase, delay, status );
216 tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay)
219 nb_transport_bw_pre_checks( trans, phase, delay );
222 status = target_socket->nb_transport_bw( trans, phase, dela
198 nb_transport_fw( tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay) argument
215 nb_transport_bw( tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay) argument
384 nb_transport_fw_pre_checks( tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay) argument
405 txt << "Phase " << phase << " sent out-of-sequence on forward path, detected in nb_transport_fw"; local
426 txt << "Phase " << phase << " sent on forward path, detected in nb_transport_fw"; local
433 txt << "Phase " << phase << " sent out-of-sequence on forward path, detected in nb_transport_fw"; local
455 nb_transport_fw_post_checks( tlm::tlm_generic_payload& trans, tlm::tlm_phase& start_phase, tlm::tlm_phase& phase, sc_core::sc_time& delay, tlm::tlm_sync_enum status) argument
476 txt << "nb_transport_fw, phase = " << phase; local
483 nb_transport_bw_pre_checks( tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay) argument
502 nb_transport_bw_post_checks( tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay, tlm::tlm_sync_enum status) argument
511 txt << "Phase " << phase << " sent out-of-sequence on (backward) return path, detected in nb_transport_bw"; local
518 txt << "Phase " << phase << " sent on (backward) return path, detected in nb_transport_bw"; local
525 txt << "Phase " << phase << " sent out-of-sequence on (backward) return path, detected in nb_transport_bw"; local
555 txt << "nb_transport_bw, phase = " << phase; local
562 nb_transport_response_checks( tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_core::sc_time& delay, const char* txt2, const char* txt3, const char* txt4) argument
[all...]
H A Dsimple_target_socket.h120 sync_enum_type bw_nb_transport(transaction_type &trans, phase_type &phase, sc_core::sc_time &t) argument
122 return base_type::operator ->()->nb_transport_bw(trans, phase, t);
139 sync_enum_type nb_transport_bw(transaction_type &trans, phase_type &phase, sc_core::sc_time &t) argument
146 return m_owner->bw_nb_transport(trans, phase, t);
149 if (phase == tlm::END_REQ) {
153 } else if (phase == tlm::BEGIN_RESP) {
262 phase_type& phase,
268 return (m_mod->*m_nb_transport_ptr)(trans, phase, t);
271 if (phase == tlm::BEGIN_REQ) {
290 } else if (phase
261 nb_transport_fw(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
448 phase_type phase = tlm::BEGIN_RESP; local
470 phase_type phase = tlm::BEGIN_REQ; local
651 bw_nb_transport(transaction_type &trans, phase_type &phase, sc_core::sc_time &t) argument
670 nb_transport_bw(transaction_type &trans, phase_type &phase, sc_core::sc_time &t) argument
805 nb_transport_fw(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) argument
991 phase_type phase = tlm::BEGIN_RESP; local
1013 phase_type phase = tlm::BEGIN_REQ; local
[all...]
/gem5/src/systemc/ext/tlm_utils/
H A Dsimple_target_socket.h117 bw_nb_transport(transaction_type &trans, phase_type &phase, argument
120 return base_type::operator -> ()->nb_transport_bw(trans, phase, t);
137 nb_transport_bw(transaction_type &trans, phase_type &phase, argument
146 return m_owner->bw_nb_transport(trans, phase, t);
150 if (phase == tlm::END_REQ) {
154 if (phase == tlm::BEGIN_RESP) {
162 m_owner->display_error("invalid phase received");
262 nb_transport_fw(transaction_type &trans, phase_type &phase, argument
268 return (m_mod->*m_nb_transport_ptr)(trans, phase, t);
273 if (phase
457 phase_type phase = tlm::BEGIN_RESP; local
480 phase_type phase = tlm::BEGIN_REQ; local
700 bw_nb_transport(transaction_type &trans, phase_type &phase, sc_core::sc_time &t) argument
720 nb_transport_bw(transaction_type &trans, phase_type &phase, sc_core::sc_time &t) argument
856 nb_transport_fw(transaction_type &trans, phase_type &phase, sc_core::sc_time &t) argument
1051 phase_type phase = tlm::BEGIN_RESP; local
1074 phase_type phase = tlm::BEGIN_REQ; local
[all...]
/gem5/util/tlm/examples/slave_port/
H A Dsc_target.hh77 tlm::tlm_phase& phase,
82 const tlm::tlm_phase& phase);
H A Dsc_target.cc114 tlm::tlm_phase& phase,
118 m_peq.notify(trans, phase, delay);
124 const tlm::tlm_phase& phase)
128 if (phase == tlm::BEGIN_REQ) {
141 } else if (phase == tlm::END_RESP) {
145 SC_REPORT_FATAL("TLM-2", "Illegal transaction phase END_RESP"
165 SC_REPORT_FATAL("TLM-2", "Illegal transaction phase received by"
113 nb_transport_fw(tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_time& delay) argument
123 peq_cb(tlm::tlm_generic_payload& trans, const tlm::tlm_phase& phase) argument
/gem5/src/systemc/ext/tlm_core/2/interfaces/
H A Dfw_bw_ifs.hh40 virtual tlm_sync_enum nb_transport_fw(TRANS &trans, PHASE &phase,
48 virtual tlm_sync_enum nb_transport_bw(TRANS &trans, PHASE &phase,

Completed in 38 milliseconds

12