hades.models.rtlib.io
Class ExpanderVertical
java.lang.Object
hades.simulator.SimObject
hades.models.rtlib.GenericRtlibObject
hades.models.rtlib.io.Expander
hades.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
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 |
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.GenericRtlibObject |
assign, constructStandardValues, copy, elaborate, getDelay, getEnableAnimationFlag, getFormattedValue, getNumberFormat, getValue, getWidth, initValueLabel, isConnected, scheduleAfter, scheduleAfter, scheduleVectorOutputPort, setDelay, setDelay, setEnableAnimationFlag, setEnableAnimationFlag, setFormattedValue, setNumberFormat, setValue, setValue, setWidth, toString, wakeup, wakeupAfter |
Methods inherited from class hades.simulator.SimObject |
getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getVersionId, isVisible, message, mousePressed, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setVersionId, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExpanderVertical
public ExpanderVertical()
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