ToolChain.Mentor.ModelSim¶
Exceptions
ModelSimException
: Base class for all tool specific exceptions
Classes
MentorModelSimPEEditions
: Enumeration of all ModelSim editions provided by Mentor Graphics itself.ModelSimEditions
: Enumeration of all ModelSim editions provided by Mentor Graphics inclusiveConfiguration
: Base class for all tool Configuration classes.ModelSimPEConfiguration
: Base class for all tool Configuration classes.ModelSimSE32Configuration
: Base class for all tool Configuration classes.ModelSimSE64Configuration
: Base class for all tool Configuration classes.Selector
: Base class for all Selector classes.ModelSim
: Undocumented.VHDLLibraryTool
: Represent an executable.VHDLCompiler
: Represent an executable.VHDLSimulator
: Represent an executable.
Functions
VLibFilter()
: Undocumented.VComFilter()
: Undocumented.VSimFilter()
: Undocumented.
-
exception
ToolChain.Mentor.ModelSim.
ModelSimException
(message='')[source]¶ Inheritance
Members
-
__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
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
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
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.
-
ConfigureForAll
()[source]¶ Configuration routine for Mentor Graphics ModelSim on all supported platforms.
- 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.
- Ask for ModelSim’s version.
- Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
- Ask for ModelSim’s installation directory.
-
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.
-
Host
¶ Return the hosting object.
-
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.
-
PrepareVersionedSections
(writeWarnings=False)¶
-
SectionName
¶ Return the configuration’s section name.
-
State
¶ Return the configuration state.
-
_Ask
(question, default, beforeDefault='', afterDefault='', indent=1)¶
-
_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 asPath
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.
-
_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
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.
-
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.
- 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.
- Ask for ModelSim’s version.
- Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
- 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 asPath
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
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.
-
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.
- 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.
- Ask for ModelSim’s version.
- Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
- 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 asPath
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
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.
-
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.
- 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.
- Ask for ModelSim’s version.
- Ask for ModelSim’s edition (PE, PE student, SE 32-bit, SE 64-bit).
- 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 asPath
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
Members
-
_toolName
= 'ModelSim'¶
-
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
Members
-
class
ToolChain.Mentor.ModelSim.
VHDLLibraryTool
(toolchain: ToolChain.ToolMixIn)[source]¶ Inheritance
Members
-
VHDLLibraryTool.
Parameters
= [<class 'ToolChain.Mentor.ModelSim.VHDLLibraryTool.Executable'>, <class 'ToolChain.Mentor.ModelSim.VHDLLibraryTool.SwitchLibraryName'>]¶
-
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
Members
-
class
VHDLCompiler.
FlagEnableRecognitionOfImplicitFSMResetTransitions
[source]¶ -
_name
= 'fsmresettrans'¶
-
-
class
VHDLCompiler.
FlagDisableRecognitionOfImplicitFSMResetTransitions
[source]¶ -
_name
= 'nofsmresettrans'¶
-
-
class
VHDLCompiler.
FlagEnableRecognitionOfImplicitFSMTransitions
[source]¶ -
_name
= 'fsmimplicittrans'¶
-
-
class
VHDLCompiler.
FlagDisableRecognitionOfImplicitFSMTransitions
[source]¶ -
_name
= 'nofsmimplicittrans'¶
-
-
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.
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
-
class
ToolChain.Mentor.ModelSim.
VHDLSimulator
(toolchain: ToolChain.ToolMixIn)[source]¶ Inheritance
Members
-
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.
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.
SwitchTimeResolution
[source]¶ Set simulation time resolution.
-
_name
= 't'¶
-
_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.
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)¶
-
class
Functions