public abstract class TestbenchPrinterEngine extends Engine
Modifier and Type | Field and Description |
---|---|
static Parameter |
OVERWRITE
When specified, allows the engine to overwrite testbench files.
|
DISABLE_BACKENDS, NO_BACKEND
Modifier | Constructor and Description |
---|---|
protected |
TestbenchPrinterEngine(java.lang.String engineId,
EntityType outType)
Creates a new
TestVhdlTestbenchPrinter instance. |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getBitVectorDelim()
Returns the string delimiter for bit vector variable declaration.
|
protected abstract java.lang.String |
getBitVectorPrefix()
Returns the string prefix for bit vector variable declaration.
|
protected abstract java.lang.String |
getBitVectorSuffix()
Returns the string suffix for bit vector variable declaration.
|
protected abstract java.util.Map<java.lang.String,java.lang.String> |
getConvertFunctionMap()
Returns mapping from data type string description to "string-to" conversion functions names.
|
protected abstract java.util.Map<ru.ispras.fortress.data.DataType,java.lang.String> |
getDataTypeMap()
Returns mapping from data types to their string representations.
|
protected abstract java.lang.String |
getInputDeclarationFmt()
Returns input signal declaration format.
|
protected abstract java.lang.String |
getInputPortKind()
Returns string description of input port.
|
protected abstract java.lang.String |
getOutputDeclarationFmt()
Returns output signal declaration format.
|
protected abstract java.lang.String |
getOutputPortKind()
Returns string description of output port.
|
protected abstract java.lang.String |
getStEntityName()
Returns ST top entity (group) name.
|
protected abstract java.lang.String |
getTemplateDirName()
Returns the name for ST template directory.
|
protected abstract java.lang.String |
getTemplateName()
Returns the name for ST template.
|
protected abstract java.lang.String |
getTestbenchExt()
Returns an extension of the testbench files.
|
protected abstract java.lang.String |
getTstParserName()
Returns the TST parser template name.
|
protected java.util.List<java.util.Set<Testbench>> |
makeTestbenches(java.util.Map<EntityType,Entity> inputs)
Builds the collection of testbenches from the specified inputs.
|
addBackend, addInputType, addParameter, deactivateBackends, debugWrite, debugWrite, defines, disableAllBackends, enableAllBackends, equals, getBackends, getId, getInputEntity, getInputTypes, getLogger, getOptionalInputEntity, getOutputType, getParameters, hashCode, isDebugMode, parseCommandLine, setDebugMode, setOutputType, start, start, toString
public static final Parameter OVERWRITE
protected TestbenchPrinterEngine(java.lang.String engineId, EntityType outType)
TestVhdlTestbenchPrinter
instance.engineId
- The engine identifier.outType
- The engine output type.protected abstract java.lang.String getTestbenchExt()
protected abstract java.lang.String getTemplateDirName()
protected abstract java.lang.String getTemplateName()
protected abstract java.lang.String getTstParserName()
protected abstract java.lang.String getStEntityName()
protected abstract java.lang.String getInputPortKind()
protected abstract java.lang.String getOutputPortKind()
protected abstract java.lang.String getBitVectorPrefix()
protected abstract java.lang.String getBitVectorDelim()
protected abstract java.lang.String getBitVectorSuffix()
protected abstract java.lang.String getInputDeclarationFmt()
protected abstract java.lang.String getOutputDeclarationFmt()
protected abstract java.util.Map<ru.ispras.fortress.data.DataType,java.lang.String> getDataTypeMap()
protected abstract java.util.Map<java.lang.String,java.lang.String> getConvertFunctionMap()
protected java.util.List<java.util.Set<Testbench>> makeTestbenches(java.util.Map<EntityType,Entity> inputs)
inputs
- The inputs that contain testbenches.