hades.models.rtlib.io
Class ExpanderVertical

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.rtlib.GenericRtlibObject
          extended byhades.models.rtlib.io.Expander
              extended byhades.models.rtlib.io.ExpanderVertical
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable, Wakeable

public class ExpanderVertical
extends Expander

ExpanderVertical - expand a SignalStdLogicVector into individual signals of type SignalStdLogic1164 each, using a vertical symbol

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class hades.models.rtlib.GenericRtlibObject
GenericRtlibObject.BinaryValueLabelFormatter, GenericRtlibObject.DecimalValueLabelFormatter, GenericRtlibObject.DINColorSource, GenericRtlibObject.FlexibleLabelFormatter, GenericRtlibObject.HexValueLabelFormatter
 
Field Summary
 
Fields inherited from class hades.models.rtlib.io.Expander
port_A
 
Fields inherited from class hades.models.rtlib.GenericRtlibObject
BINARY, DECIMAL, defaultdelay, delay, enableAnimationFlag, HEX, labelFormatter, n_bits, valueLabel, vector, vector_000, vector_111, vector_UUU, vector_XXX, vector_ZZZ, vectorOutputPort
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
ExpanderVertical()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate(): extract the bits of the current input vector and distribute these to the individual outputs.
 void initDisplay()
           
 boolean needsDynamicSymbol()
           
 void setWidth(int _n)
          we need to override setWidth from GenericRtlibObject, because we need to rebuild our symbol completely, once the width (n_bits) of the input vector changed.
 void updateSymbol()
           
 
Methods inherited from class hades.models.rtlib.io.Expander
configure, constructDynamicSymbol, constructPorts, getToolTip, initialize, setSymbol, write
 
Methods inherited from class hades.models.rtlib.GenericRtlibObject
assign, constructStandardValues, copy, elaborate, getDelay, getEnableAnimationFlag, getFormattedValue, getNumberFormat, getValue, getWidth, initValueLabel, isConnected, scheduleAfter, scheduleAfter, scheduleVectorOutputPort, setDelay, setDelay, setEnableAnimationFlag, setEnableAnimationFlag, setFormattedValue, setNumberFormat, setNumberFormat, setValue, setValue, setWidth, toString, wakeup, wakeupAfter
 
Methods inherited from class hades.simulator.SimObject
getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getVersionId, isVisible, keyPressed, message, mousePressed, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setVersionId, setVisible, tearDown
 
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

ExpanderVertical

public ExpanderVertical()
Method Detail

needsDynamicSymbol

public boolean needsDynamicSymbol()
Overrides:
needsDynamicSymbol in class Expander

initDisplay

public void initDisplay()
Overrides:
initDisplay in class Expander

setWidth

public void setWidth(int _n)
we need to override setWidth from GenericRtlibObject, because we need to rebuild our symbol completely, once the width (n_bits) of the input vector changed.

Overrides:
setWidth in class Expander

evaluate

public void evaluate(java.lang.Object arg)
evaluate(): extract the bits of the current input vector and distribute these to the individual outputs.

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

updateSymbol

public void updateSymbol()
Overrides:
updateSymbol in class Expander