engine
Class WireSelection

java.lang.Object
  |
  +--engine.Expression
        |
        +--engine.WireSelection
Direct Known Subclasses:
BitSelect, SelectionExpression

abstract class WireSelection
extends Expression
implements LeftValue

Expressions that can be selections of driven nets should extend this.


Fields inherited from class engine.Expression
length, ns
 
Constructor Summary
(package private) WireSelection(NameSpace ns)
           
 
Method Summary
(package private) abstract  void breakSelection(WireSelection[] bits, int startIndex)
          Breaks this wire selection into one-bit long ContBitSelects.
(package private) abstract  int getStrength(int bitIndex)
          Returns the strength and the value for the specified bit of the net, packed as an int (bit << 16 | strength).
(package private) abstract  void getStrengths(byte[] strengths, int startIndex)
          Copies the strengths into the given vector, starting from the given index.
(package private) abstract  void reatach()
          Re-attaches thie expression to its target wire
(package private) abstract  void release()
          Detach this assignement from its taregt wire, so subsequent calls to its compute methid will not
(package private) abstract  void setStrengths(byte[] strengths, int startIndex)
          Copies the new assignement strengths, from starting from strengths[startIndex].
 
Methods inherited from class engine.Expression
addMonitor, isLeftValue, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

WireSelection

WireSelection(NameSpace ns)
Method Detail

getStrength

abstract int getStrength(int bitIndex)
Returns the strength and the value for the specified bit of the net, packed as an int (bit << 16 | strength).

getStrengths

abstract void getStrengths(byte[] strengths,
                           int startIndex)
Copies the strengths into the given vector, starting from the given index. Tha last one should be large enough to keep 'em. Mainly used by MContAssignmonitor for port connections.

setStrengths

abstract void setStrengths(byte[] strengths,
                           int startIndex)
                    throws InterpretTimeException
Copies the new assignement strengths, from starting from strengths[startIndex]. Mainly used by MContAssignMonitor for port connections.

release

abstract void release()
Detach this assignement from its taregt wire, so subsequent calls to its compute methid will not

reatach

abstract void reatach()
Re-attaches thie expression to its target wire

breakSelection

abstract void breakSelection(WireSelection[] bits,
                             int startIndex)
Breaks this wire selection into one-bit long ContBitSelects.