hades.models.gates
Class WeakBuffer

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.gates.GenericGate
          extended byhades.models.gates.WeakBuffer
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable

public class WeakBuffer
extends GenericGate
implements Simulatable

WeakBuffer: weak non-inverting buffer. This buffer outputs StdLogic1164._W and _H values instead of _0 and _1, and is used to weaken (instead of amplify) its input signal.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.models.gates.GenericGate
t_delay
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
WeakBuffer()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          generate a weak output from the input; we map the StdLogic1164 values as follows: (in-out) (U-W) (X-W) (0-L) (1-H) (Z-W) (W-W) (H-H) (D-W) and schedule the output value on port Y after t_delay
 
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

WeakBuffer

public WeakBuffer()
Method Detail

evaluate

public void evaluate(java.lang.Object arg)
generate a weak output from the input; we map the StdLogic1164 values as follows: (in-out) (U-W) (X-W) (0-L) (1-H) (Z-W) (W-W) (H-H) (D-W) and schedule the output value on port Y after t_delay

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