Home
last modified time | relevance | path

Searched refs:IndexValueMap (Results 1 – 4 of 4) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DRegisterEnumParserTests.cs125 Assert.AreEqual(3, parser.RegisterGroups[0].IndexValueMap.Count); in ShouldParseEnumWithMultipleValuesWithIndices()
126 Assert.AreEqual(15, parser.RegisterGroups[0].IndexValueMap[1]); in ShouldParseEnumWithMultipleValuesWithIndices()
127 Assert.AreEqual(16, parser.RegisterGroups[0].IndexValueMap[2]); in ShouldParseEnumWithMultipleValuesWithIndices()
128 Assert.AreEqual(17, parser.RegisterGroups[0].IndexValueMap[3]); in ShouldParseEnumWithMultipleValuesWithIndices()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Common/
DRegisterEnumParser.cs91 IndexValueMap = new Dictionary<int, int>() in Parse()
96 groupDescriptor.IndexValueMap.Add(x.Item1, x.Item2); in Parse()
243 public Dictionary<int, int> IndexValueMap { get; set; } property in Antmicro.Renode.CoresSourceParser.RegistersEnumParser.RegisterGroupDescriptor
247 return IndexValueMap.Select(x => new RegisterDescriptor in GetRegisters()
DRegisterEnumParserContent.tt99 IndexValueMap = new Dictionary<int, int>()
104 groupDescriptor.IndexValueMap.Add(x.Item1, x.Item2);
251 public Dictionary<int, int> IndexValueMap { get; set; }
255 return IndexValueMap.Select(x => new RegisterDescriptor
DRegisterTemplate.tt275 foreach(var elem in registerGroup.IndexValueMap)
347 foreach(var index in registerGroup.IndexValueMap.OrderBy(x => x.Key))