hwtBuildsystem.yosys.api package¶
Submodules¶
hwtBuildsystem.yosys.api.project module¶
- class hwtBuildsystem.yosys.api.project.YosysProject(executor: YosysExecutor, path: str, name: str)[source]¶
Bases:
SynthesisToolProjectAPI for controlling of the yosys project :note: The yosys does not have explicit project file, but in this context
it means the api for control of the files, parts and executing of design runs
- SUFFIX_TO_FILE_TYPE = {'.sv': '-sv2012', '.svh': '-sv2012', '.v': '-sv2012', '.vh': '-sv2012', '.vhd': '-vhdl2008'}¶
- setPart(part: LatticePart | IntelPart | XilinxPart | Tuple[str, str, str])[source]¶
- Parameters:
part – vendor specific tuple IntelPart(“Intel”, “Cyclone”, “EP1C12F256C6”), LaticePart(‘Lattice’, ‘iCE40’, ‘up5k’, ‘sg48’)