Searched refs:bind (Results 26 - 50 of 98) sorted by relevance

1234

/gem5/src/systemc/tests/systemc/utils/sc_vector/test02/
H A Dtest02.cpp49 #include <boost/bind.hpp>
50 #include <boost/bind/placeholders.hpp>
108 , boost::bind( &DUT::init_sig_bind, this, _1, _2 )
/gem5/src/mem/
H A Dport.cc67 MasterPort::bind(Port &peer) function in class:MasterPort
71 fatal("Attempt to bind port %s to non-slave port %s.",
76 Port::bind(peer);
135 Port::bind(master_port);
/gem5/src/systemc/
H A Dtlm_port_wrapper.hh66 bind(::Port &peer) override
69 fatal_if(!target, "Attempt to bind TLM initiator socket %s to "
72 initiator().bind(target->target());
73 Port::bind(peer);
102 bind(::Port &peer) override
104 // Ignore attempts to bind a target socket. The initiator will
106 Port::bind(peer);
/gem5/ext/systemc/src/tlm_core/tlm_2/tlm_sockets/
H A Dtlm_initiator_socket.h130 virtual void bind(base_target_socket_type& s) function in class:tlm::tlm_base_initiator_socket
140 bind(s);
144 // Bind initiator socket to initiator socket (hierarchical bind)
147 virtual void bind(base_type& s) function in class:tlm::tlm_base_initiator_socket
157 bind(s);
164 virtual void bind(bw_interface_type& ifs) function in class:tlm::tlm_base_initiator_socket
171 bind(s);
/gem5/src/systemc/ext/tlm_core/2/sockets/
H A Dinitiator_socket.hh100 bind(base_target_socket_type &s) function in class:tlm::tlm_base_initiator_socket
108 void operator () (base_target_socket_type &s) { bind(s); }
111 // Bind initiator socket to initiator socket (hierarchical bind)
115 bind(base_type &s) function in class:tlm::tlm_base_initiator_socket
123 void operator() (base_type &s) { bind(s); }
129 virtual void bind(bw_interface_type &ifs) { (get_base_export())(ifs); } function in class:tlm::tlm_base_initiator_socket
130 void operator() (bw_interface_type &s) { bind(s); }
/gem5/src/systemc/tests/systemc/misc/v1.0/dash7/
H A Ddist.h142 // read_mod->pulse.bind(pulse);
143 // read_mod->start.bind(start);
144 // read_mod->ok_for_incr.bind(ok_for_incr);
149 // compute_mod->reset.bind(reset);
150 // compute_mod->start.bind(start);
151 // compute_mod->ok_for_incr.bind(ok_for_incr);
152 // compute_mod->total_dist.bind(total_dist);
153 // compute_mod->partial_dist.bind(partial_dist);
160 // lcd_mod->start.bind(start);
161 // lcd_mod->total_dist.bind(total_dis
[all...]
H A Dspeed.h124 // read_mod->start.bind(start);
125 // read_mod->pulse.bind(pulse);
126 // read_mod->elapsed_time.bind(elapsed_time);
127 // read_mod->filtered_speed.bind(filtered_speed);
133 // pwm_mod->start.bind(start);
134 // pwm_mod->filtered_speed.bind(filtered_speed);
135 // pwm_mod->speed.bind(speed);
136 // pwm_mod->angle.bind(angle);
138 pwm_mod->filtered_speed.bind(filtered_speed);
139 pwm_mod->speed.bind(spee
[all...]
/gem5/src/systemc/tests/systemc/utils/sc_vector/test01/
H A Dtest01.cpp65 // bind ports of sub-modules -- sc_assemble_vector
66 sc_assemble_vector( m_sub_vec, &sub_module::in ).bind( in_vec );
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_signal_ports.h133 { sc_port_base::bind( parent_ ); }
138 { sc_port_base::bind( parent_ ); }
160 // bind to in interface
162 SC_VIRTUAL_ void bind( const in_if_type& interface_ ) function in class:sc_core::sc_in
163 { sc_port_base::bind( CCAST<in_if_type&>( interface_ ) ); }
165 SC_VIRTUAL_ void bind( in_if_type& interface_ ) function in class:sc_core::sc_in
166 { this->bind( CCAST<const in_if_type&>( interface_ ) ); }
169 { this->bind( interface_ ); }
172 // bind to parent in port
174 SC_VIRTUAL_ void bind( in_port_typ function in class:sc_core::sc_in
183 SC_VIRTUAL_ void bind( inout_port_type& parent_ ) function in class:sc_core::sc_in
264 SC_VIRTUAL_ void bind( base_port_type& parent_ ) function in class:sc_core::sc_in
485 SC_VIRTUAL_ void bind( const in_if_type& interface_ ) function in class:sc_core::sc_in
488 SC_VIRTUAL_ void bind( in_if_type& interface_ ) function in class:sc_core::sc_in
497 SC_VIRTUAL_ void bind( in_port_type& parent_ ) function in class:sc_core::sc_in
506 SC_VIRTUAL_ void bind( inout_port_type& parent_ ) function in class:sc_core::sc_in
631 SC_VIRTUAL_ void bind( base_port_type& parent_ ) function in class:sc_core::sc_in
752 SC_VIRTUAL_ void bind( const in_if_type& interface_ ) function in class:sc_core::sc_in
755 SC_VIRTUAL_ void bind( in_if_type& interface_ ) function in class:sc_core::sc_in
764 SC_VIRTUAL_ void bind( in_port_type& parent_ ) function in class:sc_core::sc_in
773 SC_VIRTUAL_ void bind( inout_port_type& parent_ ) function in class:sc_core::sc_in
898 SC_VIRTUAL_ void bind( base_port_type& parent_ ) function in class:sc_core::sc_in
[all...]
/gem5/ext/systemc/src/tlm_core/tlm_1/tlm_analysis/
H A Dtlm_analysis_port.h39 // bind and () work for both interfaces and analysis ports, since
42 virtual void bind( tlm_analysis_if<T> &_if ) { function in class:tlm::tlm_analysis_port
46 void operator() ( tlm_analysis_if<T> &_if ) { bind( _if ); }
/gem5/ext/systemc/src/tlm_utils/
H A Dmulti_passthrough_initiator_socket.h149 // wants to bind to the export of the underlying tlm_initiator_socket
167 // wants to bind to the export of the underlying tlm_initiator_socket
168 // i.e. a hierarchical bind takes place
172 base_type::m_export.bind(m_dummy); //so we bind the dummy to avoid a SystemC error
181 //bind against a target socket
182 virtual void bind(base_target_socket_type& s) function in class:tlm_utils::multi_passthrough_initiator_socket
188 base_type::bind(s); //satisfy systemC, leads to a call to get_base_interface()
196 if (test) //did we just do a multi-multi bind??
201 else{ // if not just bind normall
244 virtual void bind(base_type& s) function in class:tlm_utils::multi_passthrough_initiator_socket
[all...]
/gem5/src/systemc/ext/core/
H A Dsc_export.hh75 void operator () (IF &i) { bind(i); }
77 bind(IF &i) function in class:sc_core::sc_export
/gem5/src/systemc/tests/systemc/tmp/others/sc_writer_bug/
H A Dsc_writer_bug.cpp51 m1->port.bind(multi_sig_1);
52 m2->port.bind(multi_sig_1);
/gem5/src/systemc/ext/tlm_utils/
H A Dmulti_passthrough_initiator_socket.h114 // wants to bind to the export of the underlying tlm_initiator_socket.
136 // socket) wants to bind to the export of the underlying
137 // tlm_initiator_socket, i.e. a hierarchical bind takes place.
142 // So we bind the dummy to avoid a SystemC error.
143 base_type::m_export.bind(m_dummy);
158 bind(base_target_socket_type &s) function in class:tlm_utils::multi_passthrough_initiator_socket
167 base_type::bind(s);
182 // Did we just do a multi-multi bind??
188 } else { // If not just bind normally,
196 // Operator notation for direct bind
236 bind(base_type& s) function in class:tlm_utils::multi_passthrough_initiator_socket
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_vector/
H A Dsc_vector.cpp136 xp.bind( *this );
210 sc_assemble_vector(kids, &Sub::p).bind( ports );
220 initiator->ports.bind( sc_assemble_vector(targets, &Target::xp) );
223 sc_assemble_vector(initiator_vec, &Initiator1::port).bind( sc_assemble_vector(target_vec, &Target::xp) );
240 // It has begin() end() size() operator[] bind() etc
258 sc_assemble_vector(kids2, &Sub::p).bind( sigs2.begin(), sigs2.end(), kids2.begin());
259 sc_assemble_vector(kids2, &Sub::p).bind( sigs3.begin(), sigs3.end(), kids2.begin() + 4 );
314 m1->ports[i].bind( sigs[i] ); // Using operator[] with a vector
316 port_type::iterator it = m2->ports.bind( more_sigs ); // Vector-to-vector bind
[all...]
/gem5/src/systemc/ext/utils/
H A Dsc_vector.hh201 * defined in the standard won't compile because of redundant bind() overloads.
523 bind(sc_vector_assembly<ContainerType, ArgumentType> c) function in class:sc_core::sc_vector
525 return bind(c.begin(), c.end());
530 bind(BindableContainer &c) function in class:sc_core::sc_vector
532 return bind(c.begin(), c.end());
537 bind(BindableIterator first, BindableIterator last) function in class:sc_core::sc_vector
539 return bind(first, last, this->begin());
544 bind(BindableIterator first, BindableIterator last, iterator from) function in class:sc_core::sc_vector
550 (*from++).bind(*first++);
690 bind(sc_vector_assembl function in class:sc_core::sc_vector_assembly
697 bind(BindableContainer &c) function in class:sc_core::sc_vector_assembly
704 bind(BindableIterator first, BindableIterator last) function in class:sc_core::sc_vector_assembly
711 bind(BindableIterator first, BindableIterator last, iterator from) function in class:sc_core::sc_vector_assembly
723 bind(BindableIterator first, BindableIterator last, function in class:sc_core::sc_vector_assembly
[all...]
/gem5/src/systemc/tests/systemc/tracing/vcd_trace/test15/
H A Dtest15.cpp48 iport.bind(sig);
/gem5/src/systemc/tests/systemc/tracing/wif_trace/test15/
H A Dtest15.cpp48 iport.bind(sig);
/gem5/src/systemc/tests/systemc/utils/sc_vector/test07/
H A Dtest07.cpp58 // bind ports of submodules (before initialisation of module vector)
64 // bind ports of submodules (before initialisation of port vector)
70 // bind ports of submodules (should be fine now)
77 // bind ports of sub-modules -- sc_assemble_vector
78 sc_assemble_vector( m_sub_vec, &sub_module::in ).bind( in_vec );
90 // bind ports to signals -- before initialisation of signal vector
95 // bind empty range
98 // bind with full range
/gem5/src/dev/net/
H A Detherint.hh63 void bind(Port &peer) override;
/gem5/src/systemc/tests/systemc/misc/v1.0/dash8/
H A Ddist.h142 // read_mod->pulse.bind(pulse);
143 // read_mod->start.bind(start);
144 // read_mod->ok_for_incr.bind(ok_for_incr);
152 // compute_mod->reset.bind(reset);
153 // compute_mod->start.bind(start);
154 // compute_mod->ok_for_incr.bind(ok_for_incr);
155 // compute_mod->total_dist.bind(total_dist);
156 // compute_mod->partial_dist.bind(partial_dist);
159 compute_mod->ok_for_incr.bind(ok_for_incr);
160 compute_mod->total_dist.bind(total_dis
[all...]
H A Dmain.cpp37 let p1_arg and p2_arg be the ports that we want to bind to p1 and
41 m.p1(p1_arg); m.p2.bind(p2_arg); or
42 m_ptr->p1(p1_arg); m->p2.bind(p2_arg);
124 odometers.start.bind(start);
126 odometers.partial.bind(disp_partial_dist);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash9/
H A Ddist.h142 // read_mod->pulse.bind(pulse);
143 // read_mod->start.bind(start);
144 // read_mod->ok_for_incr.bind(ok_for_incr);
152 // compute_mod->reset.bind(reset);
153 // compute_mod->start.bind(start);
154 // compute_mod->ok_for_incr.bind(ok_for_incr);
155 // compute_mod->total_dist.bind(total_dist);
156 // compute_mod->partial_dist.bind(partial_dist);
159 compute_mod->ok_for_incr.bind(ok_for_incr);
160 compute_mod->total_dist.bind(total_dis
[all...]
H A Dmain.cpp38 to bind to p1 and p2 of m. Then, we can do the binding in one of
43 m.p1(p1_arg); m.p2.bind(p2_arg); or
44 m_ptr->p1(p1_arg); m->p2.bind(p2_arg);
129 odometers.start.bind(start);
131 odometers.partial.bind(disp_partial_dist);
/gem5/src/dev/
H A Dintpin.hh72 void bind(Port &peer) override;
106 void bind(Port &peer) override;

Completed in 31 milliseconds

1234