ToolChain.GHDL

Exceptions

Classes

Functions

exception ToolChain.GHDL.GHDLException(message='')[source]

Inheritance

Inheritance diagram of GHDLException

Members

__init__(message='')

Exception initializer

Parameters:message (str) – The exception message.
__str__()

Returns the exception’s message text.

args
exception ToolChain.GHDL.GHDLReanalyzeException(message='')[source]

Inheritance

Inheritance diagram of GHDLReanalyzeException

Members

__init__(message='')

Exception initializer

Parameters:message (str) – The exception message.
__str__()

Returns the exception’s message text.

args
class ToolChain.GHDL.Configuration(host: Base.IHost)[source]

Inheritance

Inheritance diagram of Configuration

Members

_vendor = 'tgingold'

The name of the tools vendor.

_toolName = 'GHDL'

The name of the tool.

_section = 'INSTALL.GHDL'

The name of the configuration section. Pattern: INSTALL.Vendor.ToolName.

_multiVersionSupport = True

Git supports multiple versions installed on the same system.

_template = {'Windows': {'INSTALL.GHDL': {'SectionName': ('%{PathWithRoot}#${Version}-${Runtime}-${Backend}', None), 'Runtime': 'gnatgpl32', 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', 'C:/Tools/GHDL/${Version}-${Runtime}-${Backend}'), 'Backend': 'mcode', 'Version': '0.34-dev', 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/bin'), 'ScriptDirectory': ('${${SectionName}:ScriptDirectory}', '${InstallationDirectory}/lib/vendors')}}, 'Linux': {'INSTALL.GHDL': {'SectionName': ('%{PathWithRoot}#${Version}-${Backend}', None), 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/bin'), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '/usr/local'), 'Backend': 'llvm', 'Version': '0.34-dev', 'ScriptDirectory': ('${${SectionName}:ScriptDirectory}', '${InstallationDirectory}/lib/ghdl/vendors')}}, 'Darwin': {'INSTALL.GHDL': {'SectionName': ('%{PathWithRoot}#${Version}-${Backend}', None), 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/bin'), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '/usr/local'), 'Backend': 'llvm', 'Version': '0.34-dev', 'ScriptDirectory': ('${${SectionName}:ScriptDirectory}', '${InstallationDirectory}/lib/ghdl/vendors')}}}

The template for the configuration sections represented as nested dictionaries.

ConfigureForAll()[source]
_GetDefaultInstallationDirectory()[source]
_ConfigureBinaryDirectory()[source]

Updates section with value from _template and returns directory as Path object.

_ConfigureScriptDirectory()[source]

Updates section with value from _template and returns directory as Path object.

CheckDependency()[source]

Check if all vendor or tool dependencies are fulfilled to configure this tool.

ClearSection(writeWarnings=False)[source]

Clear the configuration section associated to this Configuration class.

ConfigureForDarwin()[source]

Start the configuration procedure for Darwin.

This method is a wrapper for ConfigureForAll(). Overwrite this method to implement a Darwin specific configuration routine.

ConfigureForLinux()[source]

Start the configuration procedure for Linux.

This method is a wrapper for ConfigureForAll(). Overwrite this method to implement a Linux specific configuration routine.

ConfigureForWindows()[source]

Start the configuration procedure for Windows.

This method is a wrapper for ConfigureForAll(). Overwrite this method to implement a Windows specific configuration routine.

GetSections(platform)[source]

Return all section names for this configuration.

Host

Return the hosting object.

IsConfigured()[source]

Return true if the configurations section is configured

IsSupportedPlatform()[source]

Return true if the given platform is supported by this configuration routine.

Log(entry, condition=True)

Write an entry to the local logger.

LogDebug(*args, condition=True, **kwargs)
LogDryRun(*args, condition=True, **kwargs)
LogError(*args, condition=True, **kwargs)
LogFatal(*args, condition=True, **kwargs)
LogInfo(*args, condition=True, **kwargs)
LogNormal(*args, condition=True, **kwargs)
LogQuiet(*args, condition=True, **kwargs)
LogVerbose(*args, condition=True, **kwargs)
LogWarning(*args, condition=True, **kwargs)
Logger

Return the local logger instance.

PrepareOptions(writeWarnings=True)[source]
PrepareSections(warningWasWritten, writeWarnings=True)[source]
PrepareVersionedSections(writeWarnings=False)
RunPostConfigurationTasks()[source]

Virtual method. Overwrite to execute post-configuration tasks.

SectionName

Return the configuration’s section name.

State

Return the configuration state.

_Ask(question, default, beforeDefault='', afterDefault='', indent=1)
_AskInstalled(question)[source]

Ask a Yes/No/Pass question.

_AskYes_NoPass(question, indent=1)

Ask a yes/NO/pass question.

_Ask_YesNoPass(question, indent=1)

Ask a YES/no/pass question.

_Configuration__WriteGHDLSection(binPath)
_ConfigureEdition(editions, defaultEdition)
_ConfigureInstallationDirectory()[source]

Asks for installation directory and updates section. Checks if entered directory exists and returns Path object. If no installation directory was configured before, then _GetDefaultInstallationDir is called.

_ConfigureVersion()

If no version was configured before, then _GetDefaultVersion is called. Asks for version and updates section. Returns version as string.

_GetDefaultEdition()

Returns unresolved default edition (str) from template.

Overwrite this method in a sub-class for automatic search of editions.

_GetDefaultOptionValue(optionName)[source]
_GetDefaultVersion()

Returns unresolved default version (str) from template.

Overwrite this method in a sub-class for automatic search of version.

_PrintAvailableEditions(editions, selectedEdition)

Print all available editions and return the selected index.

_TestDefaultInstallPath(defaults)[source]

Helper function for automatic search of installation directory.

_TryLog(*args, condition=True, **kwargs)
class ToolChain.GHDL.GHDL(platform, dryrun, binaryDirectoryPath, version, backend, logger=None)[source]

Inheritance

Inheritance diagram of GHDL

Members

BinaryDirectoryPath
Backend
Version
deco(Arg)[source]
Executable
class CmdAnalyze[source]
_name = 'a'
class GHDL.CmdElaborate[source]
_name = 'e'
class GHDL.CmdRun[source]
_name = 'r'
class GHDL.FlagVerbose[source]
_name = 'v'
class GHDL.FlagDebug[source]
_name = 'g'
class GHDL.FlagExplicit[source]
_name = 'fexplicit'
class GHDL.FlagRelaxedRules[source]
_name = 'frelaxed-rules'
class GHDL.FlagWarnBinding[source]
_name = 'warn-binding'
class GHDL.FlagNoVitalChecks[source]
_name = 'no-vital-checks'
class GHDL.FlagMultiByteComments[source]
_name = 'mb-comments'
class GHDL.FlagSynBinding[source]
_name = 'syn-binding'
class GHDL.FlagPSL[source]
_name = 'fpsl'
class GHDL.FlagProfileArcs[source]
_name = 'fprofile-arcs'
class GHDL.FlagTestCoverage[source]
_name = 'ftest-coverage'
class GHDL.SwitchCompilerOption[source]
_pattern = '-{0},{1}'
_name = 'Wc'
class GHDL.SwitchAssemblerOption[source]
_pattern = '-{0},{1}'
_name = 'Wa'
class GHDL.SwitchLinkerOption[source]
_pattern = '-{0},{1}'
_name = 'Wl'
class GHDL.SwitchIEEEFlavor[source]
_name = 'ieee'
class GHDL.SwitchVHDLVersion[source]
_name = 'std'
class GHDL.SwitchVHDLLibrary[source]
_name = 'work'
class GHDL.ArgListLibraryReferences[source]
_pattern = '-{0}{1}'
_name = 'P'
class GHDL.ArgSourceFile[source]
class GHDL.ArgTopLevel[source]
GHDL.Parameters = [<class 'ToolChain.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChain.GHDL.GHDL.CmdElaborate'>, <class 'ToolChain.GHDL.GHDL.CmdRun'>, <class 'ToolChain.GHDL.GHDL.FlagVerbose'>, <class 'ToolChain.GHDL.GHDL.FlagDebug'>, <class 'ToolChain.GHDL.GHDL.FlagExplicit'>, <class 'ToolChain.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChain.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChain.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChain.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChain.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChain.GHDL.GHDL.FlagPSL'>, <class 'ToolChain.GHDL.GHDL.FlagProfileArcs'>, <class 'ToolChain.GHDL.GHDL.FlagTestCoverage'>, <class 'ToolChain.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChain.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChain.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChain.GHDL.GHDL.ArgTopLevel'>]
class GHDL.SwitchIEEEAsserts[source]
_name = 'ieee-asserts'
class GHDL.SwitchStopDelta[source]
_name = 'stop-delta'
class GHDL.SwitchVCDWaveform[source]
_name = 'vcd'
class GHDL.SwitchVCDGZWaveform[source]
_name = 'vcdgz'
class GHDL.SwitchFastWaveform[source]
_name = 'fst'
class GHDL.SwitchGHDLWaveform[source]
_name = 'wave'
class GHDL.SwitchWaveformOptionFile[source]
_name = 'read-wave-opt'
GHDL.RunOptions = [<class 'ToolChain.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChain.GHDL.GHDL.SwitchStopDelta'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchWaveformOptionFile'>]
GHDL.GetGHDLAnalyze()[source]
GHDL.GetGHDLElaborate()[source]
GHDL.GetGHDLRun()[source]
GHDL.GetReader()
GHDL.HasErrors

True if errors or fatals errors were found while processing the output stream.

GHDL.HasWarnings

True if errors or fatals errors were found while processing the output stream.

GHDL.Log(entry, condition=True)

Write an entry to the local logger.

GHDL.LogDebug(*args, condition=True, **kwargs)
GHDL.LogDryRun(*args, condition=True, **kwargs)
GHDL.LogError(*args, condition=True, **kwargs)
GHDL.LogFatal(*args, condition=True, **kwargs)
GHDL.LogInfo(*args, condition=True, **kwargs)
GHDL.LogNormal(*args, condition=True, **kwargs)
GHDL.LogQuiet(*args, condition=True, **kwargs)
GHDL.LogVerbose(*args, condition=True, **kwargs)
GHDL.LogWarning(*args, condition=True, **kwargs)
GHDL.Logger

Return the local logger instance.

GHDL.Path
GHDL.ReadUntilBoundary(indent=0)
GHDL.Send(line, end='\n')
GHDL.SendBoundary()
GHDL.StartProcess(parameterList)
GHDL.Terminate()
GHDL._POC_BOUNDARY = '====== POC BOUNDARY ======'
GHDL._TryLog(*args, condition=True, **kwargs)
class ToolChain.GHDL.GHDLAnalyze(platform, dryrun, binaryDirectoryPath, version, backend, logger=None)[source]

Inheritance

Inheritance diagram of GHDLAnalyze

Members

Analyze()[source]
class ArgListLibraryReferences
_name = 'P'
_pattern = '-{0}{1}'
class GHDLAnalyze.ArgSourceFile
class GHDLAnalyze.ArgTopLevel
GHDLAnalyze.Backend
GHDLAnalyze.BinaryDirectoryPath
class GHDLAnalyze.CmdAnalyze
_name = 'a'
class GHDLAnalyze.CmdElaborate
_name = 'e'
class GHDLAnalyze.CmdRun
_name = 'r'
GHDLAnalyze.Executable
class GHDLAnalyze.FlagDebug
_name = 'g'
class GHDLAnalyze.FlagExplicit
_name = 'fexplicit'
class GHDLAnalyze.FlagMultiByteComments
_name = 'mb-comments'
class GHDLAnalyze.FlagNoVitalChecks
_name = 'no-vital-checks'
class GHDLAnalyze.FlagPSL
_name = 'fpsl'
class GHDLAnalyze.FlagProfileArcs
_name = 'fprofile-arcs'
class GHDLAnalyze.FlagRelaxedRules
_name = 'frelaxed-rules'
class GHDLAnalyze.FlagSynBinding
_name = 'syn-binding'
class GHDLAnalyze.FlagTestCoverage
_name = 'ftest-coverage'
class GHDLAnalyze.FlagVerbose
_name = 'v'
class GHDLAnalyze.FlagWarnBinding
_name = 'warn-binding'
GHDLAnalyze.GetGHDLAnalyze()
GHDLAnalyze.GetGHDLElaborate()
GHDLAnalyze.GetGHDLRun()
GHDLAnalyze.GetReader()
GHDLAnalyze.HasErrors

True if errors or fatals errors were found while processing the output stream.

GHDLAnalyze.HasWarnings

True if errors or fatals errors were found while processing the output stream.

GHDLAnalyze.Log(entry, condition=True)

Write an entry to the local logger.

GHDLAnalyze.LogDebug(*args, condition=True, **kwargs)
GHDLAnalyze.LogDryRun(*args, condition=True, **kwargs)
GHDLAnalyze.LogError(*args, condition=True, **kwargs)
GHDLAnalyze.LogFatal(*args, condition=True, **kwargs)
GHDLAnalyze.LogInfo(*args, condition=True, **kwargs)
GHDLAnalyze.LogNormal(*args, condition=True, **kwargs)
GHDLAnalyze.LogQuiet(*args, condition=True, **kwargs)
GHDLAnalyze.LogVerbose(*args, condition=True, **kwargs)
GHDLAnalyze.LogWarning(*args, condition=True, **kwargs)
GHDLAnalyze.Logger

Return the local logger instance.

GHDLAnalyze.Parameters = [<class 'ToolChain.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChain.GHDL.GHDL.CmdElaborate'>, <class 'ToolChain.GHDL.GHDL.CmdRun'>, <class 'ToolChain.GHDL.GHDL.FlagVerbose'>, <class 'ToolChain.GHDL.GHDL.FlagDebug'>, <class 'ToolChain.GHDL.GHDL.FlagExplicit'>, <class 'ToolChain.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChain.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChain.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChain.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChain.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChain.GHDL.GHDL.FlagPSL'>, <class 'ToolChain.GHDL.GHDL.FlagProfileArcs'>, <class 'ToolChain.GHDL.GHDL.FlagTestCoverage'>, <class 'ToolChain.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChain.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChain.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChain.GHDL.GHDL.ArgTopLevel'>]
GHDLAnalyze.Path
GHDLAnalyze.ReadUntilBoundary(indent=0)
GHDLAnalyze.RunOptions = [<class 'ToolChain.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChain.GHDL.GHDL.SwitchStopDelta'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchWaveformOptionFile'>]
GHDLAnalyze.Send(line, end='\n')
GHDLAnalyze.SendBoundary()
GHDLAnalyze.StartProcess(parameterList)
class GHDLAnalyze.SwitchAssemblerOption
_name = 'Wa'
_pattern = '-{0},{1}'
class GHDLAnalyze.SwitchCompilerOption
_name = 'Wc'
_pattern = '-{0},{1}'
class GHDLAnalyze.SwitchFastWaveform
_name = 'fst'
class GHDLAnalyze.SwitchGHDLWaveform
_name = 'wave'
class GHDLAnalyze.SwitchIEEEAsserts
_name = 'ieee-asserts'
class GHDLAnalyze.SwitchIEEEFlavor
_name = 'ieee'
class GHDLAnalyze.SwitchLinkerOption
_name = 'Wl'
_pattern = '-{0},{1}'
class GHDLAnalyze.SwitchStopDelta
_name = 'stop-delta'
class GHDLAnalyze.SwitchVCDGZWaveform
_name = 'vcdgz'
class GHDLAnalyze.SwitchVCDWaveform
_name = 'vcd'
class GHDLAnalyze.SwitchVHDLLibrary
_name = 'work'
class GHDLAnalyze.SwitchVHDLVersion
_name = 'std'
class GHDLAnalyze.SwitchWaveformOptionFile
_name = 'read-wave-opt'
GHDLAnalyze.Terminate()
GHDLAnalyze.Version
GHDLAnalyze._POC_BOUNDARY = '====== POC BOUNDARY ======'
GHDLAnalyze._TryLog(*args, condition=True, **kwargs)
GHDLAnalyze.deco(Arg)
class ToolChain.GHDL.GHDLElaborate(platform, dryrun, binaryDirectoryPath, version, backend, logger=None)[source]

Inheritance

Inheritance diagram of GHDLElaborate

Members

Elaborate()[source]
class ArgListLibraryReferences
_name = 'P'
_pattern = '-{0}{1}'
class GHDLElaborate.ArgSourceFile
class GHDLElaborate.ArgTopLevel
GHDLElaborate.Backend
GHDLElaborate.BinaryDirectoryPath
class GHDLElaborate.CmdAnalyze
_name = 'a'
class GHDLElaborate.CmdElaborate
_name = 'e'
class GHDLElaborate.CmdRun
_name = 'r'
GHDLElaborate.Executable
class GHDLElaborate.FlagDebug
_name = 'g'
class GHDLElaborate.FlagExplicit
_name = 'fexplicit'
class GHDLElaborate.FlagMultiByteComments
_name = 'mb-comments'
class GHDLElaborate.FlagNoVitalChecks
_name = 'no-vital-checks'
class GHDLElaborate.FlagPSL
_name = 'fpsl'
class GHDLElaborate.FlagProfileArcs
_name = 'fprofile-arcs'
class GHDLElaborate.FlagRelaxedRules
_name = 'frelaxed-rules'
class GHDLElaborate.FlagSynBinding
_name = 'syn-binding'
class GHDLElaborate.FlagTestCoverage
_name = 'ftest-coverage'
class GHDLElaborate.FlagVerbose
_name = 'v'
class GHDLElaborate.FlagWarnBinding
_name = 'warn-binding'
GHDLElaborate.GetGHDLAnalyze()
GHDLElaborate.GetGHDLElaborate()
GHDLElaborate.GetGHDLRun()
GHDLElaborate.GetReader()
GHDLElaborate.HasErrors

True if errors or fatals errors were found while processing the output stream.

GHDLElaborate.HasWarnings

True if errors or fatals errors were found while processing the output stream.

GHDLElaborate.Log(entry, condition=True)

Write an entry to the local logger.

GHDLElaborate.LogDebug(*args, condition=True, **kwargs)
GHDLElaborate.LogDryRun(*args, condition=True, **kwargs)
GHDLElaborate.LogError(*args, condition=True, **kwargs)
GHDLElaborate.LogFatal(*args, condition=True, **kwargs)
GHDLElaborate.LogInfo(*args, condition=True, **kwargs)
GHDLElaborate.LogNormal(*args, condition=True, **kwargs)
GHDLElaborate.LogQuiet(*args, condition=True, **kwargs)
GHDLElaborate.LogVerbose(*args, condition=True, **kwargs)
GHDLElaborate.LogWarning(*args, condition=True, **kwargs)
GHDLElaborate.Logger

Return the local logger instance.

GHDLElaborate.Parameters = [<class 'ToolChain.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChain.GHDL.GHDL.CmdElaborate'>, <class 'ToolChain.GHDL.GHDL.CmdRun'>, <class 'ToolChain.GHDL.GHDL.FlagVerbose'>, <class 'ToolChain.GHDL.GHDL.FlagDebug'>, <class 'ToolChain.GHDL.GHDL.FlagExplicit'>, <class 'ToolChain.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChain.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChain.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChain.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChain.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChain.GHDL.GHDL.FlagPSL'>, <class 'ToolChain.GHDL.GHDL.FlagProfileArcs'>, <class 'ToolChain.GHDL.GHDL.FlagTestCoverage'>, <class 'ToolChain.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChain.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChain.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChain.GHDL.GHDL.ArgTopLevel'>]
GHDLElaborate.Path
GHDLElaborate.ReadUntilBoundary(indent=0)
GHDLElaborate.RunOptions = [<class 'ToolChain.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChain.GHDL.GHDL.SwitchStopDelta'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchWaveformOptionFile'>]
GHDLElaborate.Send(line, end='\n')
GHDLElaborate.SendBoundary()
GHDLElaborate.StartProcess(parameterList)
class GHDLElaborate.SwitchAssemblerOption
_name = 'Wa'
_pattern = '-{0},{1}'
class GHDLElaborate.SwitchCompilerOption
_name = 'Wc'
_pattern = '-{0},{1}'
class GHDLElaborate.SwitchFastWaveform
_name = 'fst'
class GHDLElaborate.SwitchGHDLWaveform
_name = 'wave'
class GHDLElaborate.SwitchIEEEAsserts
_name = 'ieee-asserts'
class GHDLElaborate.SwitchIEEEFlavor
_name = 'ieee'
class GHDLElaborate.SwitchLinkerOption
_name = 'Wl'
_pattern = '-{0},{1}'
class GHDLElaborate.SwitchStopDelta
_name = 'stop-delta'
class GHDLElaborate.SwitchVCDGZWaveform
_name = 'vcdgz'
class GHDLElaborate.SwitchVCDWaveform
_name = 'vcd'
class GHDLElaborate.SwitchVHDLLibrary
_name = 'work'
class GHDLElaborate.SwitchVHDLVersion
_name = 'std'
class GHDLElaborate.SwitchWaveformOptionFile
_name = 'read-wave-opt'
GHDLElaborate.Terminate()
GHDLElaborate.Version
GHDLElaborate._POC_BOUNDARY = '====== POC BOUNDARY ======'
GHDLElaborate._TryLog(*args, condition=True, **kwargs)
GHDLElaborate.deco(Arg)
class ToolChain.GHDL.GHDLRun(platform, dryrun, binaryDirectoryPath, version, backend, logger=None)[source]

Inheritance

Inheritance diagram of GHDLRun

Members

Run()[source]
class ArgListLibraryReferences
_name = 'P'
_pattern = '-{0}{1}'
class GHDLRun.ArgSourceFile
class GHDLRun.ArgTopLevel
GHDLRun.Backend
GHDLRun.BinaryDirectoryPath
class GHDLRun.CmdAnalyze
_name = 'a'
class GHDLRun.CmdElaborate
_name = 'e'
class GHDLRun.CmdRun
_name = 'r'
GHDLRun.Executable
class GHDLRun.FlagDebug
_name = 'g'
class GHDLRun.FlagExplicit
_name = 'fexplicit'
class GHDLRun.FlagMultiByteComments
_name = 'mb-comments'
class GHDLRun.FlagNoVitalChecks
_name = 'no-vital-checks'
class GHDLRun.FlagPSL
_name = 'fpsl'
class GHDLRun.FlagProfileArcs
_name = 'fprofile-arcs'
class GHDLRun.FlagRelaxedRules
_name = 'frelaxed-rules'
class GHDLRun.FlagSynBinding
_name = 'syn-binding'
class GHDLRun.FlagTestCoverage
_name = 'ftest-coverage'
class GHDLRun.FlagVerbose
_name = 'v'
class GHDLRun.FlagWarnBinding
_name = 'warn-binding'
GHDLRun.GetGHDLAnalyze()
GHDLRun.GetGHDLElaborate()
GHDLRun.GetGHDLRun()
GHDLRun.GetReader()
GHDLRun.HasErrors

True if errors or fatals errors were found while processing the output stream.

GHDLRun.HasWarnings

True if errors or fatals errors were found while processing the output stream.

GHDLRun.Log(entry, condition=True)

Write an entry to the local logger.

GHDLRun.LogDebug(*args, condition=True, **kwargs)
GHDLRun.LogDryRun(*args, condition=True, **kwargs)
GHDLRun.LogError(*args, condition=True, **kwargs)
GHDLRun.LogFatal(*args, condition=True, **kwargs)
GHDLRun.LogInfo(*args, condition=True, **kwargs)
GHDLRun.LogNormal(*args, condition=True, **kwargs)
GHDLRun.LogQuiet(*args, condition=True, **kwargs)
GHDLRun.LogVerbose(*args, condition=True, **kwargs)
GHDLRun.LogWarning(*args, condition=True, **kwargs)
GHDLRun.Logger

Return the local logger instance.

GHDLRun.Parameters = [<class 'ToolChain.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChain.GHDL.GHDL.CmdElaborate'>, <class 'ToolChain.GHDL.GHDL.CmdRun'>, <class 'ToolChain.GHDL.GHDL.FlagVerbose'>, <class 'ToolChain.GHDL.GHDL.FlagDebug'>, <class 'ToolChain.GHDL.GHDL.FlagExplicit'>, <class 'ToolChain.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChain.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChain.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChain.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChain.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChain.GHDL.GHDL.FlagPSL'>, <class 'ToolChain.GHDL.GHDL.FlagProfileArcs'>, <class 'ToolChain.GHDL.GHDL.FlagTestCoverage'>, <class 'ToolChain.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChain.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChain.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChain.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChain.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChain.GHDL.GHDL.ArgTopLevel'>]
GHDLRun.Path
GHDLRun.ReadUntilBoundary(indent=0)
GHDLRun.RunOptions = [<class 'ToolChain.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChain.GHDL.GHDL.SwitchStopDelta'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChain.GHDL.GHDL.SwitchWaveformOptionFile'>]
GHDLRun.Send(line, end='\n')
GHDLRun.SendBoundary()
GHDLRun.StartProcess(parameterList)
class GHDLRun.SwitchAssemblerOption
_name = 'Wa'
_pattern = '-{0},{1}'
class GHDLRun.SwitchCompilerOption
_name = 'Wc'
_pattern = '-{0},{1}'
class GHDLRun.SwitchFastWaveform
_name = 'fst'
class GHDLRun.SwitchGHDLWaveform
_name = 'wave'
class GHDLRun.SwitchIEEEAsserts
_name = 'ieee-asserts'
class GHDLRun.SwitchIEEEFlavor
_name = 'ieee'
class GHDLRun.SwitchLinkerOption
_name = 'Wl'
_pattern = '-{0},{1}'
class GHDLRun.SwitchStopDelta
_name = 'stop-delta'
class GHDLRun.SwitchVCDGZWaveform
_name = 'vcdgz'
class GHDLRun.SwitchVCDWaveform
_name = 'vcd'
class GHDLRun.SwitchVHDLLibrary
_name = 'work'
class GHDLRun.SwitchVHDLVersion
_name = 'std'
class GHDLRun.SwitchWaveformOptionFile
_name = 'read-wave-opt'
GHDLRun.Terminate()
GHDLRun.Version
GHDLRun._POC_BOUNDARY = '====== POC BOUNDARY ======'
GHDLRun._TryLog(*args, condition=True, **kwargs)
GHDLRun.deco(Arg)

Functions

ToolChain.GHDL.GHDLAnalyzeFilter(gen)[source]
ToolChain.GHDL.GHDLElaborateFilter(gen)
ToolChain.GHDL.GHDLRunFilter(gen)[source]