hades.models
Class PortStdLogicVector

java.lang.Object
  extended byhades.simulator.Port
      extended byhades.models.PortStdLogicVector
All Implemented Interfaces:
ContextToolTip, java.io.Serializable

public class PortStdLogicVector
extends Port

PortStdLogicVector: a Port for SignalStdLogicVector signals.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.simulator.Port
BIDIR, class1164, GND, handler, IN, INOUT, name, optArg, OUT, parent, PASSIVE_IN, signal, signalClass, TOPLEVEL_IN, type, UNUSED, value, VCC
 
Constructor Summary
PortStdLogicVector(SimObject parent, java.lang.String name, int type, Signal signal, int bus_width)
           
 
Method Summary
 StdLogicVector getVectorOrUUU()
          return a StdLogicVector with the current value of the signal connected to this port.
 int getWidth()
          return the width of the bus connected to this port.
 
Methods inherited from class hades.simulator.Port
getHandler, getName, getOptArg, getParent, getSignal, getSignalClass, getToolTip, getType, getTypeString, getValue, isInputPort, isPowerPort, setHandler, setName, setOptArg, setParent, setSignal, setValue, tearDown, toString, toStringVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortStdLogicVector

public PortStdLogicVector(SimObject parent,
                          java.lang.String name,
                          int type,
                          Signal signal,
                          int bus_width)
Method Detail

getVectorOrUUU

public StdLogicVector getVectorOrUUU()
return a StdLogicVector with the current value of the signal connected to this port. If no signal is connected to this port, return the the undefined StdLogicVector ("UUU") alue.


getWidth

public int getWidth()
return the width of the bus connected to this port.