engine
Class EnableGate
java.lang.Object
|
+--engine.StdGate
|
+--engine.EnableGate
- class EnableGate
- extends StdGate
- implements Monitor, Executable
guess..
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
lastInput
BitVector lastInput
lastOutput
BitVector lastOutput
lastStrength
byte[] lastStrength
input
Expression input
output
LeftValue output
strength
byte strength
strengths
static byte[] strengths
- The pre-calculated strengths for 0/1, L and H
values
static BitVector[] values
strengthIndex
int strengthIndex
- Used as an index into strengthTable
strengthTable
static final byte[][] strengthTable
EnableGate
EnableGate(NameSpace parent,
Delay3 delay,
LeftValue output,
Expression input,
ModuleInstanceDescription id,
byte type,
byte strength)
throws ParseException
trigger
public void trigger()
throws InterpretTimeException
- Specified by:
- trigger in interface Monitor
execute
public void execute()
throws InterpretTimeException
- Specified by:
- execute in interface Executable