Commit 05be790b authored by Alexander Diewald's avatar Alexander Diewald

Hier. Plat.: Allow electrical supply of WatchDogs

Issue-Ref: 3984
Issue-Url: https://af3-developer.fortiss.org/issues/3984Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 916932da
HierarchicPlatformArchitectureCompositor.java fecefdbd64c391f179730ac5aea7e7265ec81fca GREEN
HierarchicalCompositionRules.java d50adf52ba1761403ca52d5aede406166aa0ca20 YELLOW
HierarchicalCompositionRules.java 2eee9812a32b4be0d4f50babfec86bd96af6ecfe YELLOW
......@@ -118,7 +118,7 @@ public class HierarchicalCompositionRules extends PlatformHierarchicalCompositio
IProcessorDomain.class, IMemoryDomain.class);
// Peripherals
boolean processorAndPeripherals = isCompatibleDomainsCommutative(domain1, domain2,
boolean tileAndPeripherals = isCompatibleDomainsCommutative(domain1, domain2,
ITileDomain.class, IPeripheralsDomain.class);
// Electrical supply of platform elements down to tiles.
......@@ -130,10 +130,13 @@ public class HierarchicalCompositionRules extends PlatformHierarchicalCompositio
IClusterDomain.class, IElectronicsDomain.class);
boolean memoryAndElectrialSupply = isCompatibleDomainsCommutative(domain1, domain2,
IMemoryDomain.class, IElectronicsDomain.class);
boolean electricalSupply = tileAndElectrialSupply || nodeAndElectrialSupply ||
clusterAndElectrialSupply || memoryAndElectrialSupply;
boolean peripheralsAndElectrialSupply = isCompatibleDomainsCommutative(domain1, domain2,
IPeripheralsDomain.class, IElectronicsDomain.class);
boolean electricalSupply =
tileAndElectrialSupply || nodeAndElectrialSupply || clusterAndElectrialSupply ||
memoryAndElectrialSupply || peripheralsAndElectrialSupply;
return processorAndPeripherals || processorAndMemory || electricalSupply ||
return tileAndPeripherals || processorAndMemory || electricalSupply ||
super.isCompatibleDomains(domain1, domain2);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment