byucc.jhdl.synth
Class SynthBlock

java.lang.Object
  extended bybyucc.jhdl.synth.classparse.BasicBlock
      extended bybyucc.jhdl.synth.SynthBlock

public class SynthBlock
extends BasicBlock

A class that extends BasicBlock in the byucc.jhdl.synth.classparse package to add to it anything necessary for a synthesizable basic block.

Basically, all we add is a flag that says whether or not this block can be executed again.


Field Summary
 
Fields inherited from class byucc.jhdl.synth.classparse.BasicBlock
entry_index, exit_index, name
 
Constructor Summary
SynthBlock(AttributeCode parent, int number)
           
 
Method Summary
 boolean executionIsComplete()
          Is this block's execution complete?
 void executionIsComplete(boolean value)
          Declare this blocks execution as complete or not.
 
Methods inherited from class byucc.jhdl.synth.classparse.BasicBlock
execute, getEntry, getExit, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SynthBlock

public SynthBlock(AttributeCode parent,
                  int number)
Method Detail

executionIsComplete

public boolean executionIsComplete()
Is this block's execution complete?

Returns:
true if this block's execution has been declared complete, false otherwise

executionIsComplete

public void executionIsComplete(boolean value)
Declare this blocks execution as complete or not.

Parameters:
value - the value to be assigned to the executionIsComplete flag for this block.


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.