lnis-uofu / OpenFPGA

An Open-source FPGA IP Generator
https://openfpga.readthedocs.io/en/master/
MIT License
816 stars 160 forks source link

Do all parameters in task.conf file work? #1749

Closed chengquan closed 2 months ago

chengquan commented 2 months ago

Hi Xifan,

Many thanks to your excellent project. May I know if all parameters in task.conf file work? For instance, for the [General] part in .conf file, the parameter “verilog_output” seems to be unnecessary. It seems that the variable “vpr_fpga_verilog” relevant to “verilog_output” is not used in the environment. Did I get it wrong?

In constrast, the parameter "openfpga_verilog_output_dir" is used in the generated "*.openfpga" file to generate verilog file with the command "write_fabric_verilog". After reading your code, I am a little bit confused about this part. Could you plz explain it?

Thanks, Quan

tangxifan commented 2 months ago

@chengquan Thank you for your interests. Indeed, there are redundant parameters in the task configuration file. during the aggressive upgrades in the user interface (when we switch from command-line options to the openfpga shell). But now, it is stable.

Regarding the general settings

The recommended way

You can specify any parameters in your openfpga shell script .openfpga to customize your options. For example,

As such, you can manipulate your flow in details.

chengquan commented 2 months ago

Got it. I appreciate your help. have a nice day.