hades.models.rtlib.register
Class ShiftRegR

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

public class ShiftRegR
extends GenericRtlibObject
implements Assignable

ShiftRegR - an edge-triggered n-bit d-type shift-register with shift-enable and active-low reset. Signals are expected to be of type SignalStdLogicVector for D and Q, and SignalStdLogic1164 for CLK, ENA, NR, SIN, and SOUT.

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
protected  PortStdLogic1164 port_CLK
           
protected  PortStdLogicVector port_D
           
protected  PortStdLogic1164 port_ENA
           
protected  PortStdLogic1164 port_NR
           
protected  PortStdLogicVector port_Q
           
protected  PortStdLogic1164 port_SIN
           
protected  PortStdLogic1164 port_SOUT
           
 
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
ShiftRegR()
           
 
Method Summary
 void constructPorts()
           
 void evaluate(java.lang.Object arg)
          evaluate(): called by the simulation engine on all events that concern this object.
 
Methods inherited from class hades.models.rtlib.GenericRtlibObject
assign, configure, constructStandardValues, copy, elaborate, getDelay, getEnableAnimationFlag, getFormattedValue, getNumberFormat, getToolTip, getValue, getWidth, initialize, initValueLabel, isConnected, scheduleAfter, scheduleAfter, scheduleVectorOutputPort, setDelay, setDelay, setEnableAnimationFlag, setEnableAnimationFlag, setFormattedValue, setNumberFormat, setNumberFormat, setSymbol, setValue, setValue, setWidth, setWidth, toString, updateSymbol, wakeup, wakeupAfter, write
 
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.Assignable
assign
 
Methods inherited from interface hades.simulator.Simulatable
message
 

Field Detail

port_D

protected PortStdLogicVector port_D

port_Q

protected PortStdLogicVector port_Q

port_CLK

protected PortStdLogic1164 port_CLK

port_NR

protected PortStdLogic1164 port_NR

port_ENA

protected PortStdLogic1164 port_ENA

port_SIN

protected PortStdLogic1164 port_SIN

port_SOUT

protected PortStdLogic1164 port_SOUT
Constructor Detail

ShiftRegR

public ShiftRegR()
Method Detail

constructPorts

public void constructPorts()
Overrides:
constructPorts in class GenericRtlibObject

evaluate

public void evaluate(java.lang.Object arg)
Description copied from interface: Simulatable
evaluate(): called by the simulation engine on all events that concern this object. The object is responsible for updating its internal state and for scheduling all pending output events.

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