Commit 207091ec authored by Christian Fuß's avatar Christian Fuß

adjusted code to deal with changes in UnrollSymbol

parent d497e7a6
Pipeline #174379 failed with stages
in 2 minutes and 52 seconds
...@@ -38,7 +38,7 @@ public class LayerNameCreator { ...@@ -38,7 +38,7 @@ public class LayerNameCreator {
stage = name(stream, stage, new ArrayList<>()); stage = name(stream, stage, new ArrayList<>());
} }
for (UnrollSymbol unroll : architecture.getUnrolls()) { for (UnrollSymbol unroll : architecture.getUnrolls()) {
stage = name(unroll, stage, new ArrayList<>()); stage = name(unroll.getBody(), stage, new ArrayList<>());
} }
} }
...@@ -55,8 +55,6 @@ public class LayerNameCreator { ...@@ -55,8 +55,6 @@ public class LayerNameCreator {
return nameSerialComposite((SerialCompositeElementSymbol) architectureElement, stage, streamIndices); return nameSerialComposite((SerialCompositeElementSymbol) architectureElement, stage, streamIndices);
} else if (architectureElement instanceof ParallelCompositeElementSymbol) { } else if (architectureElement instanceof ParallelCompositeElementSymbol) {
return nameParallelComposite((ParallelCompositeElementSymbol) architectureElement, stage, streamIndices); return nameParallelComposite((ParallelCompositeElementSymbol) architectureElement, stage, streamIndices);
}else if (architectureElement instanceof UnrollSymbol) {
return nameUnroll((UnrollSymbol) architectureElement, stage, streamIndices);
} else{ } else{
if (architectureElement.isAtomic()){ if (architectureElement.isAtomic()){
if (architectureElement.getMaxSerialLength().get() > 0){ if (architectureElement.getMaxSerialLength().get() > 0){
......
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