ToolChains.GHDL

Exceptions

Classes

Functions

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

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 ToolChains.GHDL.GHDL(platform, dryrun, binaryDirectoryPath, version, backend, logger=None)[source]

Inheritance

Inheritance diagram of GHDL

Members

BinaryDirectoryPath
Backend
Version
HasWarnings
HasErrors
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.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.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 'ToolChains.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChains.GHDL.GHDL.CmdElaborate'>, <class 'ToolChains.GHDL.GHDL.CmdRun'>, <class 'ToolChains.GHDL.GHDL.FlagVerbose'>, <class 'ToolChains.GHDL.GHDL.FlagExplicit'>, <class 'ToolChains.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChains.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChains.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChains.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChains.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChains.GHDL.GHDL.FlagPSL'>, <class 'ToolChains.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChains.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChains.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChains.GHDL.GHDL.ArgTopLevel'>]
class GHDL.SwitchIEEEAsserts[source]
_name = 'ieee-asserts'
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 'ToolChains.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchWaveformOptionFile'>]
GHDL.GetGHDLAnalyze()[source]
GHDL.GetGHDLElaborate()[source]
GHDL.GetGHDLRun()[source]
GHDL.GetReader()
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 ToolChains.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.FlagExplicit
_name = 'fexplicit'
class GHDLAnalyze.FlagMultiByteComments
_name = 'mb-comments'
class GHDLAnalyze.FlagNoVitalChecks
_name = 'no-vital-checks'
class GHDLAnalyze.FlagPSL
_name = 'fpsl'
class GHDLAnalyze.FlagRelaxedRules
_name = 'frelaxed-rules'
class GHDLAnalyze.FlagSynBinding
_name = 'syn-binding'
class GHDLAnalyze.FlagVerbose
_name = 'v'
class GHDLAnalyze.FlagWarnBinding
_name = 'warn-binding'
GHDLAnalyze.GetGHDLAnalyze()
GHDLAnalyze.GetGHDLElaborate()
GHDLAnalyze.GetGHDLRun()
GHDLAnalyze.GetReader()
GHDLAnalyze.HasErrors
GHDLAnalyze.HasWarnings
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 'ToolChains.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChains.GHDL.GHDL.CmdElaborate'>, <class 'ToolChains.GHDL.GHDL.CmdRun'>, <class 'ToolChains.GHDL.GHDL.FlagVerbose'>, <class 'ToolChains.GHDL.GHDL.FlagExplicit'>, <class 'ToolChains.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChains.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChains.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChains.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChains.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChains.GHDL.GHDL.FlagPSL'>, <class 'ToolChains.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChains.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChains.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChains.GHDL.GHDL.ArgTopLevel'>]
GHDLAnalyze.Path
GHDLAnalyze.ReadUntilBoundary(indent=0)
GHDLAnalyze.RunOptions = [<class 'ToolChains.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChains.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.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 ToolChains.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.FlagExplicit
_name = 'fexplicit'
class GHDLElaborate.FlagMultiByteComments
_name = 'mb-comments'
class GHDLElaborate.FlagNoVitalChecks
_name = 'no-vital-checks'
class GHDLElaborate.FlagPSL
_name = 'fpsl'
class GHDLElaborate.FlagRelaxedRules
_name = 'frelaxed-rules'
class GHDLElaborate.FlagSynBinding
_name = 'syn-binding'
class GHDLElaborate.FlagVerbose
_name = 'v'
class GHDLElaborate.FlagWarnBinding
_name = 'warn-binding'
GHDLElaborate.GetGHDLAnalyze()
GHDLElaborate.GetGHDLElaborate()
GHDLElaborate.GetGHDLRun()
GHDLElaborate.GetReader()
GHDLElaborate.HasErrors
GHDLElaborate.HasWarnings
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 'ToolChains.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChains.GHDL.GHDL.CmdElaborate'>, <class 'ToolChains.GHDL.GHDL.CmdRun'>, <class 'ToolChains.GHDL.GHDL.FlagVerbose'>, <class 'ToolChains.GHDL.GHDL.FlagExplicit'>, <class 'ToolChains.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChains.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChains.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChains.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChains.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChains.GHDL.GHDL.FlagPSL'>, <class 'ToolChains.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChains.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChains.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChains.GHDL.GHDL.ArgTopLevel'>]
GHDLElaborate.Path
GHDLElaborate.ReadUntilBoundary(indent=0)
GHDLElaborate.RunOptions = [<class 'ToolChains.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChains.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.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 ToolChains.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.FlagExplicit
_name = 'fexplicit'
class GHDLRun.FlagMultiByteComments
_name = 'mb-comments'
class GHDLRun.FlagNoVitalChecks
_name = 'no-vital-checks'
class GHDLRun.FlagPSL
_name = 'fpsl'
class GHDLRun.FlagRelaxedRules
_name = 'frelaxed-rules'
class GHDLRun.FlagSynBinding
_name = 'syn-binding'
class GHDLRun.FlagVerbose
_name = 'v'
class GHDLRun.FlagWarnBinding
_name = 'warn-binding'
GHDLRun.GetGHDLAnalyze()
GHDLRun.GetGHDLElaborate()
GHDLRun.GetGHDLRun()
GHDLRun.GetReader()
GHDLRun.HasErrors
GHDLRun.HasWarnings
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 'ToolChains.GHDL.GHDL.CmdAnalyze'>, <class 'ToolChains.GHDL.GHDL.CmdElaborate'>, <class 'ToolChains.GHDL.GHDL.CmdRun'>, <class 'ToolChains.GHDL.GHDL.FlagVerbose'>, <class 'ToolChains.GHDL.GHDL.FlagExplicit'>, <class 'ToolChains.GHDL.GHDL.FlagRelaxedRules'>, <class 'ToolChains.GHDL.GHDL.FlagWarnBinding'>, <class 'ToolChains.GHDL.GHDL.FlagNoVitalChecks'>, <class 'ToolChains.GHDL.GHDL.FlagMultiByteComments'>, <class 'ToolChains.GHDL.GHDL.FlagSynBinding'>, <class 'ToolChains.GHDL.GHDL.FlagPSL'>, <class 'ToolChains.GHDL.GHDL.SwitchCompilerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchAssemblerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchLinkerOption'>, <class 'ToolChains.GHDL.GHDL.SwitchIEEEFlavor'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLVersion'>, <class 'ToolChains.GHDL.GHDL.SwitchVHDLLibrary'>, <class 'ToolChains.GHDL.GHDL.ArgListLibraryReferences'>, <class 'ToolChains.GHDL.GHDL.ArgSourceFile'>, <class 'ToolChains.GHDL.GHDL.ArgTopLevel'>]
GHDLRun.Path
GHDLRun.ReadUntilBoundary(indent=0)
GHDLRun.RunOptions = [<class 'ToolChains.GHDL.GHDL.SwitchIEEEAsserts'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchVCDGZWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchFastWaveform'>, <class 'ToolChains.GHDL.GHDL.SwitchGHDLWaveform'>, <class 'ToolChains.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.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

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