/gem5/src/systemc/tests/systemc/communication/sc_fifo/test06/ |
H A D | test06.cpp | 42 #define W_INFO(msg,iface) \ 44 << ": writer" << iface << ": " << msg << endl; 46 #define R_INFO(msg,iface) \ 48 << ": reader" << iface << ": " << msg << endl; 61 for ( int iface=0; iface < 3; iface++ ) 63 W_INFO( "blocking write", iface ); 65 out[iface]->write( val ++ ); // blocking write 86 int iface; local [all...] |
/gem5/ext/systemc/src/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/ |
H A D | tlm_event_finder.h | 71 const IF* iface = ( if_p ) ? dynamic_cast<const IF*>( if_p ) : local 73 if( iface == 0 ) { 76 return (const_cast<IF*>( iface )->*m_event_method) ( 0 ); 84 const IF* iface = dynamic_cast<const IF*>( port().get_interface() ); local 85 if( iface == 0 ) { 88 return (const_cast<IF*>( iface )->*m_event_method) ( 0 );
|
/gem5/src/systemc/ |
H A D | sc_port_wrapper.hh | 81 } else if (auto* iface = 83 port_.bind(iface->interface()); 159 auto* iface = dynamic_cast<ScInterfaceWrapper<IF>*>(&peer); variable 160 fatal_if(!iface, 164 port_.bind(iface->interface());
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_signal_ports.cpp | 51 in_if_type* iface = DCAST<in_if_type*>( get_interface() ); local 52 sc_trace( p->tf, iface->read(), p->name ); 133 in_if_type* iface = DCAST<in_if_type*>( get_interface() ); local 134 sc_trace( p->tf, iface->read(), p->name ); 225 inout_if_type* iface = DCAST<inout_if_type*>( get_interface() ); local 226 if( iface != 0 ) { 227 iface->write( value_ ); 250 in_if_type* iface = DCAST<in_if_type*>( get_interface() ); local 251 sc_trace( p->tf, iface->read(), p->name ); 316 inout_if_type* iface local 341 in_if_type* iface = DCAST<in_if_type*>( get_interface() ); local [all...] |
H A D | sc_event_finder.h | 125 const IF* iface = ( if_p ) ? DCAST<const IF*>( if_p ) : local 127 if( iface == 0 ) { 130 return (CCAST<IF*>( iface )->*m_event_method) ();
|
H A D | sc_port.cpp | 53 sc_interface* iface; member in struct:sc_core::sc_bind_elem 63 : iface( 0 ), 68 : iface( interface_ ), 73 : iface( 0 ), 424 vec[i]->iface = parent->m_bind_info->vec[0]->iface; 433 vec[k + n]->iface = vec[k]->iface; 438 vec[k]->iface = parent->m_bind_info->vec[k - i]->iface; 472 sc_interface* iface = m_bind_info->vec[j]->iface; local [all...] |
H A D | sc_port.h | 511 IF* iface = DCAST<IF*>( &interface_ ); local 512 if( iface == 0 ) { 516 base_type::bind( *iface ); 542 IF* iface = DCAST<IF*>( interface_ ); local 543 assert( iface != 0 ); 550 if ( iface == m_interface_vec[i] ) 559 m_interface_vec.push_back( iface );
|
H A D | sc_signal_ports.h | 305 in_if_type* iface = DCAST<in_if_type*>( this->get_interface() ); local 306 sc_trace( p->tf, iface->read(), p->name ); 1139 inout_if_type* iface = DCAST<inout_if_type*>( this->get_interface() ); local 1140 if( iface != 0 ) { 1141 iface->write( value_ ); 1166 in_if_type* iface = DCAST<in_if_type*>( this->get_interface() ); local 1167 sc_trace( p->tf, iface->read(), p->name ); 1795 const sc_signal_in_if<T>* iface = 0; local 1798 iface = DCAST<const sc_signal_in_if<T>*>( port.get_interface() ); 1801 if ( iface ) 1813 const sc_signal_in_if<T>* iface = 0; local [all...] |
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_reset.h | 91 reset_signal_is(bool async, const sc_signal_in_if<bool>& iface, 94 reset_signal_is( bool async, const sc_in<bool>& iface, bool level); 96 reset_signal_is( bool async, const sc_inout<bool>& iface, bool level); 98 reset_signal_is( bool async, const sc_out<bool>& iface, bool level);
|
H A D | sc_module.cpp | 119 : iface( 0 ), 124 : iface( &iface_ ), 129 : iface( 0 ), 307 sc_module::async_reset_signal_is(const sc_signal_in_if<bool>& iface, bool level) argument 309 sc_reset::reset_signal_is(true, iface, level); 359 sc_module::reset_signal_is( const sc_signal_in_if<bool>& iface, bool level ) argument 361 sc_reset::reset_signal_is(false, iface, level); 571 if( (p).iface != 0 ) { \ 572 positional_bind( *(p).iface ); \
|
H A D | sc_reset.cpp | 335 // iface = interface for the reset signal. 342 bool async, const sc_signal_in_if<bool>& iface, bool level ) 356 reset_p = iface.is_reset(); 362 if ( iface.read() == level ) process_p->initially_in_reset( async ); 341 reset_signal_is( bool async, const sc_signal_in_if<bool>& iface, bool level ) argument
|
H A D | sc_module.h | 61 sc_interface* iface; member in struct:sc_core::sc_bind_proxy 169 void async_reset_signal_is( const sc_signal_in_if<bool>& iface, bool level); 173 void reset_signal_is( const sc_signal_in_if<bool>& iface, bool level );
|
/gem5/src/systemc/ext/tlm_core/1/req_rsp/ports/ |
H A D | event_finder.hh | 59 const IF *iface = if_p ? dynamic_cast<const IF *>(if_p) : local 61 if (iface == nullptr) { 69 return (const_cast<IF *>(iface)->*m_event_method)(nullptr);
|
/gem5/src/systemc/core/ |
H A D | port.cc | 60 auto iface = local 62 assert(iface); 63 if (!reset->install(iface))
|
H A D | sc_spawn.cc | 198 const sc_signal_in_if<bool> &iface, bool value) 200 _if_resets.emplace_back(&iface, value, true); 224 const sc_signal_in_if<bool> &iface, bool value) 226 _if_resets.emplace_back(&iface, value, false); 197 reset_signal_is( const sc_signal_in_if<bool> &iface, bool value) argument 223 async_reset_signal_is( const sc_signal_in_if<bool> &iface, bool value) argument
|
H A D | port.hh | 68 addInterface(::sc_core::sc_interface *iface) argument 70 portBase->_gem5AddInterface(iface);
|
H A D | sc_module.cc | 219 sc_module::operator << (sc_interface &iface) argument 221 (*this)(iface); 233 sc_module::operator , (sc_interface &iface) argument 235 (*this)(iface);
|
/gem5/src/systemc/utils/ |
H A D | tracefile.hh | 91 const ::sc_core::sc_signal_in_if<T> *iface; member in class:sc_gem5::TraceVal 96 Base(_width), iface(_iface), oldVal(iface->read()) 100 void finalize() override { oldVal = iface->read(); } 106 T newVal = iface->read();
|
/gem5/src/systemc/ext/core/ |
H A D | sc_event.hh | 273 const IF *iface = if_p ? dynamic_cast<const IF *>(if_p) : local 275 if (!iface) { 282 return (const_cast<IF *>(iface)->*_method)();
|
H A D | sc_port.hh | 229 _gem5AddInterface(sc_interface *iface) argument 231 IF *interface = dynamic_cast<IF *>(iface);
|
/gem5/src/systemc/ext/utils/ |
H A D | sc_trace_file.hh | 179 sc_trace(sc_trace_file *tf, const sc_signal_in_if<T> &iface, argument 182 sc_trace(tf, iface.read(), name);
|
/gem5/src/systemc/tests/include/specialized_signals/ |
H A D | scx_signal_int.h | 1208 inout_if_type* iface = this->get_interface(0); local 1209 if( iface != 0 ) { 1210 iface->write( value_ );
|
H A D | scx_signal_uint.h | 1266 inout_if_type* iface = this->get_interface(0); local 1267 if( iface != 0 ) { 1268 iface->write( value_ );
|
H A D | scx_signal_signed.h | 1390 inout_if_type* iface = dynamic_cast<inout_if_type*>( this->get_interface() ); local 1391 if( iface != 0 ) { 1392 iface->write( value_ );
|
H A D | scx_signal_unsigned.h | 1386 inout_if_type* iface = dynamic_cast<inout_if_type*>( this->get_interface() ); local 1387 if( iface != 0 ) { 1388 iface->write( value_ );
|