3. Generators API
3.1. OpenFPGA Task Generator
- class generators.openfpga_task_gen.OpenfpgaTaskLauncher(template_file, output_dir='.', **kwargs)
Generate an OpenFPGA task file and run it with the framework.
- Parameters
template_file (str) – File name of the OpenFPGA-based template task.
output_dir (str, optional) – Output path name when running the task, usually refering to the
run_dir.device_layout (str, optional) – Specify the FPGA device layout.
channel_width (str, optional) – Specify the FPGA channel width.
abc_command (str, optional) – Specify the default ABC executable, usually between (abc or abc9).
lut_max_width (str, optional) – Specify arguments of the ABC
-lutoptions to improve the LUT mapping. Read the Yosys documentation for more details, typical formats are: <width> or <w1>:<w2>.
- Variables
- configure_task(**kwargs)
Generate the OpenFPGA-based configuration task file.