Class SN7408_pinout

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

public class SN7408_pinout
extends SN7400
implements Simulatable

SN7408_pinout - a subclass of SimObject that models a standard SN7408 AND*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
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate(): We extract active port from the SimEvent arg and calculate the new AND outputs.
 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


public SN7408_pinout()
Method Detail


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

Specified by:
evaluate in interface Simulatable
evaluate in class SN7400


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


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

toString in class SN7400