engine
Class EnableGate

java.lang.Object
  |
  +--engine.StdGate
        |
        +--engine.EnableGate

class EnableGate
extends StdGate
implements Monitor, Executable

guess..


Field Summary
(package private)  Expression input
           
(package private)  BitVector lastInput
           
(package private)  BitVector lastOutput
           
(package private)  byte[] lastStrength
           
(package private)  LeftValue output
           
(package private)  byte strength
           
(package private)  int strengthIndex
          Used as an index into strengthTable
(package private) static byte[] strengths
          The pre-calculated strengths for 0/1, L and H
(package private) static byte[][] strengthTable
           
(package private) static BitVector[] values
           
 
Fields inherited from class engine.StdGate
delay, H, id, L, lastUpdateTime, parent, truthTables, type, X, Z
 
Constructor Summary
(package private) EnableGate(NameSpace parent, Delay3 delay, LeftValue output, Expression input, ModuleInstanceDescription id, byte type, byte strength)
           
 
Method Summary
 void execute()
           
 void trigger()
           
 
Methods inherited from class engine.StdGate
toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

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
Constructor Detail

EnableGate

EnableGate(NameSpace parent,
           Delay3 delay,
           LeftValue output,
           Expression input,
           ModuleInstanceDescription id,
           byte type,
           byte strength)
     throws ParseException
Method Detail

trigger

public void trigger()
             throws InterpretTimeException
Specified by:
trigger in interface Monitor

execute

public void execute()
             throws InterpretTimeException
Specified by:
execute in interface Executable