hlsfactory.opt_dsl_frontend
¶
Module Contents¶
Classes¶
Functions¶
API¶
- hlsfactory.opt_dsl_frontend.parse_template(src_template: pathlib.Path) tuple[list[hlsfactory.opt_dsl_frontend.ArrayPartition], list[hlsfactory.opt_dsl_frontend.LoopOpt], str] [source]¶
- hlsfactory.opt_dsl_frontend.generate_opt_sources(array_partition_lines, loop_opt_lines, static_lines, random_sample: bool = False, random_sample_num: int = 10, random_sample_seed: int = 42) list[str] [source]¶
- class hlsfactory.opt_dsl_frontend.OptDSLFrontend(work_dir: pathlib.Path, random_sample: bool = False, random_sample_num: int = 10, random_sample_seed: int = 42, log_execution_time: bool = True)[source]¶
Bases:
hlsfactory.framework.Frontend
- name = 'OptDSLFrontend'¶
- execute(design: hlsfactory.framework.Design, timeout: float | None = None) list[hlsfactory.framework.Design] [source]¶
- class hlsfactory.opt_dsl_frontend.OptDSLPassthroughFrontend(work_dir: pathlib.Path)[source]¶
Bases:
hlsfactory.framework.Frontend
- name = 'OptDSLPassthroughFrontend'¶
- execute(design: hlsfactory.framework.Design, timeout: float | None = None) list[hlsfactory.framework.Design] [source]¶