chiptools.wrappers.synthesiser module

class chiptools.wrappers.synthesiser.Synthesiser(project, executables, user_paths)[source]

Bases: chiptools.wrappers.toolchains.ToolchainBase

The Synthesiser class provides a base class for all synthesis tool wrapper implementations. Common functions used by all synthesis tool wrappers are implemented in this class.

storeOutputs(workingDirectory, archiveName)[source]

Add all files found in the supplied workingDirectory to an archive with the name archiveName. A PackageBuilder instance is used to manage the creation of the archive file.

synthesise(library, entity, fpga_part=None)[source]

Synthesise the target entity in the given library for the currently loaded project.

chiptools.wrappers.synthesiser.throws_synthesis_exception(fn)[source]

A decorator to automatically catch and format synthesis exceptions raised by synthesis functions. The decorator will call the given function and log simulator specific exceptions before throwing them to the caller.