hlsfactory.flow_vitis

Module Contents

Classes

Functions

API

hlsfactory.flow_vitis.print_xml_element(node: xml.etree.ElementTree.Element) None[source]
hlsfactory.flow_vitis.auto_find_solutions(dir_path: pathlib.Path) list[pathlib.Path][source]
hlsfactory.flow_vitis.auto_find_synth_report(dir_path: pathlib.Path) pathlib.Path[source]
hlsfactory.flow_vitis.auto_find_multiple_synth_report(dir_path: pathlib.Path) list[pathlib.Path][source]
class hlsfactory.flow_vitis.DesignHLSSynthData[source]
clock_period: float = None
latency_best_cycles: int | None = None
latency_best_seconds: float | None = None
latency_average_cycles: int | None = None
latency_average_seconds: float | None = None
latency_worst_cycles: int | None = None
latency_worst_seconds: float | None = None
resources_lut_used: int = None
resources_ff_used: int = None
resources_dsp_used: int = None
resources_bram_used: int = None
resources_uram_used: int = None
classmethod parse_from_synth_report_file(fp: pathlib.Path) hlsfactory.flow_vitis.DesignHLSSynthData[source]
class hlsfactory.flow_vitis.VitisHLSDesign[source]
name: str = None
part: str = None
target_clock_period: float = None
version_vitis_hls: None | str = None
version_vivado: None | str = None
classmethod parse_from_synth_report_file(fp: pathlib.Path) hlsfactory.flow_vitis.VitisHLSDesign[source]
hlsfactory.flow_vitis.auto_find_exported_ip(dir_path: pathlib.Path) list[pathlib.Path][source]
hlsfactory.flow_vitis.check_build_files_exist(build_files: list[pathlib.Path]) None[source]
hlsfactory.flow_vitis.check_files_exist(files: list[pathlib.Path]) None[source]
hlsfactory.flow_vitis.warn_for_reset_flags(files: list[pathlib.Path], reset_flag_str: str = '-reset') None[source]
class hlsfactory.flow_vitis.VitisHLSSynthFlow(vitis_hls_bin: str | None = None, log_output: bool = False, log_execution_time: bool = True, env_var_xilinx_hls: str | None = None, env_var_xilinx_vivado: str | None = None)[source]

Bases: hlsfactory.framework.ToolFlow

name = 'VitisHLSSynthFlow'
execute(design: hlsfactory.framework.Design, timeout: float | None = None) list[hlsfactory.framework.Design][source]
class hlsfactory.flow_vitis.VitisHLSCosimSetupFlow(vitis_hls_bin: str | None = None, log_output: bool = False)[source]

Bases: hlsfactory.framework.ToolFlow

name = 'VitisHLSCosimSetupFlow'
execute(design: hlsfactory.framework.Design) list[hlsfactory.framework.Design][source]
class hlsfactory.flow_vitis.VitisHLSImplFlow(vitis_hls_bin: str | None = None, log_output: bool = False, env_var_xilinx_hls: str | None = None, env_var_xilinx_vivado: str | None = None)[source]

Bases: hlsfactory.framework.ToolFlow

name = 'VitisHLSImplFlow'
execute(design: hlsfactory.framework.Design, timeout: float | None = None) list[hlsfactory.framework.Design][source]
class hlsfactory.flow_vitis.VitisHLSImplReportFlow(vitis_hls_bin: str | None = None, vivado_bin: str | None = None, log_output: bool = False, env_var_xilinx_hls: str | None = None, env_var_xilinx_vivado: str | None = None)[source]

Bases: hlsfactory.framework.ToolFlow

name = 'VitisHLSImplReportFlow'
execute(design: hlsfactory.framework.Design, timeout: float | None) list[hlsfactory.framework.Design][source]
static parse_all_reports(design_dir: pathlib.Path) dict[str, dict][source]
static parse_power_report(design_dir: pathlib.Path) dict[source]
static parse_utilization_report(design_dir: pathlib.Path) dict[source]
static parse_timing_report(design_dir: pathlib.Path) dict[str, float | int | str][source]