ToolChain.Mentor.ModelSim

Exceptions

Classes

Functions

exception ToolChain.Mentor.ModelSim.ModelSimException(message='')[source]

Inheritance

Inheritance diagram of ModelSimException

Members

__init__(message='')

Exception initializer

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

Returns the exception’s message text.

args
class ToolChain.Mentor.ModelSim.MentorModelSimPEEditions(name, section)[source]

Enumeration of all ModelSim editions provided by Mentor Graphics itself.

Inheritance

Inheritance diagram of MentorModelSimPEEditions

Members

ModelSimPE = 1
ModelSimPEEducation = 2
class ToolChain.Mentor.ModelSim.ModelSimEditions(name, section)[source]

Enumeration of all ModelSim editions provided by Mentor Graphics inclusive editions shipped by other vendors.

Inheritance

Inheritance diagram of ModelSimEditions

Members

ModelSimPE = 1
ModelSimDE = 2
ModelSimSE32 = 3
ModelSimSE64 = 4
ModelSimAlteraEdition = 5
ModelSimIntelEdition = 6
QuestaSim = 7
class ToolChain.Mentor.ModelSim.Configuration(host: Base.IHost)[source]

Inheritance

Inheritance diagram of Configuration

Members

_vendor = 'Mentor'

The name of the tools vendor.

_toolName = 'Mentor ModelSim'

The name of the tool.

_multiVersionSupport = True

Mentor ModelSim supports multiple versions installed on the same system.

CheckDependency()[source]

Check if general Mentor Graphics support is configured in PoC.

ConfigureForAll()[source]

Configuration routine for Mentor Graphics ModelSim on all supported platforms.

  1. Ask if ModelSim is installed.
  • Pass → skip this configuration. Don’t change existing settings.
  • Yes → collect installation information for ModelSim.
  • No → clear the ModelSim configuration section.
  1. Ask for ModelSim’s version.
  2. Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
  3. Ask for ModelSim’s installation directory.
_GetModelSimVersion(binPath)[source]
_CheckModelSimVersion(binPath, version)[source]
RunPostConfigurationTasks()[source]
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)
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.

_ConfigureBinaryDirectory()

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

_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.

_GetDefaultInstallationDirectory()[source]

Return unresolved default installation directory (str) from template.

Overwrite function in sub-class for automatic search of installation directory.

_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)
_section = 'INSTALL.Vendor.Tool'
_template = {'Windows': {'INSTALL.Vendor.Tool': {'BinaryDirectory': '${InstallationDirectory}/bin', 'InstallationDirectory': '${INSTALL.Vendor:InstallationDirectory}/${Version}/Tool/'}}, 'Darwin': {'INSTALL.Vendor.Tool': {'BinaryDirectory': '${InstallationDirectory}/bin', 'InstallationDirectory': '${INSTALL.Vendor:InstallationDirectory}/${Version}/Tool'}}, 'ALL': {'INSTALL.Vendor.Tool': {'Version': '1.0'}}, 'Linux': {'INSTALL.Vendor.Tool': {'BinaryDirectory': '${InstallationDirectory}/bin', 'InstallationDirectory': '${INSTALL.Vendor:InstallationDirectory}/${Version}/Tool'}}}
class ToolChain.Mentor.ModelSim.ModelSimPEConfiguration(host: Base.IHost)[source]

Inheritance

Inheritance diagram of ModelSimPEConfiguration

Members

_toolName = 'Mentor ModelSim PE'

The name of the tool.

_section = 'INSTALL.Mentor.ModelSimPE'

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

_template = {'Windows': {'INSTALL.Mentor.ModelSimPE': {'SectionName': ('%{PathWithRoot}#${Version}', None), 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/win32pe'), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'Version': '10.5c', 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim PE', 'Edition': 'ModelSim PE'}}}

The template for the configuration sections represented as nested dictionaries.

_ConfigureEdition()[source]

Configure ModelSim PE for Mentor Graphics.

CheckDependency()

