hades.models.ttl74
Class SN7486_pinout

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.ttl74.SN7400
          extended byhades.models.ttl74.SN7486_pinout
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable

public class SN7486_pinout
extends SN7400
implements Simulatable

SN7486_pinout - a subclass of SimObject that models a standard SN7486 XOR*4 gate, and whose Symbol mimics the TTL pinout. Signals are expected to be StdLogic1164 objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.models.ttl74.SN7400
port_A1, port_A2, port_A3, port_A4, port_B1, port_B2, port_B3, port_B4, port_GND, port_VCC, port_Y1, port_Y2, port_Y3, port_Y4, t_delay, value_0, value_1, value_U, value_X
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
SN7486_pinout()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate(): We extract active port from the SimEvent arg and calculate the new XOR output.
 void schedule(Port port_Y, Port port_A, Port port_B, double time)
           
 java.lang.String toString()
          toString() - the usual info method
 
Methods inherited from class hades.models.ttl74.SN7400
elaborate, getValueOrU, schedule
 
Methods inherited from class hades.simulator.SimObject
configure, constructDynamicSymbol, copy, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getToolTip, getVersionId, initialize, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown, write
 
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

SN7486_pinout

public SN7486_pinout()
Method Detail

evaluate

public void evaluate(java.lang.Object arg)
evaluate(): We extract active port from the SimEvent arg and calculate the new XOR output.

Specified by:
evaluate in interface Simulatable
Overrides:
evaluate in class SN7400

schedule

public void schedule(Port port_Y,
                     Port port_A,
                     Port port_B,
                     double time)
Overrides:
schedule in class SN7400

toString

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

Overrides:
toString in class SN7400