hades.models.rtlib.arith
Class ShiftLeft

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

public class ShiftLeft
extends GenericShifter

ShiftLeft - Shift left by m bits. Signals are expected to be SignalStdLogicVector objects.

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.arith.GenericShifter
port_A, port_Y, shiftcount, shiftLabel, value_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
ShiftLeft()
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate: shift the input data at Port A left by the number of bits specified by shiftcount, schedule to output Y.
 void updateSymbol()
           
 
Methods inherited from class hades.models.rtlib.arith.GenericShifter
configure, constructPorts, getShiftcount, initialize, setShiftcount, setSymbol, write
 
Methods inherited from class hades.models.rtlib.GenericRtlibObject
assign, constructStandardValues, copy, elaborate, getDelay, getEnableAnimationFlag, getFormattedValue, getNumberFormat, getToolTip, getValue, getWidth, initValueLabel, isConnected, scheduleAfter, scheduleAfter, scheduleVectorOutputPort, setDelay, setDelay, setEnableAnimationFlag, setEnableAnimationFlag, setFormattedValue, setNumberFormat, setNumberFormat, setValue, setValue, setWidth, setWidth, toString, wakeup, wakeupAfter
 
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, 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

ShiftLeft

public ShiftLeft()
Method Detail

evaluate

public void evaluate(java.lang.Object arg)
evaluate: shift the input data at Port A left by the number of bits specified by shiftcount, schedule to output Y.

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

updateSymbol

public void updateSymbol()
Overrides:
updateSymbol in class GenericShifter