Lines Matching refs:renode_pkg
10 import renode_pkg::renode_runtime, renode_pkg::bus_connection, renode_pkg::renode_connection, renod…
11 import renode_pkg::message_t, renode_pkg::address_t, renode_pkg::data_t, renode_pkg::valid_bits_e;
113 renode_pkg::resetPeripheral: reset();
114 renode_pkg::tickClock: sync_time(time'(message.data));
115 renode_pkg::interrupt: handle_renode_output(message.address, message.data[0]);
116 …renode_pkg::writeRequestQuadWord: write_to_bus(message.address, renode_pkg::QuadWord, message.data…
117 …renode_pkg::writeRequestDoubleWord: write_to_bus(message.address, renode_pkg::DoubleWord, message.…
118 …renode_pkg::writeRequestWord: write_to_bus(message.address, renode_pkg::Word, message.data, messag…
119 …renode_pkg::writeRequestByte: write_to_bus(message.address, renode_pkg::Byte, message.data, messag…
120 …renode_pkg::readRequestQuadWord: read_from_bus(message.address, renode_pkg::QuadWord, message.peri…
121 …renode_pkg::readRequestDoubleWord: read_from_bus(message.address, renode_pkg::DoubleWord, message.…
122 …renode_pkg::readRequestWord: read_from_bus(message.address, renode_pkg::Word, message.peripheral_i…
123 …renode_pkg::readRequestByte: read_from_bus(message.address, renode_pkg::Byte, message.peripheral_i…
128 …if (!is_handled) runtime.connection.log(renode_pkg::LogWarning, $sformatf("Trying to handle the un…
166 …runtime.connection.send_to_async_receiver(message_t'{renode_pkg::tickClock, 0, 0, renode_pkg::no_p…
167 …runtime.connection.log(renode_pkg::LogNoisy, $sformatf("Simulation time synced to %t", $realtime));
175 if (is_error) runtime.connection.send(message_t'{renode_pkg::error, 0, 0, peripheral_index});
176 …else runtime.connection.send(message_t'{renode_pkg::readRequest, address, data, peripheral_index});
183 if (is_error) runtime.connection.send(message_t'{renode_pkg::error, 0, 0, peripheral_index});
184 else runtime.connection.send(message_t'{renode_pkg::ok, 0, 0, peripheral_index});
191 renode_pkg::Byte: message.action = renode_pkg::getByte;
192 renode_pkg::Word: message.action = renode_pkg::getWord;
193 renode_pkg::DoubleWord: message.action = renode_pkg::getDoubleWord;
194 renode_pkg::QuadWord: message.action = renode_pkg::getQuadWord;
213 while (message.action != renode_pkg::writeRequest) begin
215 if(message.action == renode_pkg::disconnect) break;
227 renode_pkg::Byte: message.action = renode_pkg::pushByte;
228 renode_pkg::Word: message.action = renode_pkg::pushWord;
229 renode_pkg::DoubleWord: message.action = renode_pkg::pushDoubleWord;
230 renode_pkg::QuadWord: message.action = renode_pkg::pushQuadWord;
248 while (message.action != renode_pkg::pushConfirmation) begin
250 if(message.action == renode_pkg::disconnect) break;
265 …runtime.connection.log(renode_pkg::LogWarning, $sformatf("Output %0d is out of range of [0;%0d]", …
266 runtime.connection.send(message_t'{renode_pkg::error, 0, 0, renode_pkg::no_peripheral_index});
272 runtime.connection.send(message_t'{renode_pkg::ok, 0, 0, renode_pkg::no_peripheral_index});