Commit 4d5bd930 authored by Luis Rickert's avatar Luis Rickert Committed by lr119628
Browse files

[added]: if layer is artificial return its name

parent ea6ea14b
......@@ -40,13 +40,15 @@ public class LayerNameCreator {
} else if (architectureElement instanceof ParallelCompositeElementSymbol) {
return nameParallelComposite((ParallelCompositeElementSymbol) architectureElement, stage, streamIndices);
} else {
if (architectureElement.isAtomic()) {
if (architectureElement.getMaxSerialLength().get() > 0){
if (architectureElement.isAtomic()&& !architectureElement.isArtificial()) {
if (architectureElement.getMaxSerialLength().get() > 0) {
return add(architectureElement, stage, streamIndices);
} else {
return stage;
}
} else {
}else if (architectureElement.isArtificial()) {
return add(architectureElement,stage,streamIndices);
}else{
ArchitectureElementSymbol resolvedElement = (ArchitectureElementSymbol) architectureElement.getResolvedThis().get();
return name(resolvedElement, stage, streamIndices);
}
......
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