sdftocsdf.cc File Reference
#include "sdftocsdf.h"
Functions | |
static void | addCSDFactorToGraph (TimedCSDFgraph *csdfGraph, TimedSDFactor *a) |
static void | addCSDFchannelToGraph (TimedCSDFgraph *csdfGraph, TimedSDFchannel *c) |
TimedCSDFgraph * | convertSDFGtoCSDFG (TimedSDFgraph *sdfGraph) |
Function Documentation
static void addCSDFactorToGraph | ( | TimedCSDFgraph * | csdfGraph, | |
TimedSDFactor * | a | |||
) | [static] |
addCSDFactorToGraph () The function adds an actor to the graph with the same properties as the supplied actor.
References TimedCSDFactor::addProcessor(), TimedCSDFgraph::createActor(), TimedSDFactor::_Processor::execTime, TimedCSDFactor::_Processor::execTime, TimedSDFactor::getDefaultProcessor(), SDFcomponent::getId(), SDFcomponent::getName(), SDFactor::getType(), TimedSDFactor::processorsBegin(), TimedSDFactor::processorsEnd(), TimedCSDFactor::setDefaultProcessor(), CSDFcomponent::setId(), CSDFcomponent::setName(), CSDFactor::setType(), TimedSDFactor::_Processor::stateSize, TimedCSDFactor::_Processor::stateSize, TimedSDFactor::_Processor::type, and TimedCSDFactor::_Processor::type.
Referenced by convertSDFGtoCSDFG().
static void addCSDFchannelToGraph | ( | TimedCSDFgraph * | csdfGraph, | |
TimedSDFchannel * | c | |||
) | [static] |
addCSDFchannelToGraph () The function adds a channel to the graph with the same properties as the supplied channel.
References TimedCSDFgraph::createChannel(), _CSDFbufferSize::dst, CSDFgraph::getActor(), TimedSDFchannel::getBufferSize(), SDFchannel::getDstActor(), SDFchannel::getDstPort(), SDFcomponent::getId(), SDFchannel::getInitialTokens(), TimedSDFchannel::getMinBandwidth(), TimedSDFchannel::getMinLatency(), SDFcomponent::getName(), SDFport::getRate(), SDFchannel::getSrcActor(), SDFchannel::getSrcPort(), TimedSDFchannel::getTokenSize(), TimedSDFchannel::getTokenType(), _CSDFbufferSize::mem, TimedCSDFchannel::setBufferSize(), CSDFcomponent::setId(), CSDFchannel::setInitialTokens(), TimedCSDFchannel::setMinBandwidth(), TimedCSDFchannel::setMinLatency(), CSDFcomponent::setName(), TimedCSDFchannel::setTokenSize(), TimedCSDFchannel::setTokenType(), _CSDFbufferSize::src, and _CSDFbufferSize::sz.
Referenced by convertSDFGtoCSDFG().
TimedCSDFgraph* convertSDFGtoCSDFG | ( | TimedSDFgraph * | sdfGraph | ) |
convertSDFGtoCSDFG () The function converts an SDFG to an equivalent CSDFG.
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), addCSDFactorToGraph(), addCSDFchannelToGraph(), c, SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), component, SDFcomponent::getName(), and TimedSDFgraph::getThroughputConstraint().
Referenced by generateCSDFgraph().