hades.models.io
Class Gnd

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

public class Gnd
extends SimObject
implements Simulatable, java.io.Serializable

Gnd - a SimObject that models a fixed Gnd (0 Volts) connection. Signals are expected to be StdLogic1164 objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
Gnd()
          Gnd(): construct a fixed GND connector
 
Method Summary
 void elaborate(java.lang.Object arg)
          elaborate: If our output signal is non-null, we schedule an SimEvent at the current simulation time, in order to initialize the Signal with the value Gnd ('0').
 void evaluate(java.lang.Object arg)
          evaluate: As a Gnd-Object, we will schedule a new 'Gnd' value, whenever the Signal might have changed.
 
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, 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
message
 

Constructor Detail

Gnd

public Gnd()
Gnd(): construct a fixed GND connector

Method Detail

elaborate

public void elaborate(java.lang.Object arg)
elaborate: If our output signal is non-null, we schedule an SimEvent at the current simulation time, in order to initialize the Signal with the value Gnd ('0').

Specified by:
elaborate in interface Simulatable
Overrides:
elaborate in class SimObject

evaluate

public void evaluate(java.lang.Object arg)
evaluate: As a Gnd-Object, we will schedule a new 'Gnd' value, whenever the Signal might have changed.

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