Check if general Mentor Graphics support is configured in PoC.

ClearSection(writeWarnings=False)

Clear the configuration section associated to this Configuration class.

ConfigureForAll()

Configuration routine for Mentor Graphics ModelSim on all supported platforms.

  1. Ask if ModelSim is installed.
  • Pass → skip this configuration. Don’t change existing settings.
  • Yes → collect installation information for ModelSim.
  • No → clear the ModelSim configuration section.
  1. Ask for ModelSim’s version.
  2. Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
  3. Ask for ModelSim’s installation directory.
ConfigureForDarwin()

Start the configuration procedure for Darwin.

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

ConfigureForLinux()

Start the configuration procedure for Linux.

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

ConfigureForWindows()

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)

Return all section names for this configuration.

Host

Return the hosting object.

IsConfigured()

Return true if the configurations section is configured

IsSupportedPlatform()

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)
PrepareSections(warningWasWritten, writeWarnings=True)
PrepareVersionedSections(writeWarnings=False)
RunPostConfigurationTasks()
SectionName

Return the configuration’s section name.

State

Return the configuration state.

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

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.

_CheckModelSimVersion(binPath, version)
_ConfigureBinaryDirectory()

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

_ConfigureInstallationDirectory()

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.

_GetDefaultInstallationDirectory()

Return unresolved default installation directory (str) from template.

Overwrite function in sub-class for automatic search of installation directory.

_GetDefaultOptionValue(optionName)
_GetDefaultVersion()

Returns unresolved default version (str) from template.

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

_GetModelSimVersion(binPath)
_PrintAvailableEditions(editions, selectedEdition)

Print all available editions and return the selected index.

_TestDefaultInstallPath(defaults)

Helper function for automatic search of installation directory.

_TryLog(*args, condition=True, **kwargs)
_multiVersionSupport = True
_vendor = 'Mentor'
class ToolChain.Mentor.ModelSim.ModelSimSE32Configuration(host: Base.IHost)[source]

Inheritance

Inheritance diagram of ModelSimSE32Configuration

Members

_toolName = 'Mentor ModelSim SE 32-bit'

The name of the tool.

_section = 'INSTALL.Mentor.ModelSimSE32'

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

_template = {'Windows': {'INSTALL.Mentor.ModelSimSE32': {'SectionName': ('%{PathWithRoot}#${Version}', None), 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/win32'), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'Version': '10.5c', 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim SE', 'Edition': 'ModelSim SE 32-bit'}}}

The template for the configuration sections represented as nested dictionaries.

_ConfigureEdition()[source]
CheckDependency()

Check if general Mentor Graphics support is configured in PoC.

ClearSection(writeWarnings=False)

Clear the configuration section associated to this Configuration class.

ConfigureForAll()

Configuration routine for Mentor Graphics ModelSim on all supported platforms.

  1. Ask if ModelSim is installed.
  • Pass → skip this configuration. Don’t change existing settings.
  • Yes → collect installation information for ModelSim.
  • No → clear the ModelSim configuration section.
  1. Ask for ModelSim’s version.
  2. Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
  3. Ask for ModelSim’s installation directory.
ConfigureForDarwin()

Start the configuration procedure for Darwin.

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

ConfigureForLinux()

Start the configuration procedure for Linux.

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

ConfigureForWindows()

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)

Return all section names for this configuration.

Host

Return the hosting object.

IsConfigured()

Return true if the configurations section is configured

IsSupportedPlatform()

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)
PrepareSections(warningWasWritten, writeWarnings=True)
PrepareVersionedSections(writeWarnings=False)
RunPostConfigurationTasks()
SectionName

Return the configuration’s section name.

State

Return the configuration state.

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

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.

_CheckModelSimVersion(binPath, version)
_ConfigureBinaryDirectory()

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

_ConfigureInstallationDirectory()

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.

_GetDefaultInstallationDirectory()

Return unresolved default installation directory (str) from template.

Overwrite function in sub-class for automatic search of installation directory.

