pyIPCMI.ToolChain.Mentor.ModelSim

Exceptions

Classes

Functions

exception pyIPCMI.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 pyIPCMI.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 pyIPCMI.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
ModelSimAlteraStarterEdition = 6
ModelSimIntelEdition = 7
ModelSimIntelStarterEdition = 8
QuestaSim = 9
class pyIPCMI.ToolChain.Mentor.ModelSim.Configuration(host: pyIPCMI.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 pyIPCMI.

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]

Virtual method. Overwrite to execute post-configuration tasks.

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.

classmethod 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 = {'ALL': {'INSTALL.Vendor.Tool': {'Version': '1.0'}}, 'Darwin': {'INSTALL.Vendor.Tool': {'BinaryDirectory': '${InstallationDirectory}/bin', 'InstallationDirectory': '${INSTALL.Vendor:InstallationDirectory}/${Version}/Tool'}}, 'Linux': {'INSTALL.Vendor.Tool': {'BinaryDirectory': '${InstallationDirectory}/bin', 'InstallationDirectory': '${INSTALL.Vendor:InstallationDirectory}/${Version}/Tool'}}, 'Windows': {'INSTALL.Vendor.Tool': {'BinaryDirectory': '${InstallationDirectory}/bin', 'InstallationDirectory': '${INSTALL.Vendor:InstallationDirectory}/${Version}/Tool/'}}}
class pyIPCMI.ToolChain.Mentor.ModelSim.ModelSimPEConfiguration(host: pyIPCMI.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': {'Edition': 'ModelSim PE', 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/win32pe'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim PE', 'SectionName': ('%{PathWithRoot}#${Version}', None), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'Version': '10.5c'}}}

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

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.

classmethod 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()

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)

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 pyIPCMI.ToolChain.Mentor.ModelSim.ModelSimSE32Configuration(host: pyIPCMI.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': {'Edition': 'ModelSim SE 32-bit', 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/win32'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim SE', 'SectionName': ('%{PathWithRoot}#${Version}', None), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'Version': '10.5c'}}}

The template for the configuration sections represented as nested dictionaries.

_ConfigureEdition()[source]
CheckDependency()

Check if general Mentor Graphics support is configured in pyIPCMI.

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.

classmethod 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()

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)

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 pyIPCMI.ToolChain.Mentor.ModelSim.ModelSimSE64Configuration(host: pyIPCMI.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 = {'Linux': {'INSTALL.Mentor.ModelSimSE64': {'Edition': 'ModelSim SE 64-bit', 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/linux_x86_64'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim_SE', 'SectionName': ('%{PathWithRoot}#${Version}', None), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'Version': '10.5c'}}, 'Windows': {'INSTALL.Mentor.ModelSimSE64': {'Edition': 'ModelSim SE 64-bit', 'BinaryDirectory': ('${${SectionName}:BinaryDirectory}', '${InstallationDirectory}/win64'), 'AdditionalVSimOptions': ('${${SectionName}:AdditionalVSimOptions}', ''), 'AdditionalVComOptions': ('${${SectionName}:AdditionalVComOptions}', ''), 'ToolInstallationName': 'ModelSim SE', 'SectionName': ('%{PathWithRoot}#${Version}', None), 'InstallationDirectory': ('${${SectionName}:InstallationDirectory}', '${INSTALL.Mentor:InstallationDirectory}/${ToolInstallationName}/${Version}'), 'Version': '10.5c'}}}

The template for the configuration sections represented as nested dictionaries.

_ConfigureEdition()[source]
CheckDependency()

Check if general Mentor Graphics support is configured in pyIPCMI.

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.

classmethod 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()

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)

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 pyIPCMI.ToolChain.Mentor.ModelSim.Selector(host: pyIPCMI.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 pyIPCMI.ToolChain.Mentor.ModelSim.ModelSim(platform, dryrun, binaryDirectoryPath, version, logger=None)[source]

Inheritance

Inheritance diagram of ModelSim

Members

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

Inheritance

Inheritance diagram of VHDLLibraryTool

Members

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

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

HasWarnings

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

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.

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

Inheritance

Inheritance diagram of VHDLCompiler

Members

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

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

HasWarnings

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

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.

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

Inheritance

Inheritance diagram of VHDLSimulator

Members

class Executable[source]

The executable to launch.

_value = None
class FlagQuietMode[source]

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

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

Run simulation in batch mode.

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

Run simulation in GUI mode.

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

Specify a Tcl batch script for the batch mode.

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

Run simulation in command line mode.

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

Specify the used ‘modelsim.ini’ file.

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

Enabled optimization while elaborating the design.

_name = 'vopt'
class FlagDisableOptimization[source]

Disabled optimization while elaborating the design.

_name = 'novopt'
class FlagEnableOptimizationVerbosity[source]

Enabled optimization while elaborating the design.

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

Set simulation time resolution.

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

The top-level for simulation.

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

Specify all accepted command line arguments

Simulate()[source]

Start a simulation.

GetReader()
HasErrors

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

HasWarnings

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

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.

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

Functions

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