public class NonPipelinedScheduleXml
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int[] |
tags
Tags used for DMA Fifo on the platform.
|
Constructor and Description |
---|
NonPipelinedScheduleXml() |
Modifier and Type | Method and Description |
---|---|
private void |
addActorElements(Graph graph,
Solutions solutions,
DesignFlowSolution designSolution,
org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
Add Actor elements in the XML file.
|
private void |
addChannelElements(Graph graph,
Solutions solutions,
DesignFlowSolution designSolution,
org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
Add Channel elements in the XML file.
|
private void |
addDmaScheduleElement(Graph graph,
Solutions solutions,
DesignFlowSolution designSolution,
Platform platform,
org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
Add DMA information elements in the XML file.
|
private void |
addFifoElement(Graph graph,
Solutions solutions,
DesignFlowSolution designSolution,
Platform platform,
org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
Add FIFO elements in the XML file.
|
private void |
addScheduleElement(Graph graph,
Solutions solutions,
DesignFlowSolution designSolution,
org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
Add Schedule information elements in the XML file.
|
void |
generateSolutionXml(java.lang.String outputFileName,
Graph graph,
Solutions solutions,
Platform platform,
DesignFlowSolution designSolution)
Generate Schedule XML for application schedule to execute on the platform.
|
private void addChannelElements(Graph graph, Solutions solutions, DesignFlowSolution designSolution, org.w3c.dom.Document doc, org.w3c.dom.Element parent)
graph
- application graphsolutions
- solutions for application graphdesignSolution
- design flow solutiondoc
- XML documentparent
- parent node where to add this elementprivate void addActorElements(Graph graph, Solutions solutions, DesignFlowSolution designSolution, org.w3c.dom.Document doc, org.w3c.dom.Element parent)
graph
- application graphsolutions
- solutions for application graphdesignSolution
- design flow solutiondoc
- XML documentparent
- parent node where to add this elementprivate void addScheduleElement(Graph graph, Solutions solutions, DesignFlowSolution designSolution, org.w3c.dom.Document doc, org.w3c.dom.Element parent)
graph
- application graphsolutions
- solutions for application graphdesignSolution
- design flow solutiondoc
- XML documentparent
- parent node where to add this elementprivate void addFifoElement(Graph graph, Solutions solutions, DesignFlowSolution designSolution, Platform platform, org.w3c.dom.Document doc, org.w3c.dom.Element parent)
graph
- application graphsolutions
- solutions for application graphdesignSolution
- design flow solutionplatform
- platform model for Kalray platformdoc
- XML documentparent
- parent node where to add this elementprivate void addDmaScheduleElement(Graph graph, Solutions solutions, DesignFlowSolution designSolution, Platform platform, org.w3c.dom.Document doc, org.w3c.dom.Element parent)
graph
- application graphsolutions
- solutions for application graphdesignSolution
- design flow solutionplatform
- platform model for Kalray platformdoc
- XML documentparent
- parent node where to add this elementpublic void generateSolutionXml(java.lang.String outputFileName, Graph graph, Solutions solutions, Platform platform, DesignFlowSolution designSolution)
outputFileName
- output file namegraph
- application graphsolutions
- solutions for application graphplatform
- platform model for Kalray platformdesignSolution
- design flow solution