hades.models.rtlib.arith
Class Addc
java.lang.Object
hades.simulator.SimObject
hades.models.rtlib.GenericRtlibObject
hades.models.rtlib.arith.Addc
- All Implemented Interfaces:
- java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable, Wakeable
- public class Addc
- extends GenericRtlibObject
Addc - an generic adder with carry input and output,
but without additional status signals.
Signals are expected to be SignalStdLogicVector objects.
- 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 |
Constructor Summary |
Addc()
|
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 |
port_A
protected PortStdLogicVector port_A
port_B
protected PortStdLogicVector port_B
port_SUM
protected PortStdLogicVector port_SUM
port_CIN
protected PortStdLogic1164 port_CIN
port_COUT
protected PortStdLogic1164 port_COUT
vector_A
protected StdLogicVector vector_A
vector_B
protected StdLogicVector vector_B
value_CIN
protected StdLogic1164 value_CIN
value_COUT
protected StdLogic1164 value_COUT
Addc
public Addc()
constructPorts
public void constructPorts()
- Overrides:
constructPorts
in class GenericRtlibObject
evaluate
public void evaluate(java.lang.Object arg)
- 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