Class DelayNode

  extended byhades.simulator.SimObject
      extended byhades.models.gates.GenericGate
          extended byhades.models.gates.delaynode.DelayNode
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable
Direct Known Subclasses:
DelayNode_LR, DelayNode_TB

public class DelayNode
extends GenericGate
implements Simulatable, java.io.Serializable

DelayNode - a simple subclass of GenericGate that models a buffer, to visualize signal propagation and hazards, etc. Signals are expected to be StdLogic1164 objects.

See Also:
Serialized Form

Field Summary
protected  PortStdLogic1164 port_A
protected  PortStdLogic1164 port_Y
Fields inherited from class hades.models.gates.GenericGate
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
Constructor Summary
          DelayNode(): simple constructor
Method Summary
 void elaborate(java.lang.Object arg)
          elaborate(): This method is called by the simulation engine to initialize the simulation object.
 void evaluate(java.lang.Object arg)
          evaluate(): called by the simulation engine on all events that concern this object.
 java.lang.String toString()
          toString() - the usual info method
Methods inherited from class hades.models.gates.GenericGate
configure, copy, getDelay, getToolTip, initialize, scheduleEvent, scheduleEventAfter, scheduleOutputValue, scheduleOutputValueAfter, setDelay, setDelay, write
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hades.simulator.Simulatable

Field Detail


protected PortStdLogic1164 port_A


protected PortStdLogic1164 port_Y
Constructor Detail


public DelayNode()
DelayNode(): simple constructor

Method Detail


public void elaborate(java.lang.Object arg)
elaborate(): This method is called by the simulation engine to initialize the simulation object.

Specified by:
elaborate in interface Simulatable
elaborate in class GenericGate


public void evaluate(java.lang.Object arg)
evaluate(): called by the simulation engine on all events that concern this object. The object is responsible for updating its internal state and for scheduling all pending output events.

Specified by:
evaluate in interface Simulatable
evaluate in class SimObject
arg - an arbitrary object argument


public java.lang.String toString()
toString() - the usual info method

toString in class SimObject