hades.models.gates
Class InvOpenCollector

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

public class InvOpenCollector
extends GenericGate
implements Simulatable

InvOpenCollector: in inverter with open-collector output. This gate generates a '0' output value for '1' or 'H' input, and 'Z' output for '0' or 'L' input, and 'X' output for other input values. Signals are expected to be StdLogic1164 objects.

See Also:
Serialized Form

Field Summary
protected  StdLogic1164 next_Y
           
protected  PortStdLogic1164 port_A
           
protected  PortStdLogic1164 port_Y
           
 
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
InvOpenCollector()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          the open-collector inverter using StdLogic1164 logic: generate a '0' output value for '1' or 'H' inputs, and 'Z' (tristate) output value for '0' or 'L' inputs.
 
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
 

Field Detail

port_A

protected PortStdLogic1164 port_A

port_Y

protected PortStdLogic1164 port_Y

next_Y

protected StdLogic1164 next_Y
Constructor Detail

InvOpenCollector

public InvOpenCollector()
Method Detail

evaluate

public void evaluate(java.lang.Object arg)
the open-collector inverter using StdLogic1164 logic: generate a '0' output value for '1' or 'H' inputs, and 'Z' (tristate) output value for '0' or 'L' inputs.

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