hades.models.ttl74
Class SN7449_pinout

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

public class SN7449_pinout
extends SN7449

P7449 - a subclass of SimObject that models a SN7449 TTL seven-segment decoder, with the physical pinout of a SN7449. Signals are expected to be StdLogic1164 objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.models.ttl74.SN7449
CMATRIX, index, next_Q, port_A, port_B, port_C, port_D, port_GND, port_Ndark, port_VCC, segments, t_delay, value_0, value_1, value_U, value_X, values
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
SN7449_pinout()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate(): read the current input Port values and calculate the corresponding seven-segment output values.
 java.lang.String toString()
          toString() - the usual info method
 
Methods inherited from class hades.models.ttl74.SN7449
elaborate
 
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
message
 

Constructor Detail

SN7449_pinout

public SN7449_pinout()
Method Detail

evaluate

public void evaluate(java.lang.Object arg)
evaluate(): read the current input Port values and calculate the corresponding seven-segment output values. Note that this class also checks for power-supply at the VCC and GND inputs, in order to simulate the "real" integrated circuit.

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

toString

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

Overrides:
toString in class SN7449