Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 151) sorted by relevance

1234567

/Renode-v1.15.3-c57714d/tools/external_control_client/examples/run_for/
Dmain.c37 static void perf_stop(uint64_t times, uint64_t value, renode_time_unit_t time_unit) in perf_stop() argument
51 …int64_t virt_seconds = value * times / (time_unit == TU_SECONDS ? 1 : (time_unit == TU_MICROSECOND… in perf_stop()
52 …int64_t virt_microseconds = (value * times) % (time_unit == TU_SECONDS ? 1 : (time_unit == TU_MICR… in perf_stop()
62 static void stop_virtual_time_check(renode_t *renode, uint64_t value, renode_time_unit_t time_unit) in stop_virtual_time_check() argument
65 (void)value; in stop_virtual_time_check()
73 static void perf_stop(uint64_t times, uint64_t value, renode_time_unit_t time_unit) in perf_stop() argument
76 (void)value; in perf_stop()
100 static void stop_virtual_time_check(renode_t *renode, uint64_t value, renode_time_unit_t time_unit) in stop_virtual_time_check() argument
114 if (vt_delta != value * time_unit) { in stop_virtual_time_check()
136 bool read_time_value(char *buffer, char **endptr, uint64_t *value, renode_time_unit_t *time_unit) in read_time_value() argument
[all …]
/Renode-v1.15.3-c57714d/platforms/cpus/
Dtegra3.repl102 script: "request.value = 1"
107 script: "request.value = 0x55555555"
112 script: "request.value = 0x60000"
117 script: "request.value = 0x0"
122 script: "request.value = 0x1 | (1<<8)"
127 script: "request.value = 0xFFFFFFFF"
132 script: "request.value = 732"
137 script: "request.value = ((1<<30) | (50 << 8) | 0xEC)"
142 script: "request.value = ((1<<30) | (300 << 8) | 0xEC)"
147 script: "request.value = ((1<<28) | (408 << 8) | 0xEC)"
[all …]
Dtegra2.repl91 script: "request.value = 0x60000"
96 script: "request.value = 0x0"
101 script: "request.value = 0x1 | (1<<8)"
106 script: "request.value = 0xFFFFFFFF"
111 script: "request.value = 732"
116 script: "request.value = ((1<<30) | (50 << 8) | 0xEC)"
121 script: "request.value = ((1<<30) | (333 << 8) | 0xEC)"
126 script: "request.value = ((1<<28) |(1<<22)| (216 << 8) | 0xEC)"
131 script: "request.value = (1<<30)"
136 script: "request.value = 0x2000"
[all …]
Dstarfive-jh7100.repl54 request.value = regs[offset & 0x3] & 0xffffffff
56 request.value = (regs[offset & 0x3] ^ mask[offset & 0x3]) & 0xffffffff
59 regs[offset] = request.value
71 request.value = reg & 0xffffffff
73 request.value = ~reg & 0xffffffff
75 reg = request.value
87 request.value = reg & 0xffffffff
89 request.value = ~reg & 0xffffffff
91 reg = request.value
Dstm32g0.repl201 …yLog("%s on FLIPFLOP at offset 0x%x, value 0x%x, length %d, %s" % (str(request.type), request.offs…
206 data['hsion'] = (request.value >> 8) & 0x1
208 data['pllon'] = (request.value >> 24) & 0x1
211 data['sw'] = request.value & 0x7
213 data['lsion'] = request.value & 0x1
217 # request.value = lastVal * 0x83
223 request.value = (data['hsion'] << 8) | (data['hsion'] << 10) | (data['pllon'] << 25)
225 request.value = lastVal * 0xFFFFFFF8
227 request.value = 0x0
229 request.value = (data['lsion'] << 1)
[all …]
Dstm32f0.repl182 request.value = lastVal * 0x83
184 request.value = lastVal * 0xFFFFFFF8
186 request.value = 0x0
188 request.value = lastVal * 0xFFFFFFFF
190 self.NoisyLog("%s on FLIPFLOP at 0x%x, value 0x%x" % (str(request.type), request.offset, request.va…
197 # writing base address - we write some positive value there in case initialization awaits output
198 sysbus.WriteDoubleWord(request.value, 0x40E33333)
199 self.NoisyLog("0x%x written with value 0x40E33333" % request.value)
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/peripherals/
Dcpu-agent.h51 cpu->onGPIO(message->addr, message->value); in handleRequest()
59 setRegister(message->addr, message->value); in handleRequest()
64 if (message->value) in handleRequest()
82 ticks = message->value - tickCounter; in handleRequest()
84 tickCounter -= message->value; in handleRequest()
108 ticks = message->value - tickCounter; in handleRequest()
110 tickCounter -= message->value; in handleRequest()
153 void setRegister(uint64_t id, uint64_t value) in setRegister() argument
156 debugProgram = cpu->getRegisterSetProgram(id, value); in setRegister()
198 void pushByteToAgent(uint64_t addr, uint8_t value) override in pushByteToAgent() argument
[all …]
Duart.cpp48 void UART::Rxd(uint8_t value) { in Rxd() argument
49 std::bitset<8> buffer(value); in Rxd()
63 Rxd(message->value); in handleCustomRequestType()
68 void UART::writeToBus(int width, uint64_t addr, uint64_t value) { in writeToBus() argument
69 RenodeAgent::writeToBus(width, addr, value); in writeToBus()
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/
Drenode_dpi.cpp13 bool renodeDPIReceive(uint32_t* actionId, uint64_t* address, uint64_t* value, int32_t* peripheralIn… in renodeDPIReceive() argument
22 *value = message->value; in renodeDPIReceive()
48 bool renodeDPISend(uint32_t actionId, uint64_t address, uint64_t value, int32_t peripheralIndex) in renodeDPISend() argument
54 socketChannel->sendMain(Protocol(actionId, address, value, peripheralIndex)); in renodeDPISend()
58 bool renodeDPISendToAsync(uint32_t actionId, uint64_t address, uint64_t value, int32_t peripheralIn… in renodeDPISendToAsync() argument
64 socketChannel->sendSender(Protocol(actionId, address, value, peripheralIndex)); in renodeDPISendToAsync()
Drenode_bus.cpp40 void RenodeAgent::writeToBus(int width, uint64_t addr, uint64_t value) in writeToBus() argument
43 targetInterfaces[0]->write(width, addr, value); in writeToBus()
64 void RenodeAgent::pushByteToAgent(uint64_t addr, uint8_t value) in pushByteToAgent() argument
66 pushToAgent(pushByte, addr, value); in pushByteToAgent()
69 void RenodeAgent::pushWordToAgent(uint64_t addr, uint16_t value) in pushWordToAgent() argument
71 pushToAgent(pushWord, addr, value); in pushWordToAgent()
74 void RenodeAgent::pushDoubleWordToAgent(uint64_t addr, uint32_t value) in pushDoubleWordToAgent() argument
76 pushToAgent(pushDoubleWord, addr, value); in pushDoubleWordToAgent()
84 void RenodeAgent::pushToAgent(Action action, uint64_t addr, uint64_t value) in pushToAgent() argument
86 communicationChannel->sendSender(Protocol(action, addr, value)); in pushToAgent()
[all …]
Drenode.h18 Protocol(int actionId, uint64_t addr, uint64_t value, int peripheralIndex = 0)
22 this->value = value;
28 uint64_t value; member
Drenode_dpi.h16 …bool renodeDPIReceive(uint32_t *actionId, uint64_t *address, uint64_t *value, int32_t *peripheralI…
17 bool renodeDPISend(uint32_t actionId, uint64_t address, uint64_t value, int32_t peripheralIndex);
18 …bool renodeDPISendToAsync(uint32_t actionId, uint64_t address, uint64_t value, int32_t peripheralI…
Drenode_bus.h38 virtual void writeToBus(int width, uint64_t addr, uint64_t value);
40 virtual void pushByteToAgent(uint64_t addr, uint8_t value);
41 virtual void pushWordToAgent(uint64_t addr, uint16_t value);
42 virtual void pushDoubleWordToAgent(uint64_t addr, uint32_t value);
44 virtual void pushToAgent(Action action, uint64_t addr, uint64_t value);
/Renode-v1.15.3-c57714d/tools/external_control_client/examples/adc/
Dmain.c46 char *voltage_string(uint32_t value) in voltage_string() argument
51 if ((integer = (value / 1000000))) { in voltage_string()
52 fraction = value % 1000000; in voltage_string()
55 else if ((integer = (value / 1000))) { in voltage_string()
56 fraction = value % 1000; in voltage_string()
60 snprintf(buffer, 32, "%uuV", value); in voltage_string()
76 uint64_t value = strtoul(argv[4], &endptr, /* base: */ 0); in main() local
91 value *= 1000; in main()
94 value *= 1000000; in main()
100 if (value > UINT32_MAX) { in main()
[all …]
/Renode-v1.15.3-c57714d/tools/csv2resd/
Dresd.py109 def period(self, value): argument
110 self.__period = value
117 def frequency(self, value): argument
118 self.__period = int(1e9 / value)
125 def start_time(self, value): argument
126 self.__start_time = value
149 def start_time(self, value): argument
150 self.__start_time = value
193 return lambda key, value: self._insert(type_idx, key, value)
202 index = next(i for i, value in enumerate(self.metadata) if value['key'] == key)
[all …]
Dcsv2resd.py34 def _retype(self, value): argument
36 if all(c.isdigit() for c in value.lstrip('-')):
37 return int(value)
38 elif all(c.isdigit() or c == '.' for c in value.lstrip('-')):
39 return float(value)
40 elif value[0] == '"' and value[-1] == '"':
41 return value[1:-1]
43 return value
/Renode-v1.15.3-c57714d/tools/PeakRDL-renode/src/peakrdl_renode/csharp/
Dop_null.py33 if lit.value == 0:
36 if lit1.value == 0 and lit2.value == 0:
44 if lit.value == 0:
46 elif lit.value == (1 << expr.type.width) - 1:
54 if isinstance(node.rhs, IntLit) and node.rhs.value == 0:
59 if lit.value == 0:
/Renode-v1.15.3-c57714d/scripts/pydev/
Dticker.py9 lastVal = request.value
11 step = request.value
14 request.value = lastVal
16 …f.NoisyLog("%s on TICKER at 0x%x, value 0x%x" % (str(request.type), request.offset, request.value))
Drepeater.py4 request.value = lastVal
6 lastVal = request.value
8 …NoisyLog("%s on REPEATER at 0x%x, value 0x%x" % (str(request.type), request.offset, request.value))
Dtzc400_gatekeeper.py4 request.value = baseValue
6 x = request.value & 0xffff
Dflipflop.py5 request.value = lastVal * 0xFFFFFFFF
7 …NoisyLog("%s on FLIPFLOP at 0x%x, value 0x%x" % (str(request.type), request.offset, request.value))
/Renode-v1.15.3-c57714d/tests/unit-tests/
Driscv-interrupt-mode.robot18 [Arguments] ${value}
20 Should Be Equal ${reg.strip()} ${value}
24 [Arguments] ${value}
26 Should Be Equal ${reg.strip()} ${value}
30 [Arguments] ${value}
32 ${opcode}= Get From Dictionary ${mtvec_write_opcodes} ${value}
37 # (including the one generated by setting the MTVEC value)
42 [Arguments] ${value}
44 ${opcode}= Get From Dictionary ${stvec_write_opcodes} ${value}
49 # (including the one generated by setting the STVEC value)
[all …]
Darm-atomic.robot13 ${value}= Execute Command cpu${cpu} GetRegister ${STATUS_REG}
14 Should Be Equal As Integers ${value} ${expected} Unexpected store status on cpu${cpu}
19 ${value}= Execute Command sysbus ReadDoubleWord ${addr}
20 Should Be Equal As Integers ${value} ${expected} Unexpected memory value on cpu${cpu}
27 [Arguments] ${value} ${cpu}=0
28 Execute Command cpu${cpu} SetRegister ${VALUE_REG} ${value}
31 [Arguments] ${value} ${cpu}=0
32 Execute Command cpu${cpu} SetRegister ${ADDRESS_REG} ${value}
80 …# Storing 0xA with normal store and 0xB with the exclusive store. Check if the value was not overr…
/Renode-v1.15.3-c57714d/scripts/
Dmonitor.py37 def mc_echo(*value): argument
38 if len(value) == 2:
39 if value[0] == "-n":
40 sys.stdout.write(value[1])
42 elif len(value) == 1:
43 print value[0]
45 elif len(value) == 0:
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/buses/
Dwishbone.cpp39 void Wishbone::timeoutTick(uint8_t *signal, uint8_t value, int timeout = DEFAULT_TIMEOUT) in timeoutTick() argument
45 while(*signal != value && timeout > 0); in timeoutTick()
60 void Wishbone::write(int width, uint64_t addr, uint64_t value) in write() argument
73 *wb_wr_dat = value; in write()

1234567