1 //
2 // Copyright (c) 2010-2022 Antmicro
3 //
4 // This file is licensed under the MIT License.
5 // Full license text is available in 'licenses/MIT.txt'.
6 //
7 
8 namespace Antmicro.Renode.Peripherals.Miscellaneous
9 {
10     // All below values come from https://github.com/lowRISC/opentitan/blob/master/sw/device/lib/base/multibits.h
11     public enum MultiBitBool4
12     {
13         True = 0x6,
14         False = 0x9,
15     }
16 
17     public enum MultiBitBool8
18     {
19         True = 0x96,
20         False = 0x69,
21     }
22 
23     public enum MultiBitBool12
24     {
25         True = 0x696,
26         False = 0x969,
27     }
28 
29     public enum MultiBitBool16
30     {
31         True = 0x9696,
32         False = 0x6969,
33     }
34 }
35