_GetDefaultOptionValue(optionName)
_GetDefaultVersion()

Returns unresolved default version (str) from template.

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

_GetModelSimVersion(binPath)
_PrintAvailableEditions(editions, selectedEdition)

Print all available editions and return the selected index.

_TestDefaultInstallPath(defaults)

Helper function for automatic search of installation directory.

_TryLog(*args, condition=True, **kwargs)
_multiVersionSupport = True
_vendor = 'Mentor'
class ToolChain.Mentor.ModelSim.ModelSimSE64Configuration(host: Base.IHost)[source]

Inheritance

Inheritance diagram of ModelSimSE64Configuration

Members

_toolName = 'Mentor ModelSim SE 64-bit'

The name of the tool.

_section = 'INSTALL.Mentor.ModelSimSE64'

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

_template = {'Windows': {'INSTALL.Mentor.ModelSimSE64': {'SectionName': ('%{PathWithRoot}#${Version}', None), 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/win64'), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'Version': '10.5c', 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim SE', 'Edition': 'ModelSim SE 64-bit'}}, 'Linux': {'INSTALL.Mentor.ModelSimSE64': {'SectionName': ('%{PathWithRoot}#${Version}', None), 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/linux_x86_64'), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'Version': '10.5c', 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim_SE', 'Edition': 'ModelSim SE 64-bit'}}}

The template for the configuration sections represented as nested dictionaries.

_ConfigureEdition()[source]
CheckDependency()

Check if general Mentor Graphics support is configured in PoC.

ClearSection(writeWarnings=False)

Clear the configuration section associated to this Configuration class.

ConfigureForAll()

Configuration routine for Mentor Graphics ModelSim on all supported platforms.

  1. Ask if ModelSim is installed.
  • Pass → skip this configuration. Don’t change existing settings.
  • Yes → collect installation information for ModelSim.
  • No → clear the ModelSim configuration section.
  1. Ask for ModelSim’s version.
  2. Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
  3. Ask for ModelSim’s installation directory.
ConfigureForDarwin()

Start the configuration procedure for Darwin.

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

ConfigureForLinux()

Start the configuration procedure for Linux.

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

ConfigureForWindows()

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)

Return all section names for this configuration.

Host

Return the hosting object.

IsConfigured()

Return true if the configurations section is configured

IsSupportedPlatform()

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)
PrepareSections(warningWasWritten, writeWarnings=True)
PrepareVersionedSections(writeWarnings=False)
RunPostConfigurationTasks()
SectionName

Return the configuration’s section name.

State

Return the configuration state.

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

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.

_CheckModelSimVersion(binPath, version)
_ConfigureBinaryDirectory()

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

_ConfigureInstallationDirectory()

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.

_GetDefaultInstallationDirectory()

Return unresolved default installation directory (str) from template.

Overwrite function in sub-class for automatic search of installation directory.

_GetDefaultOptionValue(optionName)
_GetDefaultVersion()

Returns unresolved default version (str) from template.

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

_GetModelSimVersion(binPath)
_PrintAvailableEditions(editions, selectedEdition)

Print all available editions and return the selected index.

_TestDefaultInstallPath(defaults)

Helper function for automatic search of installation directory.

_TryLog(*args, condition=True, **kwargs)
_multiVersionSupport = True
_vendor = 'Mentor'
class ToolChain.Mentor.ModelSim.Selector(host: Base.IHost)[source]

Inheritance

Inheritance diagram of Selector

Members

_toolName = 'ModelSim'
Select()[source]
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.

ToolName
_Ask(question, default, beforeDefault='', afterDefault='', indent=1)
_AskSelection(editions, defaultEdition)
_AskYes_NoPass(question, indent=1)

Ask a yes/NO/pass question.

_Ask_YesNoPass(question, indent=1)

Ask a YES/no/pass question.

_GetConfiguredEditions(editions)

Return all configured editions.

_PrintAvailableEditions(editions, selectedEdition)

Print all available editions and return the selected index.

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

