Home
last modified time | relevance | path

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

/Renode-v1.15.3-c57714d/src/Renode/PlatformDescription/Syntax/
DIrqAttribute.cs17 Sources = sources; in IrqAttribute()
24 copy.Sources = new[] { source }; in SingleAttributeWithInheritedPosition()
31 Sources = new[] { new SingleOrMultiIrqEnd(new[] { new IrqEnd(propertyName, 0) }) }; in SetDefaultSource()
36 if(Sources == null) in ToString()
45 var sourceOrEmpty = Sources ?? Enumerable.Empty<SingleOrMultiIrqEnd>(); in Visit()
53 public IEnumerable<SingleOrMultiIrqEnd> Sources { get; private set; } property in Antmicro.Renode.PlatformDescription.Syntax.IrqAttribute
DEntry.cs78 … .Any(y => x.Sources.Single().Ends.Single() == y.Sources.Single().Ends.Single()))); in MergeWith()
105 var sourcesAsArray = multiplexedAttribute.Sources.SelectMany(selector).ToArray(); in FlattenIrqAttributes()
/Renode-v1.15.3-c57714d/tests/unit-tests/RenodeTests/PlatformDescription/
DParserTests.cs197 Assert.AreEqual(1, attributes[0].Sources.Single().Ends.Single().Number); in ShouldParseEntryWithSimpleIrqEntries()
200 Assert.AreEqual("IRQ", attributes[1].Sources.Single().Ends.Single().PropertyName); in ShouldParseEntryWithSimpleIrqEntries()
201 Assert.IsNull(attributes[2].Sources); in ShouldParseEntryWithSimpleIrqEntries()
219 Assert.AreEqual(1, attributes[0].Sources.Single().Ends.Single().Number); in ShouldParseEntryWithSimpleMultiplexedIrqEntries()
225 Assert.IsNull(attributes[1].Sources); in ShouldParseEntryWithSimpleMultiplexedIrqEntries()
231 … Assert.AreEqual("IRQ", attributes[2].Sources.ElementAt(0).Ends.ElementAt(0).PropertyName); in ShouldParseEntryWithSimpleMultiplexedIrqEntries()
248 var flattenedSources = attribute.Sources.SelectMany(x => x.Ends).ToArray(); in ShouldParseEntryWithMultiplexedMultiIrqEntries()
285 var flattenedSources = attribute.Sources.SelectMany(x => x.Ends).ToArray(); in ShouldParseEntryWithMultiIrqEntries()
310 Assert.AreEqual(1, attribute.Sources.Single().Ends.Single().Number); in ShouldParseEntryWithLocalIrqReceiver()
/Renode-v1.15.3-c57714d/src/Renode/PlatformDescription/
DCreationDriver.cs792 var irqEnd = multiplexedAttributes.Sources.Single().Ends.Single(); in SetPropertiesAndConnectInterrupts()
1100 if(irqAttribute.Sources == null) in ValidateAttributePreMerge()
1135 var leftArity = irqAttribute.Sources.Sum(x => x.Ends.Count()); in ValidateAttributePreMerge()
1144 foreach(var source in irqAttribute.Sources) in ValidateAttributePreMerge()
1275 foreach(var source in attribute.Sources) in CheckOverlappingIrqs()