Class Nand3

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

public class Nand3
extends GenericGate
implements Simulatable

Nand3: a 3-input NAND gate with user-defined gate-delay "t_delay". Signals are expected to be StdLogic1164 objects.

See Also:
Serialized Form

Field Summary
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
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate: calculate the StdLogic1164 NAND function of inputs A, B, C.
Methods inherited from class hades.models.gates.GenericGate
configure, copy, elaborate, 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hades.simulator.Simulatable
elaborate, message

Constructor Detail


public Nand3()
Method Detail


public void evaluate(java.lang.Object arg)
evaluate: calculate the StdLogic1164 NAND function of inputs A, B, C. schedule the resulting Y value delayed by t_delay.

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