Inheritance

Inheritance diagram of ModelSim

Members

GetVHDLLibraryTool()[source]
GetVHDLCompiler()[source]
GetSimulator()[source]
class ToolChain.Mentor.ModelSim.VHDLLibraryTool(toolchain: ToolChain.ToolMixIn)[source]

Inheritance

Inheritance diagram of VHDLLibraryTool

Members

class Executable[source]
class VHDLLibraryTool.SwitchLibraryName[source]
VHDLLibraryTool.Parameters = [<class 'ToolChain.Mentor.ModelSim.VHDLLibraryTool.Executable'>, <class 'ToolChain.Mentor.ModelSim.VHDLLibraryTool.SwitchLibraryName'>]
VHDLLibraryTool.CreateLibrary()[source]
VHDLLibraryTool.GetReader()
VHDLLibraryTool.HasErrors

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

VHDLLibraryTool.HasWarnings

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

VHDLLibraryTool.Log(entry, condition=True)

Write an entry to the local logger.

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

Return the local logger instance.

VHDLLibraryTool.Path
VHDLLibraryTool.ReadUntilBoundary(indent=0)
VHDLLibraryTool.Send(line, end='\n')
VHDLLibraryTool.SendBoundary()
VHDLLibraryTool.StartProcess(parameterList)
VHDLLibraryTool.Terminate()
VHDLLibraryTool._POC_BOUNDARY = '====== POC BOUNDARY ======'
VHDLLibraryTool._TryLog(*args, condition=True, **kwargs)
class ToolChain.Mentor.ModelSim.VHDLCompiler(toolchain: ToolChain.ToolMixIn)[source]

Inheritance

Inheritance diagram of VHDLCompiler

Members

