#include <sc_signal_ports.h>
Public 型 | |
typedef T | data_type |
typedef sc_signal_in_if < data_type > | if_type |
typedef sc_port< if_type, 1, SC_ONE_OR_MORE_BOUND > | base_type |
typedef sc_in< data_type > | this_type |
typedef if_type | in_if_type |
typedef base_type | in_port_type |
typedef sc_signal_inout_if < data_type > | inout_if_type |
typedef sc_port< inout_if_type, 1, SC_ONE_OR_MORE_BOUND > | inout_port_type |
Public メソッド | |
sc_in () | |
sc_in (const char *name_) | |
sc_in (const in_if_type &interface_) | |
sc_in (const char *name_, const in_if_type &interface_) | |
sc_in (in_port_type &parent_) | |
sc_in (const char *name_, in_port_type &parent_) | |
sc_in (inout_port_type &parent_) | |
sc_in (const char *name_, inout_port_type &parent_) | |
sc_in (this_type &parent_) | |
sc_in (const char *name_, this_type &parent_) | |
virtual | ~sc_in () |
void | bind (const in_if_type &interface_) |
void | operator() (const in_if_type &interface_) |
void | bind (in_port_type &parent_) |
void | operator() (in_port_type &parent_) |
void | bind (inout_port_type &parent_) |
void | operator() (inout_port_type &parent_) |
const sc_event & | default_event () const |
const sc_event & | value_changed_event () const |
const data_type & | read () const |
operator const data_type & () const | |
bool | event () const |
sc_event_finder & | value_changed () const |
virtual void | end_of_elaboration () |
virtual const char * | kind () const |
void | add_trace (sc_trace_file *, const std::string &) const |
void | add_trace_internal (sc_trace_file *, const std::string &) const |
Protected メソッド | |
void | remove_traces () const |
virtual int | vbind (sc_interface &) |
virtual int | vbind (sc_port_base &) |
Protected 変数 | |
sc_trace_params_vec * | m_traces |
Private メソッド | |
sc_in (const this_type &) | |
this_type & | operator= (const this_type &) |
Private 変数 | |
sc_event_finder * | m_change_finder_p |
sc_signal_ports.h の 69 行で定義されています。
typedef T sc_core::sc_in< T >::data_type |
typedef sc_signal_in_if<data_type> sc_core::sc_in< T >::if_type |
sc_signal_ports.h の 78 行で定義されています。
typedef sc_port<if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_in< T >::base_type |
sc_core::sc_port< IF, N, P >を再定義しています。
sc_core::sc_in_rv< W >で再定義されています。
sc_signal_ports.h の 79 行で定義されています。
typedef sc_in<data_type> sc_core::sc_in< T >::this_type |
sc_core::sc_port< IF, N, P >を再定義しています。
sc_core::sc_in_rv< W >で再定義されています。
sc_signal_ports.h の 80 行で定義されています。
typedef if_type sc_core::sc_in< T >::in_if_type |
typedef base_type sc_core::sc_in< T >::in_port_type |
typedef sc_signal_inout_if<data_type> sc_core::sc_in< T >::inout_if_type |
sc_signal_ports.h の 84 行で定義されています。
typedef sc_port<inout_if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_in< T >::inout_port_type |
sc_core::sc_in< T >::sc_in | ( | ) | [inline] |
sc_signal_ports.h の 91 行で定義されています。
00092 : base_type(), m_traces( 0 ), 00093 m_change_finder_p(0) 00094 {}
sc_core::sc_in< T >::sc_in | ( | const char * | name_ | ) | [inline, explicit] |
sc_signal_ports.h の 96 行で定義されています。
00097 : base_type( name_ ), m_traces( 0 ), 00098 m_change_finder_p(0) 00099 {}
sc_core::sc_in< T >::sc_in | ( | const in_if_type & | interface_ | ) | [inline, explicit] |
sc_signal_ports.h の 101 行で定義されています。
00102 : base_type( CCAST<in_if_type&>( interface_ ) ), m_traces( 0 ), 00103 m_change_finder_p(0) 00104 {}
sc_core::sc_in< T >::sc_in | ( | const char * | name_, | |
const in_if_type & | interface_ | |||
) | [inline] |
sc_signal_ports.h の 106 行で定義されています。
00107 : base_type( name_, CCAST<in_if_type&>( interface_ ) ), m_traces( 0 ), 00108 m_change_finder_p(0) 00109 {}
sc_core::sc_in< T >::sc_in | ( | in_port_type & | parent_ | ) | [inline, explicit] |
sc_signal_ports.h の 111 行で定義されています。
00112 : base_type( parent_ ), m_traces( 0 ), 00113 m_change_finder_p(0) 00114 {}
sc_core::sc_in< T >::sc_in | ( | const char * | name_, | |
in_port_type & | parent_ | |||
) | [inline] |
sc_signal_ports.h の 116 行で定義されています。
00117 : base_type( name_, parent_ ), m_traces( 0 ), 00118 m_change_finder_p(0) 00119 {}
sc_core::sc_in< T >::sc_in | ( | inout_port_type & | parent_ | ) | [inline, explicit] |
sc_signal_ports.h の 121 行で定義されています。
00122 : base_type(), m_traces( 0 ), 00123 m_change_finder_p(0) 00124 { sc_port_base::bind( parent_ ); }
sc_core::sc_in< T >::sc_in | ( | const char * | name_, | |
inout_port_type & | parent_ | |||
) | [inline] |
sc_signal_ports.h の 126 行で定義されています。
00127 : base_type( name_ ), m_traces( 0 ), 00128 m_change_finder_p(0) 00129 { sc_port_base::bind( parent_ ); }
sc_core::sc_in< T >::sc_in | ( | this_type & | parent_ | ) | [inline] |
sc_signal_ports.h の 131 行で定義されています。
00132 : base_type( parent_ ), m_traces( 0 ), 00133 m_change_finder_p(0) 00134 {}
sc_core::sc_in< T >::sc_in | ( | const char * | name_, | |
this_type & | parent_ | |||
) | [inline] |
sc_signal_ports.h の 136 行で定義されています。
00137 : base_type( name_, parent_ ), m_traces( 0 ), 00138 m_change_finder_p(0) 00139 {}
virtual sc_core::sc_in< T >::~sc_in | ( | ) | [inline, virtual] |
sc_signal_ports.h の 144 行で定義されています。
00145 { 00146 remove_traces(); 00147 if ( m_change_finder_p ) delete m_change_finder_p; 00148 }
sc_core::sc_in< T >::sc_in | ( | const this_type & | ) | [private] |
void sc_core::sc_in< T >::bind | ( | const in_if_type & | interface_ | ) | [inline] |
sc_signal_ports.h の 153 行で定義されています。
00154 { sc_port_base::bind( CCAST<in_if_type&>( interface_ ) ); }
void sc_core::sc_in< T >::operator() | ( | const in_if_type & | interface_ | ) | [inline] |
sc_signal_ports.h の 156 行で定義されています。
00157 { sc_port_base::bind( CCAST<in_if_type&>( interface_ ) ); }
void sc_core::sc_in< T >::bind | ( | in_port_type & | parent_ | ) | [inline] |
sc_core::sc_port_b< IF >を再定義しています。
sc_signal_ports.h の 162 行で定義されています。
00163 { sc_port_base::bind( parent_ ); }
void sc_core::sc_in< T >::operator() | ( | in_port_type & | parent_ | ) | [inline] |
sc_core::sc_port_b< IF >を再定義しています。
sc_signal_ports.h の 165 行で定義されています。
00166 { sc_port_base::bind( parent_ ); }
void sc_core::sc_in< T >::bind | ( | inout_port_type & | parent_ | ) | [inline] |
void sc_core::sc_in< T >::operator() | ( | inout_port_type & | parent_ | ) | [inline] |
const sc_event& sc_core::sc_in< T >::default_event | ( | ) | const [inline] |
const sc_event& sc_core::sc_in< T >::value_changed_event | ( | ) | const [inline] |
const data_type& sc_core::sc_in< T >::read | ( | ) | const [inline] |
sc_core::sc_in< T >::operator const data_type & | ( | ) | const [inline] |
bool sc_core::sc_in< T >::event | ( | ) | const [inline] |
sc_event_finder& sc_core::sc_in< T >::value_changed | ( | ) | const [inline] |
sc_signal_ports.h の 209 行で定義されています。
00210 { 00211 if ( !m_change_finder_p ) 00212 { 00213 m_change_finder_p = new sc_event_finder_t<in_if_type>( 00214 *this, &in_if_type::value_changed_event ); 00215 } 00216 return *m_change_finder_p; 00217 }
void sc_core::sc_in< T >::end_of_elaboration | ( | ) | [inline, virtual] |
sc_core::sc_port_baseを再定義しています。
sc_core::sc_in_rv< W >で再定義されています。
sc_signal_ports.h の 279 行で定義されています。
00280 { 00281 if( m_traces != 0 ) { 00282 for( int i = 0; i < (int)m_traces->size(); ++ i ) { 00283 sc_trace_params* p = (*m_traces)[i]; 00284 in_if_type* iface = DCAST<in_if_type*>( this->get_interface() ); 00285 sc_trace( p->tf, iface->read(), p->name ); 00286 } 00287 remove_traces(); 00288 } 00289 }
virtual const char* sc_core::sc_in< T >::kind | ( | ) | const [inline, virtual] |
sc_core::sc_port< IF, N, P >を再定義しています。
sc_core::sc_in_rv< W >で再定義されています。
sc_signal_ports.h の 226 行で定義されています。
void sc_core::sc_in< T >::add_trace | ( | sc_trace_file * | tf_, | |
const std::string & | name_ | |||
) | const [inline] |
sc_signal_ports.h の 311 行で定義されています。
00313 { 00314 sc_deprecated_add_trace(); 00315 add_trace_internal(tf_, name_); 00316 }
void sc_core::sc_in< T >::add_trace_internal | ( | sc_trace_file * | tf_, | |
const std::string & | name_ | |||
) | const [inline] |
sc_signal_ports.h の 297 行で定義されています。
00299 { 00300 if( tf_ != 0 ) { 00301 if( m_traces == 0 ) { 00302 m_traces = new sc_trace_params_vec; 00303 } 00304 m_traces->push_back( new sc_trace_params( tf_, name_ ) ); 00305 } 00306 }
void sc_core::sc_in< T >::remove_traces | ( | ) | const [inline, protected] |
int sc_core::sc_in< T >::vbind | ( | sc_interface & | interface_ | ) | [inline, protected, virtual] |
int sc_core::sc_in< T >::vbind | ( | sc_port_base & | parent_ | ) | [inline, protected, virtual] |
sc_core::sc_port_b< IF >を再定義しています。
sc_signal_ports.h の 346 行で定義されています。
00347 { 00348 in_port_type* in_parent = DCAST<in_port_type*>( &parent_ ); 00349 if( in_parent != 0 ) { 00350 sc_port_base::bind( *in_parent ); 00351 return 0; 00352 } 00353 inout_port_type* inout_parent = DCAST<inout_port_type*>( &parent_ ); 00354 if( inout_parent != 0 ) { 00355 sc_port_base::bind( *inout_parent ); 00356 return 0; 00357 } 00358 // type mismatch 00359 return 2; 00360 }
this_type& sc_core::sc_in< T >::operator= | ( | const this_type & | ) | [private] |
sc_trace_params_vec* sc_core::sc_in< T >::m_traces [mutable, protected] |
sc_signal_ports.h の 239 行で定義されています。
sc_event_finder* sc_core::sc_in< T >::m_change_finder_p [mutable, private] |
sc_signal_ports.h の 248 行で定義されています。