algoanim.primitives.generators
Class VHDLLanguage

java.lang.Object
  extended by algoanim.primitives.generators.Language
      extended by algoanim.primitives.generators.VHDLLanguage
Direct Known Subclasses:
AnimalScript

public abstract class VHDLLanguage
extends Language

The abstract Language class defines the basic methods for all particular languages like AnimalScript for example, which then itselves provide functionality for output management, a name registry for primitives and factory methods for all supported primitives.

Author:
Jens Pfau, Stephan Mehlhase, Dima Vronskyi

Field Summary
 
Fields inherited from class algoanim.primitives.generators.Language
hideInThisStep, INTERACTION_TYPE_AVINTERACTION, INTERACTION_TYPE_JHAVE_TEXT, INTERACTION_TYPE_JHAVE_XML, INTERACTION_TYPE_NONE, interactiveElements, showInThisStep, UNDEFINED_SIZE
 
Constructor Summary
VHDLLanguage(java.lang.String title, java.lang.String author, int x, int y)
           
 
Method Summary
 AndGate newAndGate(Node upperLeft, int width, int height, java.lang.String name, char inA, char inB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new AndGate object.
 AndGate newAndGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new AndGate object.
abstract  AndGate newAndGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new AndGate object.
 Demultiplexer newDemultiplexer(Node upperLeft, int width, int height, java.lang.String name, char inA, char outB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new Demultiplexer object.
 Demultiplexer newDemultiplexer(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new Demultiplexer object.
abstract  Demultiplexer newDemultiplexer(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new Demultiplexer object.
 DFlipflop newDFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new DFlipflop object.
abstract  DFlipflop newDFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new DFlipflop object.
 JKFlipflop newJKFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new JKFlipflop object.
abstract  JKFlipflop newJKFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new JKFlipflop object.
 Multiplexer newMultiplexer(Node upperLeft, int width, int height, java.lang.String name, char inA, char inB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new Demultiplexer object.
 Multiplexer newMultiplexer(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new Multiplexer object.
abstract  Multiplexer newMultiplexer(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new Multiplexer object.
 NAndGate newNAndGate(Node upperLeft, int width, int height, java.lang.String name, char inA, char inB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new NAndGate object.
 NAndGate newNAndGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new NAndGate object.
abstract  NAndGate newNAndGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new NAndGate object.
 NorGate newNorGate(Node upperLeft, int width, int height, java.lang.String name, char inA, char inB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new NorGate object.
 NorGate newNorGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new NorGate object.
abstract  NorGate newNorGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new NorGate object.
 NotGate newNotGate(Node upperLeft, int width, int height, java.lang.String name, char inA, char outB, DisplayOptions display, VHDLElementProperties properties)
          Creates a new NotGate object.
 NotGate newNotGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new NotGate object.
abstract  NotGate newNotGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new NotGate object.
 OrGate newOrGate(Node upperLeft, int width, int height, java.lang.String name, char inA, char inB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new OrGate object.
 OrGate newOrGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new OrGate object.
abstract  OrGate newOrGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new OrGate object.
 RSFlipflop newRSFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new RSFlipflop object.
abstract  RSFlipflop newRSFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new RSFlipflop object.
 TFlipflop newTFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new TFlipflop object.
abstract  TFlipflop newTFlipflop(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new TFlipflop object.
abstract  VHDLWire newWire(java.util.List<Node> nodes, int speed, java.lang.String name, DisplayOptions display, VHDLWireProperties properties)
          Creates a new wire object.
 XNorGate newXNorGate(Node upperLeft, int width, int height, java.lang.String name, char inA, char inB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new XNorGate object.
 XNorGate newXNorGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new XNorGate object.
abstract  XNorGate newXNorGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new XNorGate object.
 XOrGate newXOrGate(Node upperLeft, int width, int height, java.lang.String name, char inA, char inB, char outC, DisplayOptions display, VHDLElementProperties properties)
          Creates a new XOrGate object.
 XOrGate newXOrGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display)
          Creates a new XOrGate object.
abstract  XOrGate newXOrGate(Node upperLeft, int width, int height, java.lang.String name, java.util.List<VHDLPin> pins, DisplayOptions display, VHDLElementProperties properties)
          Creates a new XOrGate object.
 
Methods inherited from class algoanim.primitives.generators.Language
addDocumentationLink, addError, addError, addFIBQuestion, addItem, addLine, addLine, addMCQuestion, addMSQuestion, addQuestionGroup, addTFQuestion, finalizeGeneration, getAnimationCode, getStep, hideAllPrimitives, hideAllPrimitivesExcept, hideAllPrimitivesExcept, isNameUsed, isValidDirection, newArc, newArc, newArrayBasedQueue, newArrayBasedQueue, newArrayBasedStack, newArrayBasedStack, newArrayMarker, newArrayMarker, newCircle, newCircle, newCircleSeg, newCircleSeg, newConceptualQueue, newConceptualQueue, newConceptualStack, newConceptualStack, newDoubleArray, newDoubleArray, newDoubleMatrix, newDoubleMatrix, newEllipse, newEllipse, newEllipseSeg, newEllipseSeg, newGraph, newGraph, newGroup, newIntArray, newIntArray, newIntMatrix, newIntMatrix, newListBasedQueue, newListBasedQueue, newListBasedStack, newListBasedStack, newListElement, newListElement, newListElement, newPoint, newPolygon, newPolygon, newPolyline, newPolyline, newRect, newRect, newSourceCode, newSourceCode, newSquare, newSquare, newStringArray, newStringArray, newStringMatrix, newStringMatrix, newText, newText, newTriangle, newTriangle, newVariables, nextStep, nextStep, nextStep, nextStep, setInteractionType, setStepMode, validDirections, writeFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VHDLLanguage

public VHDLLanguage(java.lang.String title,
                    java.lang.String author,
                    int x,
                    int y)
Method Detail

newAndGate

public AndGate newAndGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          java.util.List<VHDLPin> pins,
                          DisplayOptions display)
Creates a new AndGate object.

Overrides:
newAndGate in class Language
Parameters:
upperLeft - the upper left coordinates of the AndGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a AndGate.

newAndGate

public abstract AndGate newAndGate(Node upperLeft,
                                   int width,
                                   int height,
                                   java.lang.String name,
                                   java.util.List<VHDLPin> pins,
                                   DisplayOptions display,
                                   VHDLElementProperties properties)
Creates a new AndGate object.

Specified by:
newAndGate in class Language
Parameters:
upperLeft - the upper left coordinates of the AndGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a AndGate.

newAndGate

public AndGate newAndGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          char inA,
                          char inB,
                          char outC,
                          DisplayOptions display,
                          VHDLElementProperties properties)
Creates a new AndGate object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
inB - the value for the second input gate, usually '0' or '1'
outC - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a AndGate.

newNAndGate

public NAndGate newNAndGate(Node upperLeft,
                            int width,
                            int height,
                            java.lang.String name,
                            java.util.List<VHDLPin> pins,
                            DisplayOptions display)
Creates a new NAndGate object.

Parameters:
upperLeft - the upper left coordinates of the NAndGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a AndGate.

newNAndGate

public abstract NAndGate newNAndGate(Node upperLeft,
                                     int width,
                                     int height,
                                     java.lang.String name,
                                     java.util.List<VHDLPin> pins,
                                     DisplayOptions display,
                                     VHDLElementProperties properties)
Creates a new NAndGate object.

Parameters:
upperLeft - the upper left coordinates of the NAndGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a NAndGate.

newNAndGate

public NAndGate newNAndGate(Node upperLeft,
                            int width,
                            int height,
                            java.lang.String name,
                            char inA,
                            char inB,
                            char outC,
                            DisplayOptions display,
                            VHDLElementProperties properties)
Creates a new NAndGate object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
inB - the value for the second input gate, usually '0' or '1'
outC - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a NAndGate.

newNorGate

public NorGate newNorGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          java.util.List<VHDLPin> pins,
                          DisplayOptions display)
Creates a new NorGate object.

Parameters:
upperLeft - the upper left coordinates of the NorGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a NorGate.

newNorGate

public abstract NorGate newNorGate(Node upperLeft,
                                   int width,
                                   int height,
                                   java.lang.String name,
                                   java.util.List<VHDLPin> pins,
                                   DisplayOptions display,
                                   VHDLElementProperties properties)
Creates a new NorGate object.

Parameters:
upperLeft - the upper left coordinates of the NorGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a NorGate.

newNorGate

public NorGate newNorGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          char inA,
                          char inB,
                          char outC,
                          DisplayOptions display,
                          VHDLElementProperties properties)
Creates a new NorGate object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
inB - the value for the second input gate, usually '0' or '1'
outC - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a NorGate.

newNotGate

public NotGate newNotGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          java.util.List<VHDLPin> pins,
                          DisplayOptions display)
Creates a new NotGate object.

Parameters:
upperLeft - the upper left coordinates of the NotGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a AndGate.

newNotGate

public abstract NotGate newNotGate(Node upperLeft,
                                   int width,
                                   int height,
                                   java.lang.String name,
                                   java.util.List<VHDLPin> pins,
                                   DisplayOptions display,
                                   VHDLElementProperties properties)
Creates a new NotGate object.

Parameters:
upperLeft - the upper left coordinates of the NotGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a NotGate.

newNotGate

public NotGate newNotGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          char inA,
                          char outB,
                          DisplayOptions display,
                          VHDLElementProperties properties)
Creates a new NotGate object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
outB - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a NotGate.

newOrGate

public OrGate newOrGate(Node upperLeft,
                        int width,
                        int height,
                        java.lang.String name,
                        java.util.List<VHDLPin> pins,
                        DisplayOptions display)
Creates a new OrGate object.

Parameters:
upperLeft - the upper left coordinates of the OrGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a OrGate.

newOrGate

public abstract OrGate newOrGate(Node upperLeft,
                                 int width,
                                 int height,
                                 java.lang.String name,
                                 java.util.List<VHDLPin> pins,
                                 DisplayOptions display,
                                 VHDLElementProperties properties)
Creates a new OrGate object.

Parameters:
upperLeft - the upper left coordinates of the OrGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a OrGate.

newOrGate

public OrGate newOrGate(Node upperLeft,
                        int width,
                        int height,
                        java.lang.String name,
                        char inA,
                        char inB,
                        char outC,
                        DisplayOptions display,
                        VHDLElementProperties properties)
Creates a new OrGate object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
inB - the value for the second input gate, usually '0' or '1'
outC - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a OrGate.

newXNorGate

public XNorGate newXNorGate(Node upperLeft,
                            int width,
                            int height,
                            java.lang.String name,
                            java.util.List<VHDLPin> pins,
                            DisplayOptions display)
Creates a new XNorGate object.

Parameters:
upperLeft - the upper left coordinates of the XNorGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a AndGate.

newXNorGate

public abstract XNorGate newXNorGate(Node upperLeft,
                                     int width,
                                     int height,
                                     java.lang.String name,
                                     java.util.List<VHDLPin> pins,
                                     DisplayOptions display,
                                     VHDLElementProperties properties)
Creates a new XNorGate object.

Parameters:
upperLeft - the upper left coordinates of the XNorGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a AndGate.

newXNorGate

public XNorGate newXNorGate(Node upperLeft,
                            int width,
                            int height,
                            java.lang.String name,
                            char inA,
                            char inB,
                            char outC,
                            DisplayOptions display,
                            VHDLElementProperties properties)
Creates a new XNorGate object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
inB - the value for the second input gate, usually '0' or '1'
outC - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a XNorGate.

newXOrGate

public XOrGate newXOrGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          java.util.List<VHDLPin> pins,
                          DisplayOptions display)
Creates a new XOrGate object.

Parameters:
upperLeft - the upper left coordinates of the XOrGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a XOrGate.

newXOrGate

public abstract XOrGate newXOrGate(Node upperLeft,
                                   int width,
                                   int height,
                                   java.lang.String name,
                                   java.util.List<VHDLPin> pins,
                                   DisplayOptions display,
                                   VHDLElementProperties properties)
Creates a new XOrGate object.

Parameters:
upperLeft - the upper left coordinates of the XOrGate
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a XOrGate.

newXOrGate

public XOrGate newXOrGate(Node upperLeft,
                          int width,
                          int height,
                          java.lang.String name,
                          char inA,
                          char inB,
                          char outC,
                          DisplayOptions display,
                          VHDLElementProperties properties)
Creates a new XOrGate object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
inB - the value for the second input gate, usually '0' or '1'
outC - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a XOrGate.

newDFlipflop

public DFlipflop newDFlipflop(Node upperLeft,
                              int width,
                              int height,
                              java.lang.String name,
                              java.util.List<VHDLPin> pins,
                              DisplayOptions display)
Creates a new DFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the DFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a DFlipflop.

newDFlipflop

public abstract DFlipflop newDFlipflop(Node upperLeft,
                                       int width,
                                       int height,
                                       java.lang.String name,
                                       java.util.List<VHDLPin> pins,
                                       DisplayOptions display,
                                       VHDLElementProperties properties)
Creates a new DFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the DFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a DFlipflop.

newJKFlipflop

public JKFlipflop newJKFlipflop(Node upperLeft,
                                int width,
                                int height,
                                java.lang.String name,
                                java.util.List<VHDLPin> pins,
                                DisplayOptions display)
Creates a new JKFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the JKFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a JKFlipflop.

newJKFlipflop

public abstract JKFlipflop newJKFlipflop(Node upperLeft,
                                         int width,
                                         int height,
                                         java.lang.String name,
                                         java.util.List<VHDLPin> pins,
                                         DisplayOptions display,
                                         VHDLElementProperties properties)
Creates a new JKFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the JKFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a JKFlipflop.

newRSFlipflop

public RSFlipflop newRSFlipflop(Node upperLeft,
                                int width,
                                int height,
                                java.lang.String name,
                                java.util.List<VHDLPin> pins,
                                DisplayOptions display)
Creates a new RSFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the RSFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a RSFlipflop.

newRSFlipflop

public abstract RSFlipflop newRSFlipflop(Node upperLeft,
                                         int width,
                                         int height,
                                         java.lang.String name,
                                         java.util.List<VHDLPin> pins,
                                         DisplayOptions display,
                                         VHDLElementProperties properties)
Creates a new RSFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the RSFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a RSFlipflop.

newTFlipflop

public TFlipflop newTFlipflop(Node upperLeft,
                              int width,
                              int height,
                              java.lang.String name,
                              java.util.List<VHDLPin> pins,
                              DisplayOptions display)
Creates a new TFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the TFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a TFlipflop.

newTFlipflop

public abstract TFlipflop newTFlipflop(Node upperLeft,
                                       int width,
                                       int height,
                                       java.lang.String name,
                                       java.util.List<VHDLPin> pins,
                                       DisplayOptions display,
                                       VHDLElementProperties properties)
Creates a new TFlipflop object.

Parameters:
upperLeft - the upper left coordinates of the TFlipflop
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a TFlipflop.

newDemultiplexer

public Demultiplexer newDemultiplexer(Node upperLeft,
                                      int width,
                                      int height,
                                      java.lang.String name,
                                      java.util.List<VHDLPin> pins,
                                      DisplayOptions display)
Creates a new Demultiplexer object.

Parameters:
upperLeft - the upper left coordinates of the Demultiplexer
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a Demultiplexer.

newDemultiplexer

public abstract Demultiplexer newDemultiplexer(Node upperLeft,
                                               int width,
                                               int height,
                                               java.lang.String name,
                                               java.util.List<VHDLPin> pins,
                                               DisplayOptions display,
                                               VHDLElementProperties properties)
Creates a new Demultiplexer object.

Parameters:
upperLeft - the upper left coordinates of the Demultiplexer
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a Demultiplexer.

newDemultiplexer

public Demultiplexer newDemultiplexer(Node upperLeft,
                                      int width,
                                      int height,
                                      java.lang.String name,
                                      char inA,
                                      char outB,
                                      char outC,
                                      DisplayOptions display,
                                      VHDLElementProperties properties)
Creates a new Demultiplexer object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
outB - the value for the first output gate, usually '0' or '1'
outC - the value for the second output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a Demultiplexer.

newMultiplexer

public Multiplexer newMultiplexer(Node upperLeft,
                                  int width,
                                  int height,
                                  java.lang.String name,
                                  java.util.List<VHDLPin> pins,
                                  DisplayOptions display)
Creates a new Multiplexer object.

Parameters:
upperLeft - the upper left coordinates of the Multiplexer
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a Multiplexer.

newMultiplexer

public Multiplexer newMultiplexer(Node upperLeft,
                                  int width,
                                  int height,
                                  java.lang.String name,
                                  char inA,
                                  char inB,
                                  char outC,
                                  DisplayOptions display,
                                  VHDLElementProperties properties)
Creates a new Demultiplexer object.

Parameters:
upperLeft - the upper left coordinates of the element
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
inA - the value for the first input gate, usually '0' or '1'
inB - the value for the second input gate, usually '0' or '1'
outC - the value for the output gate, usually '0' or '1'
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a Multiplexer.

newMultiplexer

public abstract Multiplexer newMultiplexer(Node upperLeft,
                                           int width,
                                           int height,
                                           java.lang.String name,
                                           java.util.List<VHDLPin> pins,
                                           DisplayOptions display,
                                           VHDLElementProperties properties)
Creates a new Multiplexer object.

Parameters:
upperLeft - the upper left coordinates of the Multiplexer
width - the width of the gate element
height - the height of the gate element
name - [optional] an arbitrary name which uniquely identifies this element. If you don't want to set this, set this parameter to "null". The name is then created automatically.
pins - the pins used for this gate
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
properties - the graphical properties of this element
Returns:
a Multiplexer.

newWire

public abstract VHDLWire newWire(java.util.List<Node> nodes,
                                 int speed,
                                 java.lang.String name,
                                 DisplayOptions display,
                                 VHDLWireProperties properties)
Creates a new wire object.

Parameters:
nodes - the nodes of this wire
speed - the display speed of this wire element
name - [optional] an arbitrary name which uniquely identifies this Multiplexer. If you don't want to set this, set this parameter to "null". The name is then created automatically.
display - [optional] a subclass of DisplayOptions which describes additional display options like a hidden flag or timings.
Returns:
a Multiplexer.