sdf/resource_allocation/mpsoc_arch/xml.cc File Reference

#include "xml.h"
Include dependency graph for sdf/resource_allocation/mpsoc_arch/xml.cc:

Functions

CNodecreateMappingNode (PlatformGraph *g, SDFgraph *appGraph)
void outputBindingAsXML (PlatformGraph *g, SDFgraph *appGraph, ostream &out)
CNodecreateTileUsageNode (Tile *t)
CNodecreateSystemUsageNode (PlatformGraph *g)
void outputSystemUsageAsXML (PlatformGraph *g, ostream &out)
CNodecreateTileNode (Tile *t)
CNodecreateConnectionNode (Connection *c)
CNodecreatePlatformGraphNode (PlatformGraph *g)
void outputPlatformGraphAsXML (PlatformGraph *g, ostream &out)

Function Documentation

CNode* createConnectionNode ( Connection c  ) 

createConnectionNode () Create an XML node which describes the connection c in an platform graph.

References CAddAttribute(), CNewNode(), Connection::getDstTile(), Connection::getLatency(), ArchComponent::getName(), and Connection::getSrcTile().

Referenced by createPlatformGraphNode().

Here is the call graph for this function:

CNode* createPlatformGraphNode ( PlatformGraph g  ) 

createPlatformGraphNode () Create an XML node which describes the platform graph.

References c, CAddAttribute(), CAddNode(), CNewNode(), PlatformGraph::connectionsBegin(), createConnectionNode(), createTileNode(), ArchComponent::getName(), PlatformGraph::tilesBegin(), and PlatformGraph::tilesEnd().

Referenced by SDF3Flow::createSDF3Node(), and outputPlatformGraphAsXML().

Here is the call graph for this function:

CNode* createSystemUsageNode ( PlatformGraph g  ) 

createSystemUsageNode () The function constructs a system usage node in XML format.

References CAddAttribute(), CAddNode(), CNewNode(), createTileUsageNode(), ArchComponent::getName(), PlatformGraph::tilesBegin(), and PlatformGraph::tilesEnd().

Referenced by bindApplicationGraphsToArchitectureGraph(), SDF3Flow::createSDF3Node(), and outputSystemUsageAsXML().

Here is the call graph for this function:

CNode* createTileNode ( Tile t  ) 

createTileNode () Create an XML node which describes the tile t in an platform graph.

References CAddAttribute(), CAddNode(), CNewNode(), NetworkInterface::getInBandwidth(), Tile::getMemory(), ArchComponent::getName(), Tile::getNetworkInterface(), NetworkInterface::getNrConnections(), NetworkInterface::getOutBandwidth(), Tile::getProcessor(), and Memory::getSize().

Referenced by createPlatformGraphNode().

Here is the call graph for this function:

void outputBindingAsXML ( PlatformGraph g,
SDFgraph appGraph,
ostream &  out 
)

outputBindingAsXML () Output the binding of an SDFG to an platform graph in XML format.

References CAddAttribute(), CAddNode(), CNewDoc(), CNewNode(), createMappingNode(), and CSaveFile().

Referenced by bindApplicationGraphsToArchitectureGraph().

Here is the call graph for this function:

void outputPlatformGraphAsXML ( PlatformGraph g,
ostream &  out 
)

outputPlatformGraphAsXML () Output the platform graph in XML format.

References CAddAttribute(), CAddNode(), CNewDoc(), CNewNode(), createPlatformGraphNode(), and CSaveFile().

Here is the call graph for this function:

void outputSystemUsageAsXML ( PlatformGraph g,
ostream &  out 
)

outputSystemUsageAsXML () Output the usage of an platform graph in XML format.

References CAddAttribute(), CAddNode(), CNewDoc(), CNewNode(), createSystemUsageNode(), and CSaveFile().

Referenced by bindApplicationGraphsToArchitectureGraph().

Here is the call graph for this function: