Compiler.XCICompiler

Classes

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

Inheritance

Inheritance diagram of Compiler

Members

TOOL_CHAIN = 82
TOOL = ('XCI', 'Xilinx Vivado IP Catalog', 'Xilinx Vivado IP Catalog')
_PrepareCompiler()[source]
RunAll(fqnList, *args, **kwargs)[source]

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

Run(netlist, board)[source]
_WriteSpecialSectionIntoConfig(device)[source]
_RunCompile(netlist, device)[source]
_WriteTclFile(netlist, device)[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
PoCProject
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]
_CreatePoCProject(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)