class Executable[source]
_value = None
class VHDLCompiler.FlagTime[source]
_name = 'time'
_value = None
class VHDLCompiler.FlagExplicit[source]
_name = 'explicit'
_value = None
class VHDLCompiler.FlagQuietMode[source]
_name = 'quiet'
_value = None
class VHDLCompiler.SwitchModelSimIniFile[source]
_name = 'modelsimini'
_value = None
class VHDLCompiler.FlagRangeCheck[source]
_name = 'rangecheck'
_value = None
class VHDLCompiler.SwitchCoverage[source]
_name = 'cover'
class VHDLCompiler.FlagEnableFocusedExpressionCoverage[source]
_name = 'coverfec'
class VHDLCompiler.FlagDisableFocusedExpressionCoverage[source]
_name = 'nocoverfec'
class VHDLCompiler.FlagEnableRapidExpressionCoverage[source]
_name = 'coverrec'
class VHDLCompiler.FlagDisableRapidExpressionCoverage[source]
_name = 'nocoverrec'
class VHDLCompiler.FlagEnableRecognitionOfImplicitFSMResetTransitions[source]
_name = 'fsmresettrans'
class VHDLCompiler.FlagDisableRecognitionOfImplicitFSMResetTransitions[source]
_name = 'nofsmresettrans'
class VHDLCompiler.FlagEnableRecognitionOfSingleBitFSMState[source]
_name = 'fsmsingle'
class VHDLCompiler.FlagDisableRecognitionOfSingleBitFSMState[source]
_name = 'nofsmsingle'
class VHDLCompiler.FlagEnableRecognitionOfImplicitFSMTransitions[source]
_name = 'fsmimplicittrans'
class VHDLCompiler.FlagDisableRecognitionOfImplicitFSMTransitions[source]
_name = 'nofsmimplicittrans'
class VHDLCompiler.SwitchFSMVerbosityLevel[source]
_name = 'fsmverbose'
class VHDLCompiler.FlagReportAsNote[source]
_name = 'note'
_value = None
class VHDLCompiler.FlagReportAsError[source]
_name = 'error'
_value = None
class VHDLCompiler.FlagReportAsWarning[source]
_name = 'warning'
_value = None
class VHDLCompiler.FlagReportAsFatal[source]
_name = 'fatal'
_value = None
class VHDLCompiler.FlagRelaxLanguageChecks[source]
_name = 'permissive'
class VHDLCompiler.FlagForceLanguageChecks[source]
_name = 'pedanticerrors'
class VHDLCompiler.SwitchVHDLVersion[source]
_pattern = '-{0}'
_value = None
class VHDLCompiler.ArgLogFile[source]
_name = 'l'
_value = None
class VHDLCompiler.SwitchVHDLLibrary[source]
_name = 'work'
_value = None
class VHDLCompiler.ArgSourceFile[source]
_value = None
VHDLCompiler.Parameters = [<class 'ToolChain.Mentor.ModelSim.VHDLCompiler.Executable'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagTime'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagExplicit'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagQuietMode'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.SwitchModelSimIniFile'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagRangeCheck'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.SwitchCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagEnableFocusedExpressionCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagDisableFocusedExpressionCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagEnableRapidExpressionCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagDisableRapidExpressionCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagEnableRecognitionOfImplicitFSMResetTransitions'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagDisableRecognitionOfImplicitFSMResetTransitions'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagEnableRecognitionOfSingleBitFSMState'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagDisableRecognitionOfSingleBitFSMState'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagEnableRecognitionOfImplicitFSMTransitions'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagDisableRecognitionOfImplicitFSMTransitions'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.SwitchFSMVerbosityLevel'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagReportAsNote'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagReportAsError'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagReportAsWarning'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagReportAsFatal'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagRelaxLanguageChecks'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.FlagForceLanguageChecks'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.SwitchVHDLVersion'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.ArgLogFile'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.SwitchVHDLLibrary'>, <class 'ToolChain.Mentor.ModelSim.VHDLCompiler.ArgSourceFile'>]
VHDLCompiler.Compile()[source]
VHDLCompiler.GetTclCommand()[source]
VHDLCompiler.GetReader()
VHDLCompiler.HasErrors

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

VHDLCompiler.HasWarnings

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

VHDLCompiler.Log(entry, condition=True)

Write an entry to the local logger.

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

Return the local logger instance.

VHDLCompiler.Path
VHDLCompiler.ReadUntilBoundary(indent=0)
VHDLCompiler.Send(line, end='\n')
VHDLCompiler.SendBoundary()
VHDLCompiler.StartProcess(parameterList)
VHDLCompiler.Terminate()
VHDLCompiler._POC_BOUNDARY = '====== POC BOUNDARY ======'
VHDLCompiler._TryLog(*args, condition=True, **kwargs)
class ToolChain.Mentor.ModelSim.VHDLSimulator(toolchain: ToolChain.ToolMixIn)[source]

Inheritance

Inheritance diagram of VHDLSimulator

Members

class Executable[source]

The executable to launch.

_value = None
class VHDLSimulator.FlagQuietMode[source]

Run simulation in quiet mode. (Don’t show ‘Loading...’ messages.

_name = 'quiet'
_value = None
class VHDLSimulator.FlagBatchMode[source]

Run simulation in batch mode.

_name = 'batch'
_value = None
class VHDLSimulator.FlagGuiMode[source]

Run simulation in GUI mode.

_name = 'gui'
_value = None
class VHDLSimulator.SwitchBatchCommand[source]

Specify a Tcl batch script for the batch mode.

_name = 'do'
_value = None
class VHDLSimulator.FlagCommandLineMode[source]

Run simulation in command line mode.

_name = 'c'
_value = None
class VHDLSimulator.SwitchModelSimIniFile[source]

Specify the used ‘modelsim.ini’ file.

_name = 'modelsimini'
_value = None
class VHDLSimulator.FlagEnableOptimization[source]

Enabled optimization while elaborating the design.

_name = 'vopt'
class VHDLSimulator.FlagDisableOptimization[source]

Disabled optimization while elaborating the design.

_name = 'novopt'
class VHDLSimulator.FlagEnableOptimizationVerbosity[source]

Enabled optimization while elaborating the design.

_name = 'vopt_verbose'
class VHDLSimulator.FlagEnableKeepAssertionCountsForCoverage[source]
_name = 'assertcover'
class VHDLSimulator.FlagDisableKeepAssertionCountsForCoverage[source]
_name = 'noassertcover'
class VHDLSimulator.FlagEnableCoverage[source]
_name = 'coverage'
class VHDLSimulator.FlagDisableCoverage[source]
_name = 'nocoverage'
class VHDLSimulator.FlagEnablePSL[source]
_name = 'psl'
class VHDLSimulator.FlagDisablePSL[source]
_name = 'nopsl'
class VHDLSimulator.FlagEnableFSMDebugging[source]
_name = 'fsmdebug'
class VHDLSimulator.FlagReportAsNote[source]
_name = 'note'
_value = None
class VHDLSimulator.FlagReportAsError[source]
_name = 'error'
_value = None
class VHDLSimulator.FlagReportAsWarning[source]
_name = 'warning'
_value = None
class VHDLSimulator.FlagReportAsFatal[source]
_name = 'fatal'
_value = None
class VHDLSimulator.FlagRelaxLanguageChecks[source]
_name = 'permissive'
class VHDLSimulator.FlagForceLanguageChecks[source]
_name = 'pedanticerrors'
class VHDLSimulator.SwitchTimeResolution[source]

Set simulation time resolution.

_name = 't'
_value = None
class VHDLSimulator.ArgLogFile[source]
_name = 'l'
_value = None
class VHDLSimulator.ArgKeepStdOut[source]
_name = 'keepstdout'
class VHDLSimulator.ArgVHDLLibraryName[source]
_name = 'lib'
_value = None
class VHDLSimulator.ArgOnFinishMode[source]
_name = 'onfinish'
_value = None
class VHDLSimulator.SwitchTopLevel[source]

The top-level for simulation.

_value = None
VHDLSimulator.Parameters = [<class 'ToolChain.Mentor.ModelSim.VHDLSimulator.Executable'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagQuietMode'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagBatchMode'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagGuiMode'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.SwitchBatchCommand'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagCommandLineMode'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.SwitchModelSimIniFile'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagEnableOptimization'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagDisableOptimization'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagEnableOptimizationVerbosity'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagEnableKeepAssertionCountsForCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagDisableKeepAssertionCountsForCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagEnableCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagDisableCoverage'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagEnablePSL'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagDisablePSL'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagEnableFSMDebugging'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagReportAsNote'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagReportAsError'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagReportAsWarning'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagReportAsFatal'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagRelaxLanguageChecks'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.FlagForceLanguageChecks'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.ArgLogFile'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.ArgKeepStdOut'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.ArgVHDLLibraryName'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.SwitchTimeResolution'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.ArgOnFinishMode'>, <class 'ToolChain.Mentor.ModelSim.VHDLSimulator.SwitchTopLevel'>]

Specify all accepted command line arguments

VHDLSimulator.Simulate()[source]

Start a simulation.

VHDLSimulator.GetReader()
VHDLSimulator.HasErrors

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

VHDLSimulator.HasWarnings

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

VHDLSimulator.Log(entry, condition=True)

Write an entry to the local logger.

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

Return the local logger instance.

VHDLSimulator.Path
VHDLSimulator.ReadUntilBoundary(indent=0)
VHDLSimulator.Send(line, end='\n')
VHDLSimulator.SendBoundary()
VHDLSimulator.StartProcess(parameterList)
VHDLSimulator.Terminate()
VHDLSimulator._POC_BOUNDARY = '====== POC BOUNDARY ======'
VHDLSimulator._TryLog(*args, condition=True, **kwargs)

Functions

ToolChain.Mentor.ModelSim.VLibFilter(gen)[source]
ToolChain.Mentor.ModelSim.VComFilter(gen)[source]
ToolChain.Mentor.ModelSim.VSimFilter(gen)[source]