hades.models.rtlib.compare
Class CompareNotEqual

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.rtlib.logic.GenericOnebitLogicObject
          extended byhades.models.rtlib.compare.CompareNotEqual
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable, Wakeable

public class CompareNotEqual
extends GenericOnebitLogicObject

CompareNotEqual - compare the two input vectors (SignalStdLogicVector) for inequality, which results in a StdLogic1164 output value.

See Also:
Serialized Form

Field Summary
protected  StdLogic1164 output_0
           
protected  StdLogic1164 output_1
           
protected  StdLogic1164 output_X
           
protected  Port port_A
           
protected  Port port_B
           
protected  Port port_Y
           
protected  StdLogicVector value_A
           
protected  StdLogicVector value_B
           
 
Fields inherited from class hades.models.rtlib.logic.GenericOnebitLogicObject
defaultdelay, delay, n_bits, value, value_0, value_1, value_U, value_X, value_Z, valueLabel, vector, vector_000, vector_111, vector_UUU, vector_XXX, vector_ZZZ
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
CompareNotEqual()
           
 
Method Summary
 void constructPorts()
           
 void evaluate(java.lang.Object arg)
          evaluate(): called by the simulation engine on all events that concern this object.
 
Methods inherited from class hades.models.rtlib.logic.GenericOnebitLogicObject
configure, constructStandardValues, copy, elaborate, getDelay, getValue, getWidth, initialize, initValueLabel, isConnected, setDelay, setDelay, setValue, setValue, setWidth, setWidth, toString, updateSymbol, wakeup, write
 
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getToolTip, 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
message
 

Field Detail

port_A

protected Port port_A

port_B

protected Port port_B

port_Y

protected Port port_Y

value_A

protected StdLogicVector value_A

value_B

protected StdLogicVector value_B

output_0

protected StdLogic1164 output_0

output_1

protected StdLogic1164 output_1

output_X

protected StdLogic1164 output_X
Constructor Detail

CompareNotEqual

public CompareNotEqual()
Method Detail

constructPorts

public void constructPorts()
Overrides:
constructPorts in class GenericOnebitLogicObject

evaluate

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
Overrides:
evaluate in class SimObject
Parameters:
arg - an arbitrary object argument