Commit a2b9a568 authored by Alexander Diewald's avatar Alexander Diewald

Hier. Plat.: Enable adding WatchDogs to Nodes again

Issue-Ref: 3983
Issue-Url: https://af3-developer.fortiss.org/issues/3983Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent c0adec4b
HierarchicPlatformArchitectureCompositor.java bbd67a9699b73eb051a815aa513f61621e3836d4 GREEN
HierarchicalCompositionRules.java 9ab422ee2de9216a99a2ebd13345db453132e803 GREEN
HierarchicalCompositionRules.java da79b6c828dd13909ec4aba6062ae09865eda86f YELLOW
......@@ -75,6 +75,7 @@ public class HierarchicalCompositionRules extends PlatformHierarchicalCompositio
rval.add(ITileDomain.class);
rval.add(IOffChipNetworkDomain.class);
rval.add(IMemoryDomain.class);
rval.add(IPeripheralsDomain.class);
} else if(hasEqualLevel(domain, ITileDomain.class)) {
// Required for availability of these elements at the tile level (i.e., to drop elements
// from the processor / NoC domain into tile domain elements.)
......
......@@ -5,12 +5,12 @@ CoreCompositor.java 050798a2f694a04c23595ab7b9dee9756e9a3404 GREEN
MemoryCompositor.java 3064bb9b47a0df16eb85304481716d56273a21b9 GREEN
NetworkInterfaceCompositor.java da20db4c57e17921143fd8ea87635d9f341904b5 GREEN
NocRouterCompositor.java 3180a7cc98c6335f3fdc70befbdd5367e924e3d2 GREEN
NodeCompositor.java 02f6556b04c58a481c698a161e7a2607be30c2f8 GREEN
NodeCompositor.java 096dee7cba39dec1c767ebfc68cc13dbded7fa56 YELLOW
OffChipNetworkCompositor.java 7eae93d5e917837891bfdd624fede77fd762858d GREEN
OffChipNetworkGatewayCompositor.java 9aed7241e987c5bb525886840fed9604dd78ede0 GREEN
OffChipNetworkRouterCompositor.java b7893fbbc0865f98d63c4ac7c647f5efba3b7b28 GREEN
OnChipNetworkCompositor.java b90a297b0efdeb97b4b06c2bd0e22ad7737df588 GREEN
OnChipOffChipGatewayCompositor.java e9f51bc859ec7901c8f9fa1b1751c2a5804d6b3c GREEN
PowerSupplyCompositor.java 1a3f76d53557533d80c7ffdb8c28500bd453ff47 GREEN
TileCompositor.java 2b59f673831d5d6a2065db8903b2bf8c06f0c1e8 GREEN
TileCompositor.java ebeed4a6bfcddf498379e5a05d1bc33d3a633afa YELLOW
WatchDogCompositor.java 9d121bde08bc3e68c91ab53c673bd8865ae6fc44 GREEN
......@@ -24,6 +24,7 @@ import org.fortiss.af3.platform.hierarchic.model.electronics.PowerIn;
import org.fortiss.af3.platform.hierarchic.model.node.Node;
import org.fortiss.af3.platform.hierarchic.model.peripherals.GeneralPurposeInput;
import org.fortiss.af3.platform.hierarchic.model.peripherals.GeneralPurposeOutput;
import org.fortiss.af3.platform.hierarchic.model.peripherals.WatchDog;
import org.fortiss.af3.platform.hierarchic.model.tile.OnChipNetwork;
import org.fortiss.af3.platform.hierarchic.model.tile.Tile;
import org.fortiss.af3.platform.model.IArchitectureDomain;
......@@ -51,7 +52,7 @@ public final class NodeCompositor extends ExecutionUnitComponentCompositorBase<N
@Override
protected boolean canBeAddedAtCurrentLevel(IArchitectureDomain element) {
return super.canBeAddedAtCurrentLevel(element) ||
isInstanceOfAny(element, Tile.class, OnChipNetwork.class, PowerIn.class,
GeneralPurposeInput.class, GeneralPurposeOutput.class);
isInstanceOfAny(element, WatchDog.class, Tile.class, OnChipNetwork.class,
PowerIn.class, GeneralPurposeInput.class, GeneralPurposeOutput.class);
}
}
......@@ -23,7 +23,6 @@ import org.fortiss.af3.platform.hierarchic.compose.base.elements.ExecutionUnitCo
import org.fortiss.af3.platform.hierarchic.model.peripherals.GeneralPurposeInput;
import org.fortiss.af3.platform.hierarchic.model.peripherals.GeneralPurposeOutput;
import org.fortiss.af3.platform.hierarchic.model.peripherals.WatchDogIn;
import org.fortiss.af3.platform.hierarchic.model.tile.OnChipOffChipExport;
import org.fortiss.af3.platform.hierarchic.model.tile.Tile;
import org.fortiss.af3.platform.model.IArchitectureDomain;
......@@ -49,8 +48,7 @@ public final class TileCompositor extends ExecutionUnitComponentCompositorBase<T
/** {@inheritDoc} */
@Override
protected boolean canBeAddedAtCurrentLevel(IArchitectureDomain element) {
return isInstanceOfAny(element, OnChipOffChipExport.class, WatchDogIn.class,
GeneralPurposeInput.class, GeneralPurposeOutput.class) ||
super.canBeAddedAtCurrentLevel(element);
return isInstanceOfAny(element, WatchDogIn.class, GeneralPurposeInput.class,
GeneralPurposeOutput.class) || super.canBeAddedAtCurrentLevel(element);
}
}
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