Searched refs:value (Results 26 - 50 of 497) sorted by relevance

1234567891011>>

/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test07/
H A Dtest07.cpp71 for ( bool value=true;; value = !value)
75 m_a = value;
78 m_b = value;
81 m_c = value;
/gem5/src/dev/arm/
H A Dvio_mmio.cc79 const uint32_t value = read(offset); local
80 DPRINTF(VIOIface, " value: 0x%x\n", value);
82 pkt->setLE<uint32_t>(value);
176 DPRINTF(VIOIface, " value: 0x%x\n", pkt->getLE<uint32_t>());
183 MmioVirtIO::write(Addr offset, uint32_t value) argument
187 hostFeaturesSelect = value;
192 vio.setGuestFeatures(value);
193 } else if (value != 0) {
195 guestFeaturesSelect, value);
268 setInterrupts(uint32_t value) argument
[all...]
/gem5/src/systemc/tlm_core/2/quantum/
H A Dglobal_quantum.cc45 g_quant.value() - (current.value() % g_quant.value()));
/gem5/ext/mcpat/
H A Dcommon.h42 // Note: These macros assume node_name and value variables of type XMLCSTR
47 lhs = atoi(value)
50 lhs = atof(value)
53 lhs = string(value)
56 lhs = (etype)atoi(value)
/gem5/util/cpt_upgraders/
H A Darm-gem5-gic-ext.py70 value = cpt.get(sec, reg).split(" ")
71 assert len(value) / len(default) == old_cpu_max, \
73 value += [ " ".join(default), ] * (new_cpu_max - old_cpu_max)
74 cpt.set(sec, reg, " ".join(value))
H A Disa-is-simobject.py41 for (key, value) in cpt.items(sec, raw=True):
43 isa_section.append((key, value))
48 for (key, value) in isa_section:
62 for (key, value) in options:
63 cpt.set(sec, key, value)
/gem5/ext/testlib/
H A Dstate.py42 def __init__(self, value, reason=None):
43 self.value = value
47 return self.name(self.value)
/gem5/src/python/m5/
H A Dticks.py60 def fromSeconds(value):
63 if not isinstance(value, float):
64 raise TypeError("can't convert '%s' to type tick" % type(value))
72 if value == 0:
75 # convert the value from time to ticks
76 value *= _m5.core.getClockFrequency()
78 int_value = int(round(value))
79 err = (value - int_value) / value
81 warn("rounding error > tolerance\n %f rounded to %d", value,
[all...]
H A Dparams.py52 # value (if any). The convert() method on these objects is used to
53 # force whatever value is assigned to the parameter to the appropriate
145 # Produce a human readable version of the stored value
146 def pretty_print(self, value):
147 return str(value)
206 def convert(self, value):
207 if isinstance(value, proxy.BaseProxy):
208 value.set_param_desc(self)
209 return value
210 if 'ptype' not in self.__dict__ and isNullPointer(value)
[all...]
/gem5/src/systemc/tests/systemc/datatypes/fx/observers/
H A Dobservers.cpp50 T value(&o);
52 std::cout << "to_short "; value.to_short();
53 std::cout << "to_ushort "; value.to_ushort();
54 std::cout << "to_int "; value.to_int();
55 std::cout << "to_uint "; value.to_uint();
56 std::cout << "to_long "; value.to_long();
57 std::cout << "to_ulong "; value.to_ulong();
58 std::cout << "to_int64 "; value.to_int64();
59 std::cout << "to_uint64 "; value.to_uint64();
60 std::cout << "to_float "; value
[all...]
/gem5/ext/nomali/lib/
H A Dregutils.hh53 return RegBlock(addr.value >> 12);
68 return RegAddr(addr.value & (BLOCK_REGS_SIZE - 1));
79 assert(addr.value >= JOB_SLOT0);
80 assert(addr.value <= 0xFFF);
81 return (addr.value - JOB_SLOT0) >> 7;
111 return addr.value >= MMU_AS0 && addr.value <= 0x7FF;
124 return (addr.value - MMU_AS0) >> 6;
H A Dmmu.cc63 MMU::writeReg(RegAddr addr, uint32_t value) argument
65 switch (addr.value) {
70 GPUBlockInt::writeReg(addr, value);
76 as.writeReg(getAddrSpaceAddr(addr), value); local
93 MMU::writeRegRaw(RegAddr addr, uint32_t value) argument
96 spaces[getAddrSpaceNo(addr)].writeRegRaw(getAddrSpaceAddr(addr), value); local
98 GPUBlockInt::writeRegRaw(addr, value);
/gem5/ext/pybind11/tests/test_embed/
H A Dexternal_module.cpp12 A(int value) : v{value} {}; argument
18 .def_readwrite("value", &A::v);
/gem5/src/systemc/tests/systemc/datatypes/int/misc/test02/
H A Dtest02.cpp4 inline void dump(sc_signed& value) argument
6 sc_digit* ptr = value.get_raw();
9 cout << " " << value << endl;
12 inline void dump(sc_unsigned& value) argument
14 sc_digit* ptr = value.get_raw();
17 cout << " " << value << endl;
27 value = src_p; \
28 dump(value); \
32 value = SUBJECT; \
33 if ( value
68 sc_biguint<120> value; local
[all...]
/gem5/src/systemc/core/
H A Dsc_spawn.cc93 newReset(p.target, proc, p.sync, p.value);
96 newReset(p.target, proc, p.sync, p.value);
99 newReset(p.target, proc, p.sync, p.value);
102 newReset(i.target, proc, i.sync, i.value);
179 sc_spawn_options::reset_signal_is(const sc_in<bool> &port, bool value) argument
181 _in_resets.emplace_back(&port, value, true);
185 sc_spawn_options::reset_signal_is(const sc_inout<bool> &port, bool value) argument
187 _inout_resets.emplace_back(&port, value, true);
191 sc_spawn_options::reset_signal_is(const sc_out<bool> &port, bool value) argument
193 _out_resets.emplace_back(&port, value, tru
197 reset_signal_is( const sc_signal_in_if<bool> &iface, bool value) argument
205 async_reset_signal_is(const sc_in<bool> &port, bool value) argument
211 async_reset_signal_is(const sc_inout<bool> &port, bool value) argument
217 async_reset_signal_is(const sc_out<bool> &port, bool value) argument
223 async_reset_signal_is( const sc_signal_in_if<bool> &iface, bool value) argument
[all...]
H A Dsc_time_python.cc51 .def("value", &sc_core::sc_time::value)
71 .value("SC_FS", sc_core::SC_FS)
72 .value("SC_PS", sc_core::SC_PS)
73 .value("SC_NS", sc_core::SC_NS)
74 .value("SC_US", sc_core::SC_US)
75 .value("SC_MS", sc_core::SC_MS)
76 .value("SC_SEC", sc_core::SC_SEC)
/gem5/ext/pybind11/tests/
H A Dtest_exceptions.py10 assert msg(excinfo.value) == "This exception was intentionally thrown."
16 assert msg(excinfo.value) == "Unknown internal error occurred"
20 assert msg(excinfo.value) == "foo"
26 assert str(excinfo.value) == "My runtime error"
30 assert str(excinfo.value) == "My value error"
34 assert str(excinfo.value) == "pybind11 value error"
38 assert str(excinfo.value) == "pybind11 type error"
60 assert msg(excinfo.value)
[all...]
/gem5/src/base/
H A Dstr.hh112 typename std::enable_if<std::is_integral<T>::value &&
113 std::is_signed<T>::value, T>::type
114 __to_number(const std::string &value) argument
117 long long r = std::stoll(value, nullptr, 0);
124 typename std::enable_if<std::is_integral<T>::value &&
125 !std::is_signed<T>::value, T>::type
126 __to_number(const std::string &value) argument
129 unsigned long long r = std::stoull(value, nullptr, 0);
136 typename std::enable_if<std::is_enum<T>::value, T>::type
137 __to_number(const std::string &value) argument
145 __to_number(const std::string &value) argument
165 to_number(const std::string &value, T &retval) argument
183 to_bool(const std::string &value, bool &retval) argument
[all...]
/gem5/ext/ply/example/unicalc/
H A Dcalc.py33 t.value = int(t.value)
35 print "Integer value too large", t.value
36 t.value = 0
43 t.lexer.lineno += t.value.count("\n")
46 print "Illegal character '%s'" % t.value[0]
104 print "Syntax error at '%s'" % p.value
/gem5/src/base/loader/
H A Dexec_ecoff.h88 #define ECOFF_ROUND(value, by) \
89 (((value) + (by) - 1) & ~((by) - 1))
91 #define ECOFF_BLOCK_ALIGN(ep, value) \
92 ((ep)->a.magic == ECOFF_ZMAGIC ? ECOFF_ROUND((value), ECOFF_LDPGSZ) : \
93 (value))
103 #define ECOFF_SEGMENT_ALIGN(ep, value) \
104 (ECOFF_ROUND((value), ((ep)->a.magic == ECOFF_ZMAGIC ? ECOFF_LDPGSZ : \
/gem5/util/minorview/
H A Dparse.py80 """parse a string like 'name=value name2=value2' into a
81 list of pairs of ('name', 'value') ..."""
85 name, rest, value = pair.groups()
86 if value is not None:
87 value = re.sub('^"(.*)"$', '\\1', value)
88 ret.append((name, value))
94 """parse a string of the form "(index,value),(index,value)..."
95 into a list of index, value pair
[all...]
/gem5/ext/nomali/tests/
H A Dnomali_test0.c37 uint32_t value; local
44 nomali_reg_read(h, &value, GPU_CONTROL_REG(GPU_ID)));
45 if (value != ((GPU_ID_PI_T60X << 16) | 0x10)) {
/gem5/ext/ply/ply/
H A Dcpp.py26 t.lexer.lineno += t.value.count("\n")
48 t.lexer.lineno += t.value.count("\n")
54 t.lexer.lineno += t.value.count("\n")
60 t.lexer.lineno += t.value.count("\n")
64 t.type = t.value[0]
65 t.value = t.value[0]
113 # .value - Macro value (a list of tokens)
124 def __init__(self,name,value,arglis
[all...]
/gem5/ext/fputils/include/fputils/
H A Dfptypes.h47 * Raw value exposed as an unsigned integer. Mainly used for bit
52 double value; member in union:__anon1
/gem5/src/mem/qos/
H A Dpolicy.hh77 * Builds a MasterID/value pair given a master input.
84 * @param value Value to be associated with the MasterID
88 std::pair<MasterID, T> pair(M master, T value);
95 * @return QoS priority value
104 * @return QoS priority value
115 Policy::pair(M master, T value) argument
124 master, id, value);
126 return std::pair<MasterID, T>(id, value);

Completed in 22 milliseconds

1234567891011>>