Searched refs:sc_dt (Results 51 - 75 of 300) sorted by relevance

1234567891011>>

/gem5/src/systemc/utils/
H A Dtracefile.hh175 class TraceVal<::sc_dt::sc_fxnum, Base> :
176 public TraceValFxnumBase<::sc_dt::sc_fxnum, Base>
179 using TraceValFxnumBase<::sc_dt::sc_fxnum, Base>::TraceValFxnumBase;
184 class TraceVal<::sc_dt::sc_fxnum_fast, Base> :
185 public TraceValFxnumBase<::sc_dt::sc_fxnum_fast, Base>
188 using TraceValFxnumBase<::sc_dt::sc_fxnum_fast, Base>::TraceValFxnumBase;
220 virtual void addTraceVal(const sc_dt::sc_logic *v,
222 virtual void addTraceVal(const sc_dt::sc_int_base *v,
224 virtual void addTraceVal(const sc_dt::sc_uint_base *v,
226 virtual void addTraceVal(const sc_dt
[all...]
H A Dsc_trace_file.cc113 sc_trace(sc_trace_file *tf, const sc_dt::sc_logic &v, const std::string &name)
119 sc_trace(sc_trace_file *tf, const sc_dt::sc_logic *v, const std::string &name)
125 sc_trace(sc_trace_file *tf, const sc_dt::sc_int_base &v,
132 sc_trace(sc_trace_file *tf, const sc_dt::sc_int_base *v,
139 sc_trace(sc_trace_file *tf, const sc_dt::sc_uint_base &v,
146 sc_trace(sc_trace_file *tf, const sc_dt::sc_uint_base *v,
153 sc_trace(sc_trace_file *tf, const sc_dt::sc_signed &v,
160 sc_trace(sc_trace_file *tf, const sc_dt::sc_signed *v,
167 sc_trace(sc_trace_file *tf, const sc_dt::sc_unsigned &v,
174 sc_trace(sc_trace_file *tf, const sc_dt
[all...]
H A Dvcd.cc369 class VcdTraceValScLogic : public VcdTraceVal<sc_dt::sc_logic>
372 using VcdTraceVal<sc_dt::sc_logic>::VcdTraceVal;
386 VcdTraceFile::addTraceVal(const sc_dt::sc_logic *v, const std::string &name)
419 VcdTraceFile::addTraceVal(const sc_dt::sc_int_base *v,
422 addNewTraceVal<VcdTraceValFinite<sc_dt::sc_int_base>>(v, name);
425 VcdTraceFile::addTraceVal(const sc_dt::sc_uint_base *v,
428 addNewTraceVal<VcdTraceValFinite<sc_dt::sc_uint_base>>(v, name);
432 VcdTraceFile::addTraceVal(const sc_dt::sc_signed *v, const std::string &name)
434 addNewTraceVal<VcdTraceValFinite<sc_dt::sc_signed>>(v, name);
437 VcdTraceFile::addTraceVal(const sc_dt
[all...]
/gem5/src/systemc/ext/dt/misc/
H A Dsc_concatref.hh91 namespace sc_dt namespace
98 } // namespace sc_dt
106 extern template class sc_vpool<sc_dt::sc_concatref>;
107 extern template class sc_vpool<sc_dt::sc_concat_bool>;
111 namespace sc_dt { namespace
716 inline sc_dt::sc_concatref &
717 concat(sc_dt::sc_value_base &a, sc_dt::sc_value_base &b)
719 sc_dt::sc_concatref *result_p; // Proxy for the concatenation.
721 result_p = sc_dt
[all...]
/gem5/src/systemc/tests/systemc/datatypes/fx/observers/
H A Dobservers.cpp65 observe<sc_fxval, sc_fxval, sc_dt::sc_fxval_observer>("sc_fxval");
66 observe<sc_fxval_fast, sc_fxval_fast, sc_dt::sc_fxval_fast_observer>("sc_fxval_fast");
67 observe<sc_fixed<1, 2>, sc_fxnum, sc_dt::sc_fxnum_observer>("sc_fixed");
68 observe<sc_fixed_fast<3, 4>, sc_fxnum_fast, sc_dt::sc_fxnum_fast_observer>("sc_fixed_fast");
69 observe<sc_ufixed<5, 6>, sc_fxnum, sc_dt::sc_fxnum_observer>("sc_ufixed");
70 observe<sc_ufixed_fast<7, 8>, sc_fxnum_fast, sc_dt::sc_fxnum_fast_observer>("sc_ufixed_fast");
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace.cpp181 DEFN_TRACE_FUNC_A( sc_dt::sc_bit )
182 DEFN_TRACE_FUNC_A( sc_dt::sc_logic )
184 DEFN_TRACE_FUNC_A( sc_dt::sc_int_base )
185 DEFN_TRACE_FUNC_A( sc_dt::sc_uint_base )
186 DEFN_TRACE_FUNC_A( sc_dt::sc_signed )
187 DEFN_TRACE_FUNC_A( sc_dt::sc_unsigned )
189 DEFN_TRACE_FUNC_REF_A( sc_dt::sc_bv_base )
190 DEFN_TRACE_FUNC_REF_A( sc_dt::sc_lv_base )
H A Dsc_wif_trace.cpp169 wif_uint64_trace(const sc_dt::uint64& object_,
177 const sc_dt::uint64& object;
178 sc_dt::uint64 old_value;
179 sc_dt::uint64 mask;
183 wif_uint64_trace::wif_uint64_trace(const sc_dt::uint64& object_,
188 mask(static_cast<sc_dt::uint64>(-1))
191 if (bit_width < (int)(sizeof(sc_dt::uint64)*BITS_PER_BYTE))
218 sc_dt::uint64 bit_mask = 1;
235 wif_int64_trace(const sc_dt::int64& object_,
243 const sc_dt
[all...]
/gem5/ext/systemc/src/sysc/datatypes/misc/
H A Dsc_concatref.h94 namespace sc_dt namespace
756 inline sc_dt::sc_concatref& concat(
757 sc_dt::sc_value_base& a, sc_dt::sc_value_base& b)
759 sc_dt::sc_concatref* result_p; // Proxy for the concatenation.
761 result_p = sc_dt::sc_concatref::m_pool.allocate();
768 sc_dt::sc_concatref& concat(
769 const sc_dt::sc_value_base& a, const sc_dt::sc_value_base& b)
771 sc_dt
[all...]
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_time.cpp91 m_value = SCAST<sc_dt::int64>( tmp );
104 m_value = SCAST<sc_dt::int64>( tmp );
122 double scale_fac = sc_dt::uint64_to_double(
126 m_value = SCAST<sc_dt::int64>( tmp );
130 m_value = SCAST<sc_dt::int64>( tmp );
149 double scale_fac = sc_dt::uint64_to_double(
152 volatile double tmp = sc_dt::uint64_to_double( v ) *
154 m_value = SCAST<sc_dt::int64>( tmp );
166 if( v != 0 && !(SC_MAXTIME_ALLOWED_ && v == ~sc_dt::UINT64_ZERO) ) {
186 return ( sc_dt
[all...]
H A Dsc_sensitive.h37 namespace sc_dt namespace
69 typedef sc_signal_in_if<sc_dt::sc_logic> in_if_l_type;
71 typedef sc_in<sc_dt::sc_logic> in_port_l_type;
73 typedef sc_inout<sc_dt::sc_logic> inout_port_l_type;
147 typedef sc_signal_in_if<sc_dt::sc_logic> in_if_l_type;
149 typedef sc_in<sc_dt::sc_logic> in_port_l_type;
151 typedef sc_inout<sc_dt::sc_logic> inout_port_l_type;
213 typedef sc_signal_in_if<sc_dt::sc_logic> in_if_l_type;
215 typedef sc_in<sc_dt::sc_logic> in_port_l_type;
217 typedef sc_inout<sc_dt
[all...]
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_signal_resolved.h40 extern const sc_dt::sc_logic_value_t sc_logic_resolution_tbl[4][4];
50 : public sc_signal<sc_dt::sc_logic,SC_MANY_WRITERS>
57 typedef sc_signal<sc_dt::sc_logic,SC_MANY_WRITERS> base_type;
58 typedef sc_dt::sc_logic data_type;
H A Dsc_signal.h89 m_change_stamp( ~sc_dt::UINT64_ONE ), m_new_val( T() )
95 m_change_stamp( ~sc_dt::UINT64_ONE ), m_new_val( T() )
102 , m_change_stamp( ~sc_dt::UINT64_ONE )
194 sc_dt::uint64 m_change_stamp; // delta of last event
300 m_change_stamp( ~sc_dt::UINT64_ONE ),
311 m_change_stamp( ~sc_dt::UINT64_ONE ),
322 , m_change_stamp( ~sc_dt::UINT64_ONE )
424 sc_dt::uint64 m_change_stamp; // delta of last event
441 // CLASS : sc_signal<sc_dt::sc_logic>
443 // Specialization of sc_signal<T> for type sc_dt
[all...]
H A Dsc_signal_ifs.h37 namespace sc_dt namespace
150 // CLASS : sc_signal_in_if<sc_dt::sc_logic>
152 // Specialization of sc_signal_in_if<T> for type sc_dt::sc_logic.
156 class sc_signal_in_if<sc_dt::sc_logic>
172 virtual const sc_dt::sc_logic& read() const = 0;
175 virtual const sc_dt::sc_logic& get_data_ref() const = 0;
198 sc_signal_in_if( const sc_signal_in_if<sc_dt::sc_logic>& );
199 sc_signal_in_if<sc_dt::sc_logic>& operator = (
200 const sc_signal_in_if<sc_dt::sc_logic>& );
H A Dsc_signal_ports.cpp128 sc_in<sc_dt::sc_logic>::end_of_elaboration()
144 sc_in<sc_dt::sc_logic>::add_trace_internal( sc_trace_file* tf_,
156 sc_in<sc_dt::sc_logic>::add_trace( sc_trace_file* tf_,
164 sc_in<sc_dt::sc_logic>::remove_traces() const
179 sc_in<sc_dt::sc_logic>::vbind( sc_interface& interface_ )
185 sc_in<sc_dt::sc_logic>::vbind( sc_port_base& parent_ )
294 // CLASS : sc_inout<sc_dt::sc_logic>
296 // Specialization of sc_inout<T> for type sc_dt::sc_logic.
301 sc_inout<sc_dt::sc_logic>::~sc_inout()
314 sc_inout<sc_dt
[all...]
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_pow10.h55 namespace sc_dt namespace
90 } // namespace sc_dt
H A Dsc_fxtype_params.cpp51 namespace sc_dt namespace
74 s += sc_dt::to_string( m_q_mode );
76 s += sc_dt::to_string( m_o_mode );
105 } // namespace sc_dt
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbdefs.h84 namespace sc_dt namespace
204 #define BITS_PER_INT64 (sizeof(::sc_dt::int64) * BITS_PER_CHAR)
207 #define BITS_PER_UINT64 (sizeof(::sc_dt::uint64) * BITS_PER_CHAR)
258 } // namespace sc_dt
265 operator << ( ::std::ostream& os, sc_dt::int64 a )
267 sc_dt::operator << ( os, a );
273 operator << ( ::std::ostream& os, sc_dt::uint64 a )
275 sc_dt::operator << ( os, a );
H A Dsc_nbdefs.cpp58 namespace sc_dt namespace
93 } // namespace sc_dt
/gem5/src/systemc/dt/misc/
H A Dsc_value_base.cc59 namespace sc_dt namespace
88 sc_dt::uint64
138 } // namespace sc_dt
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_iostream.h46 namespace sc_dt { namespace
51 } // namespace sc_dt
/gem5/ext/systemc/src/tlm_utils/
H A Dsimple_initiator_socket.h66 void (MODULE::*cb)(sc_dt::uint64, sc_dt::uint64))
78 typedef void (MODULE::*InvalidateDirectMemPtr)(sc_dt::uint64,
79 sc_dt::uint64);
130 void invalidate_direct_mem_ptr(sc_dt::uint64 start_range,
131 sc_dt::uint64 end_range)
194 void (MODULE::*cb)(int, sc_dt::uint64, sc_dt::uint64),
210 sc_dt::uint64,
211 sc_dt
[all...]
/gem5/src/systemc/ext/dt/int/
H A Dsc_nbdefs.hh72 namespace sc_dt namespace
185 #define BITS_PER_INT64 (sizeof(::sc_dt::int64) * BITS_PER_CHAR)
188 #define BITS_PER_UINT64 (sizeof(::sc_dt::uint64) * BITS_PER_CHAR)
212 } // namespace sc_dt
/gem5/src/systemc/ext/channel/
H A Dsc_signal.hh119 class ScSignalBasePicker<sc_dt::sc_logic> : public ScSignalBaseBinary
390 class sc_signal<sc_dt::sc_logic, WRITER_POLICY> :
391 public sc_gem5::ScSignalBinary<sc_dt::sc_logic, WRITER_POLICY>
395 sc_gem5::ScSignalBinary<sc_dt::sc_logic, WRITER_POLICY>(
399 sc_gem5::ScSignalBinary<sc_dt::sc_logic, WRITER_POLICY>(name)
402 const sc_dt::sc_logic &initial_value) :
403 sc_gem5::ScSignalBinary<sc_dt::sc_logic, WRITER_POLICY>(
408 sc_signal<sc_dt::sc_logic, WRITER_POLICY> &
409 operator = (const sc_dt::sc_logic &l)
414 sc_signal<sc_dt
[all...]
/gem5/src/systemc/tests/systemc/kernel/phase_callbacks/test05/
H A Dsimulation_callbacks.cpp83 static const sc_dt::uint64 max_rounds = ROUNDS;
84 static const sc_dt::uint64 max_timed_triggers = NUM_TIMED_TRIGGERS;
85 static const sc_dt::uint64 max_delta_triggers = NUM_DELTA_TRIGGERS;
137 sc_dt::uint64 cb_count;
219 sc_dt::uint64 timed_count, delta_count;
/gem5/src/systemc/tests/systemc/kernel/sc_event/test15/
H A Devent_triggered.cpp43 static const sc_dt::uint64 num_events = 128;
44 static const sc_dt::uint64 num_triggers = 4;
45 static const sc_dt::uint64 num_iterations = 10000000;
48 static const sc_dt::uint64 num_events = 16;
49 static const sc_dt::uint64 num_triggers = 4;
50 static const sc_dt::uint64 num_iterations = 4;
192 sc_dt::uint64 m_rng_state;

Completed in 40 milliseconds

1234567891011>>