sdf/resource_allocation/mpsoc_arch/graph.cc File Reference

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

Functions

PlatformGraphconstructPlatformGraph (const CNodePtr archNode)
void setUsagePlatformGraph (PlatformGraph *g, const CNodePtr archNode)
void setMappingProcessor (Processor *p, TimedSDFgraph *g, const CNodePtr procNode)
void setMappingMemory (Memory *m, TimedSDFgraph *g, const CNodePtr memNode)
void setMappingNetworkInterface (NetworkInterface *ni, TimedSDFgraph *g, const CNodePtr niNode)
void setMappingTile (Tile *t, TimedSDFgraph *g, const CNodePtr tileNode)
void setMappingConnection (Connection *c, TimedSDFgraph *g, const CNodePtr connectionNode)
void setMappingPlatformGraph (PlatformGraph *ar, TimedSDFgraph *ap, const CNodePtr mappingNode)

Function Documentation

void setMappingConnection ( Connection c,
TimedSDFgraph g,
const CNodePtr  connectionNode 
)

setMappingConnection () The function sets the mapping of the application graph to the connection.

References Connection::bindChannel(), CGetAttribute(), CGetChildNode(), CNextNode(), and SDFgraph::getChannel().

Referenced by setMappingPlatformGraph().

Here is the call graph for this function:

void setMappingMemory ( Memory m,
TimedSDFgraph g,
const CNodePtr  memNode 
)

setMappingMemory () The function sets the mapping of the application graph to the memory.

References a, CGetAttribute(), CGetChildNode(), CNextNode(), SDFgraph::getActor(), SDFgraph::getChannel(), and Memory::reserveMemory().

Referenced by setMappingTile().

Here is the call graph for this function:

void setMappingNetworkInterface ( NetworkInterface ni,
TimedSDFgraph g,
const CNodePtr  niNode 
)

setMappingNetworkInterface () The function sets the mapping of the application graph to the NI.

References CGetAttribute(), CGetChildNode(), CNextNode(), SDFgraph::getChannel(), and NetworkInterface::reserveConnection().

Referenced by setMappingTile().

Here is the call graph for this function:

void setMappingPlatformGraph ( PlatformGraph ar,
TimedSDFgraph ap,
const CNodePtr  mappingNode 
)

setMappingPlatformGraph () The function sets the mapping of the application graph to the platform graph as specified in the mapping node.

References c, CGetAttribute(), CGetChildNode(), CNextNode(), PlatformGraph::getConnection(), ArchComponent::getName(), SDFcomponent::getName(), PlatformGraph::getTile(), setMappingConnection(), and setMappingTile().

Referenced by analyzeSDFG(), and bindApplicationGraphsToArchitectureGraph().

Here is the call graph for this function:

void setMappingProcessor ( Processor p,
TimedSDFgraph g,
const CNodePtr  procNode 
)

setMappingProcessor () The function sets the mapping of the application graph to the processor.

References a, StaticOrderSchedule::appendActor(), Processor::bindActor(), CGetAttribute(), CGetChildNode(), CHasAttribute(), CHasChildNode(), CNextNode(), SDFgraph::getActor(), Processor::reserveTimeSlice(), Processor::setSchedule(), and StaticOrderSchedule::setStartPeriodicSchedule().

Referenced by setMappingTile().

Here is the call graph for this function:

void setMappingTile ( Tile t,
TimedSDFgraph g,
const CNodePtr  tileNode 
)

setMappingTile () The function sets the mapping of the application graph to the tile.

References CGetChildNode(), CHasChildNode(), Tile::getMemory(), Tile::getNetworkInterface(), Tile::getProcessor(), setMappingMemory(), setMappingNetworkInterface(), and setMappingProcessor().

Referenced by setMappingPlatformGraph().

Here is the call graph for this function: