pyIPCMI.Compiler.QuartusCompiler.py

Classes

  • Compiler: Base class for all Compiler classes.
class pyIPCMI.Compiler.QuartusCompiler.Compiler(host, dryRun, noCleanUp)[source]

Inheritance

Inheritance diagram of Compiler

Members

TOOL_CHAIN = 20
TOOL = ('QMAP', 'Quartus Map', 'Altera Quartus Map (quartus_map)')
_PrepareCompiler()[source]

Prepare for compilation. This method forwards to Base.Compiler.Compiler._Prepare(), which is inherited from Base.Shared.Shared.

RunAll(fqnList, *args, **kwargs)[source]

Run a list of netlist compilations. Expand wildcards to all selected netlists.

Run(netlist, board)[source]

Run a testbench.

_WriteSpecialSectionIntoConfig(device)[source]
_WriteQuartusProjectFile(netlist, device)[source]
_RunCompile(netlist)[source]
Directories
DryRun
ENVIRONMENT = 2
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.

NoCleanUp
PrintCompileReportLine(testObject, indent, nameColumnWidth)[source]
PrintOverallCompileReport()[source]
TryRun(netlist, *args, **kwargs)[source]

Try to run a testbench. Skip skipable exceptions by printing the error and its cause.

VHDLVersion
VHDL_VERSION = 93
_AddFileListFile(fileListFilePath)
_AddRulesFiles(rulesFilePath)[source]
_CreatepyIPCMIProject(projectName, board)
_ExecuteCopyTasks(tasks, text)[source]
_ExecuteDeleteTasks(tasks, text)[source]
_ExecuteReplaceTasks(tasks, text)[source]
_GetHDLParameters(configSectionName)

Parse option ‘HDLParameters’ for Verilog Parameters / VHDL Generics.

_GetTimeDeltaSinceLastEvent()
_ParseCopyRules(rawList, copyTasks, text)[source]
_ParseDeleteRules(rawList, deleteTasks, text)[source]
_ParseReplaceRules(rawList, replaceTasks, text)[source]
_Prepare()
_PrepareCompilerEnvironment(device)[source]
_PrepareEnvironment()
_PrepareEnvironment_ChangeDirectory()

Change working directory to temporary path ‘temp/<tool>’.

_PrepareEnvironment_CreatingDirectory()
_PrepareEnvironment_PurgeDirectory()
_RunPostCopy(netlist)[source]
_RunPostDelete(netlist)[source]
_RunPostReplace(netlist)[source]
_RunPreCopy(netlist)[source]
_RunPreReplace(netlist)[source]
_TryLog(*args, condition=True, **kwargs)
pyIPCMIProject