util
Class SMOKVerifier
java.lang.Object
|
+--util.SMOKVerifier
- public class SMOKVerifier
- extends java.lang.Object
A SMOK model verifier. Runs a shadow implementation in sync with
a SMOK model. SMOK communicates with the verifier by way of sending
triples of the following form: [cycle] [type] [value]. The verifier
responds back with the following responses:
- OK
- ERROR [type]
Constructor Summary |
SMOKVerifier(java.io.InputStream is,
java.io.OutputStream os)
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeNames
public static final java.lang.String[] typeNames
CTL_INIT
public static final int CTL_INIT
- See Also:
- Constant Field Values
CTL_EXIT
public static final int CTL_EXIT
- See Also:
- Constant Field Values
PC
public static final int PC
- See Also:
- Constant Field Values
MEMW_ADDR
public static final int MEMW_ADDR
- See Also:
- Constant Field Values
MEMW_VAL
public static final int MEMW_VAL
- See Also:
- Constant Field Values
MEMW_ENABLE
public static final int MEMW_ENABLE
- See Also:
- Constant Field Values
REGW_ADDR
public static final int REGW_ADDR
- See Also:
- Constant Field Values
REGW_VAL
public static final int REGW_VAL
- See Also:
- Constant Field Values
REGW_ENABLE
public static final int REGW_ENABLE
- See Also:
- Constant Field Values
NUM_TYPES
public static final int NUM_TYPES
- See Also:
- Constant Field Values
machine
Mips machine
out
java.io.PrintStream out
dump
java.io.PrintStream dump
in
java.io.StreamTokenizer in
valsReceived
boolean[] valsReceived
vals
int[] vals
checkers
SMOKVerifier.Checker[] checkers
cycle
long cycle
SMOKVerifier
public SMOKVerifier(java.io.InputStream is,
java.io.OutputStream os)
throws java.io.IOException
run
public void run()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception