hades.models.imaging
Class ImageMux21

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.imaging.ImageMux21
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable

public class ImageMux21
extends SimObject
implements Simulatable

ImageMux21: a simple 2:1 multiplexer gate. Signals are expected to be StdLogic1164 objects.

See Also:
Serialized Form

Field Summary
protected  Port port_A0
           
protected  Port port_A1
           
protected  Port port_S
           
protected  Port port_Y
           
protected  double t_delay
           
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
ImageMux21()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          calculate the output value Y of this 2:1 multiplexer and schedule after t_delay.
 
Methods inherited from class hades.simulator.SimObject
configure, constructDynamicSymbol, copy, elaborate, 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, toString, 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
 

Field Detail

port_A1

protected Port port_A1

port_A0

protected Port port_A0

port_Y

protected Port port_Y

port_S

protected Port port_S

t_delay

protected double t_delay
Constructor Detail

ImageMux21

public ImageMux21()
Method Detail

evaluate

public void evaluate(java.lang.Object arg)
calculate the output value Y of this 2:1 multiplexer and schedule after t_delay.

Specified by:
evaluate in interface Simulatable
Overrides:
evaluate in class SimObject
Parameters:
arg - an arbitrary object argument