hlsfactory.opt_dsl_frontend_intel

Module Contents

Classes

Functions

Data

API

class hlsfactory.opt_dsl_frontend_intel.ArrayPartition(array_settings: str)[source]

Initialization

get_flattened() list[source]
get_num_of_directives()[source]
append_directives(line)[source]
get_directives()[source]
class hlsfactory.opt_dsl_frontend_intel.LoopOpt(loop_settings)[source]

Initialization

get_flattened()[source]
append_parameters(line)[source]
append_directives(line)[source]
get_directives()[source]
get_num_of_parameters()[source]
get_num_of_directives()[source]
hlsfactory.opt_dsl_frontend_intel.parse_template(src_template: pathlib.Path) tuple[list[hlsfactory.opt_dsl_frontend_intel.ArrayPartition], list[hlsfactory.opt_dsl_frontend_intel.LoopOpt], str][source]
hlsfactory.opt_dsl_frontend_intel.gen_opt(array_partition_object_lists, loop_opt_object_lists)[source]
hlsfactory.opt_dsl_frontend_intel.get_array_partition_dic(lines: str) dict[str, str][source]
hlsfactory.opt_dsl_frontend_intel.get_loop_unroll_dic(lines: str) dict[str, str][source]
hlsfactory.opt_dsl_frontend_intel.get_pipeline_list(lines: str) list[str][source]
hlsfactory.opt_dsl_frontend_intel.get_kernel(hls_template: pathlib.Path)[source]
hlsfactory.opt_dsl_frontend_intel.polybench_header_text = ['#include <unistd.h> \n', '#include <string.h> \n', '#include <math.h> \n', '#include <HLS/stdio.h>...
hlsfactory.opt_dsl_frontend_intel.polybench_copy(source_dir: pathlib.Path, target_dir: pathlib.Path, kernel_name: str) None[source]
hlsfactory.opt_dsl_frontend_intel.generate_annotate_c(design_dir: pathlib.Path, array_partition_lines, loop_opt_lines, static_lines, work_dir: pathlib.Path, kernel_name: str, kernel_file: str, random_sample=False, random_sample_num=10) list[hlsfactory.framework.Design][source]
class hlsfactory.opt_dsl_frontend_intel.OptDSLFrontendIntel(work_dir: pathlib.Path, random_sample=False, random_sample_num=10)[source]

Bases: hlsfactory.framework.Frontend

name = 'OptDSLFrontendIntel'
execute(design: hlsfactory.framework.Design, timeout: float | None) list[hlsfactory.framework.Design][source]