public abstract class HdlParser extends Engine
Returns CfgModel
control flow graph model representation.
Modifier and Type | Field and Description |
---|---|
static Parameter |
FIRST_FILE_MODULE
Parameter that assigns top level module name by the name of the first input HDL file.
|
static Parameter |
MODULE_NAME
The HDL top-level module names.
|
DISABLE_BACKENDS, NO_BACKEND
Modifier | Constructor and Description |
---|---|
protected |
HdlParser(java.lang.String parserId)
Constructs parser with the specified identifier.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
getModuleNames(Arguments arguments,
FileNames fileNames) |
protected abstract EntityType |
getSrcType()
Returns the type of HDL source inputs.
|
protected abstract Entity |
parse(java.util.Map<EntityType,Entity> inputs)
Parses input entities.
|
Entity |
start(java.util.Map<EntityType,Entity> inputs)
Processes entities of the input types and produces an entity of the output type.
|
addBackend, addInputType, addParameter, deactivateBackends, debugWrite, debugWrite, defines, disableAllBackends, enableAllBackends, equals, getBackends, getId, getInputEntity, getInputTypes, getLogger, getOptionalInputEntity, getOutputType, getParameters, hashCode, isDebugMode, parseCommandLine, setDebugMode, setOutputType, start, toString
public static final Parameter MODULE_NAME
public static final Parameter FIRST_FILE_MODULE
protected HdlParser(java.lang.String parserId)
parserId
- Parser identifier.protected abstract Entity parse(java.util.Map<EntityType,Entity> inputs)
inputs
- Input entities collection.protected abstract EntityType getSrcType()
public Entity start(java.util.Map<EntityType,Entity> inputs)
Engine