mapss.dif.csdf.sdf.sched
Class DLCLoop

java.lang.Object
  extended by mapss.dif.csdf.sdf.sched.DLCLoop

public class DLCLoop
extends java.lang.Object

A simulator of Dynamic Loop Count (DLC) loop. This class simulates source-dlcSAS loop iterations.

Hyunok Oh, Nikil Dutt, and Soonhoi Ha. "Single Appearance Schedule with Dynamic Loop Count for Minimum Data Buffer from Synchronous Dataflow Graphs", CASES 2005, pages 157-165.

Version:
$Id: DLCLoop.java 406 2007-05-10 14:27:07Z plishker $
Author:
Mingyung Ko

Constructor Summary
DLCLoop(int p, int c, java.lang.Object loop, mocgraph.Node SDFNode)
          Constructor of an SDFGraph.
 
Method Summary
 mocgraph.sched.ScheduleElement toSchedule()
          Convert the loop into a schedule.
 java.lang.String toSynthesisString(java.util.Map nodeNameMap)
          Display the synthesis results for this loop and its sub-loops.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLCLoop

public DLCLoop(int p,
               int c,
               java.lang.Object loop,
               mocgraph.Node SDFNode)
Constructor of an SDFGraph.

Parameters:
graph - The given SDF graph.
Method Detail

toSchedule

public mocgraph.sched.ScheduleElement toSchedule()
Convert the loop into a schedule.

Returns:
A schedule.

toSynthesisString

public java.lang.String toSynthesisString(java.util.Map nodeNameMap)
Display the synthesis results for this loop and its sub-loops.

Parameters:
nodeNameMap - The map from SDF nodes to their names.
Returns:
The dlcSAS synthesis.