sdf3gast.cc File Reference

#include "sdf3gast.h"
#include "base/base.h"
#include "../../sdf.h"
Include dependency graph for sdf3gast.cc:

Classes

struct  _Settings

Typedefs

typedef struct _Settings Settings

Functions

void helpMessage (ostream &out)
void parseCommandLine (int argc, char **argv)
CNodeloadApplicationGraphFromFile (CString &file, CString &module)
CNodeloadArchitectureGraphFromFile (CString &file, CString &module)
CNodeloadSystemUsageFromFile (CString &file, CString &module)
void parseSettingsFile (CString module, CString type)
void setDefaults ()
void initSettings (int argc, char **argv)
void outputSystemUsage (ostream &out, PlatformGraph *g)
void outputCommunicationTrace (TimedSDFgraph *appGraph, PlatformGraph *archGraph, ostream &out)
bool bindApplicationGraphsToArchitectureGraph (ostream &out, bool check=false)
int main (int argc, char **argv)

Variables

Settings settings

Typedef Documentation

typedef struct _Settings Settings

Settings Struct to store program settings.


Function Documentation

bool bindApplicationGraphsToArchitectureGraph ( ostream &  out,
bool  check = false 
)
void helpMessage ( ostream &  out  ) 

helpMessage () Function prints help message for the tool.

References DOTTED_VERSION, and TOOL.

void initSettings ( int  argc,
char **  argv 
)

initSettings () The function initializes the program settings.

References MODULE, parseCommandLine(), parseSettingsFile(), setDefaults(), and SETTINGS_TYPE.

Here is the call graph for this function:

CNode* loadApplicationGraphFromFile ( CString file,
CString module 
)

loadApplicationGraphFromFile () The function returns a pointer to an XML data structures contained in the supplied file that describes the SDFG.

References CGetAttribute(), CGetChildNode(), CGetRootNode(), and CParseFile().

Here is the call graph for this function:

CNode* loadArchitectureGraphFromFile ( CString file,
CString module 
)

loadArchitectureGraphFromFile () The function returns a pointer to an XML data structures contained in the supplied file that describes the platform.

References CGetAttribute(), CGetChildNode(), CGetRootNode(), and CParseFile().

Here is the call graph for this function:

CNode* loadSystemUsageFromFile ( CString file,
CString module 
)

loadSystemUsageFromFile () The function returns a pointer to an XML data structures contained in the supplied file that describes the used resources by other applications.

References CGetAttribute(), CGetChildNode(), CGetRootNode(), and CParseFile().

Here is the call graph for this function:

int main ( int  argc,
char **  argv 
)

main () It does none of the hard work, but it is very needed...

References bindApplicationGraphsToArchitectureGraph(), initSettings(), MaxPlusAnalysis::out, and Settings::outputFile.

Here is the call graph for this function:

void outputCommunicationTrace ( TimedSDFgraph appGraph,
PlatformGraph archGraph,
ostream &  out 
)

outputCommunicationTrace () The function outputs all message sets (i.e. the communication scheduling problem) to the supplied stream.

References CAddAttribute(), CAddNode(), CNewDoc(), CNewNode(), CSaveFile(), SDFflowTypeNSoC, and SDFstateSpaceTraceInterconnectCommunication::trace().

Referenced by bindApplicationGraphsToArchitectureGraph().

Here is the call graph for this function:

void parseCommandLine ( int  argc,
char **  argv 
)

parseCommandLine () The function parses the command line arguments and add info to the supplied settings structure.

References helpMessage(), Settings::outputFile, Settings::settingsFile, and Settings::tileMappingAlgo.

Here is the call graph for this function:


Variable Documentation

settings Program settings.