engine
Class BitSelect
java.lang.Object
|
+--engine.Expression
|
+--engine.WireSelection
|
+--engine.BitSelect
- Direct Known Subclasses:
- ContBitSelect
- class BitSelect
- extends WireSelection
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
start
int start
end
int end
b
BitVector b
target
GenericSelectorDescription target
BitSelect
BitSelect(NameSpace ns,
BitVector b,
GenericSelectorDescription target)
BitSelect
BitSelect(NameSpace ns,
BitVector b,
GenericSelectorDescription target,
int start,
int end)
evaluate
public Result evaluate()
throws InterpretTimeException
length
public int length()
getStrength
public int getStrength(int bitIndex)
throws java.lang.ClassCastException
- Returns the strength that drives this wire.
- Throws:
- java.lang.ClassCastException - if the BitSelect does not reffer to a wire.
- Overrides:
- getStrength in class WireSelection
- See Also:
WireSelection.getStrength
getStrengths
public void getStrengths(byte[] s,
int index)
- Overrides:
- getStrengths in class WireSelection
setStrengths
public void setStrengths(byte[] s,
int i)
- Overrides:
- setStrengths in class WireSelection
assign
public void assign(Result r)
throws InterpretTimeException
set
void set(BitVector x,
int start,
int end)
throws InterpretTimeException
assign
void assign(Result r,
byte[] strengths)
throws InterpretTimeException
toString
public java.lang.String toString()
- Overrides:
- toString in class Expression
addMonitor
void addMonitor(Monitor m)
- Overrides:
- addMonitor in class Expression
release
void release()
- Overrides:
- release in class WireSelection
- See Also:
WireSelection.release
reatach
void reatach()
- Overrides:
- reatach in class WireSelection
- See Also:
WireSelection.reatach
breakSelection
void breakSelection(WireSelection[] bits,
int startIndex)
- Overrides:
- breakSelection in class WireSelection
- See Also:
WireSelection.reatach