de.upb.hni.vmagic.annotation
Class ComponentInstantiationFormat

java.lang.Object
  extended by de.upb.hni.vmagic.annotation.ComponentInstantiationFormat

public class ComponentInstantiationFormat
extends java.lang.Object

Component instantiation format annotation. The component instantiation format annotation is used to modify the VHDL output of component instantiations.


Constructor Summary
ComponentInstantiationFormat(boolean useOptionalComponentKeyword)
          Creates a component instantiation format annotation.
 
Method Summary
 boolean isUseOptionalComponentKeyword()
          Returns if the component keyword is included in the VHDL output.
 void setUseOptionalComponentKeyword(boolean useOptionalComponentKeyword)
          Sets if the component keyword should be included in the VHDL output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentInstantiationFormat

public ComponentInstantiationFormat(boolean useOptionalComponentKeyword)
Creates a component instantiation format annotation.

Parameters:
useOptionalComponentKeyword - true, if the component keyword should be included in the output
Method Detail

isUseOptionalComponentKeyword

public boolean isUseOptionalComponentKeyword()
Returns if the component keyword is included in the VHDL output.

Returns:
true, if the component keyword is used

setUseOptionalComponentKeyword

public void setUseOptionalComponentKeyword(boolean useOptionalComponentKeyword)
Sets if the component keyword should be included in the VHDL output.

Parameters:
useOptionalComponentKeyword - true, if the component keyword should be included in the output