hades.models.ttl74
Class SN7400_pinout

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

public class SN7400_pinout
extends SN7400
implements Simulatable

SN7400_pinout - a subclass of SimObject that models a standard SN7400 NAND*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
SN7400_pinout()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate(): extract the active Port from the SimEvent argument and calculate the new NAND output.
 java.lang.String toString()
          toString() - the usual info method
 
Methods inherited from class hades.models.ttl74.SN7400
elaborate, getValueOrU, schedule, 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

SN7400_pinout

public SN7400_pinout()
Method Detail

evaluate

public void evaluate(java.lang.Object arg)
evaluate(): extract the active Port from the SimEvent argument and calculate the new NAND output. Unlike SN7400, this class also checks that the VCC and GND ports are connected, in order to simulate the real "physical" circuit.

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

toString

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

Overrides:
toString in class SN7400