Simulator.VivadoSimulator¶
Classes
Simulator
: Base class for all Simulator classes.
-
class
Simulator.VivadoSimulator.
Simulator
(host, dryRun, simulationSteps)[source]¶ Inheritance
Members
-
TOOL_CHAIN
= 82¶
-
TOOL
= ('XSIM', 'Xilinx xSim', 'Xilinx Vivado Simulator (xSim)')¶
-
Directories
¶
-
DryRun
¶
-
ENVIRONMENT
= 1¶
-
Host
¶
-
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.
-
PoCProject
¶
-
Run
(testbench, board, vhdlVersion, vhdlGenerics=None)[source]¶ Write the Testbench message line, create a PoCProject and add the first *.files file to it.
-
RunAll
(fqnList, *args, **kwargs)[source]¶ Run a list of testbenches. Expand wildcards to all selected testbenches.
-
TestSuite
¶
-
TryRun
(testbench, *args, **kwargs)[source]¶ Try to run a testbench. Skip skipable exceptions by printing the error and its cause.
-
VHDLVersion
¶
-
VHDL_VERSION
= 2008¶
-
_AddFileListFile
(fileListFilePath)¶
-
_CreatePoCProject
(projectName, board)¶
-
_GenerateXilinxProjectFileContent
(tool, vhdlVersion=93)¶
-
_GetHDLParameters
(configSectionName)¶ Parse option ‘HDLParameters’ for Verilog Parameters / VHDL Generics.
-
_GetTimeDeltaSinceLastEvent
()¶
-
_Prepare
()¶
-
_PrepareEnvironment
()¶
-
_PrepareEnvironment_ChangeDirectory
()¶ Change working directory to temporary path ‘temp/<tool>’.
-
_PrepareEnvironment_CreatingDirectory
()¶
-
_TryLog
(*args, condition=True, **kwargs)¶
-
_WriteXilinxProjectFile
(projectFilePath, tool, vhdlVersion=93)¶
-