public final class VerilogInterpreter
extends java.lang.Object
VerilogInterpreter
implements a simple interpreter of Verilog statements.
The main purpose of VerilogInterpreter
is to evaluate constant expressions that include
user-defined functions.
Modifier and Type | Method and Description |
---|---|
static boolean |
interpret(VerilogStatement statement,
java.util.Map<java.lang.String,ru.ispras.fortress.data.Data> context)
Interprets the given statement in the given context.
|
public static boolean interpret(VerilogStatement statement, java.util.Map<java.lang.String,ru.ispras.fortress.data.Data> context)
statement
- the statement to be interpreted.context
- the values of variables.true
iff the statement has been successfully interpreted.