1//
2// Copyright (c) 2010-2024 Antmicro
3//
4// This file is licensed under the MIT License.
5// Full license text is available in 'licenses/MIT.txt'.
6//
7
8// This file contains enumerators of the action type used by the Renode protocol.
9// The mentioned protocol is used to communicate with HDL simulators.
10// The values below must be in sync with ActionType from Renode (defined in C#).
11// The content on this file must be compatible with the enum syntax in both C++ and SystemVerilog.
12// Append new actions to the end to preserve compatibility.
13invalidAction = 0,
14tickClock = 1,
15writeRequest = 2,
16readRequest = 3,
17resetPeripheral = 4,
18logMessage = 5,
19interrupt = 6,
20disconnect = 7,
21error = 8,
22ok = 9,
23handshake = 10,
24pushDoubleWord = 11,
25getDoubleWord = 12,
26pushWord = 13,
27getWord = 14,
28pushByte = 15,
29getByte = 16,
30isHalted = 17,
31registerGet = 18,
32registerSet = 19,
33singleStepMode = 20,
34readRequestByte = 21,
35readRequestWord = 22,
36readRequestDoubleWord = 23,
37readRequestQuadWord = 24,
38writeRequestByte = 25,
39writeRequestWord = 26,
40writeRequestDoubleWord = 27,
41writeRequestQuadWord = 28,
42pushQuadWord = 29,
43getQuadWord = 30,
44pushConfirmation = 31,
45step = 100
46