Commit 727102c0 authored by Julian Oppermann's avatar Julian Oppermann

Adapted HatScheT export to upstream changes.

parent d9abf184
......@@ -97,7 +97,7 @@ public class HatScheTExportFormulation extends Formulation<Object, String, Resou
modelInfo.appendChild(resources);
for (Resource k : resKinds) {
Element resource = document.createElement("resource");
Element resource = document.createElement("Resource");
resources.appendChild(resource);
resource.setAttribute("name", sanitiseOperator(k.name));
......@@ -105,9 +105,6 @@ public class HatScheTExportFormulation extends Formulation<Object, String, Resou
resource.setAttribute("latency", valueOf(k.delay));
resource.setAttribute("physicalDelay", valueOf(0));
resource.setAttribute("blockingTime", valueOf(Math.min(1, k.delay)));
resource.setAttribute("nLUT", valueOf(0));
resource.setAttribute("nDSP", valueOf(0));
resource.setAttribute("nMEM", valueOf(0));
}
Transformer transformer = TransformerFactory.newInstance().newTransformer();
......
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