The section describes the bare minimum usage of OpenFPGA
open_fpga_flow.py --top_module
Using this template I ran this command after source OpenFPGA shell file and setting environment variable
python3 open_fpga_flow.py k6_N10_40nm.xml and2.v --top_module and2
This command produces the error as follows
Traceback (most recent call last):
File "/home/arslan/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py", line 1060, in
main()
File "/home/arslan/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py", line 337, in main
validate_command_line_arguments()
File "/home/arslan/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py", line 478, in validate_command_line_arguments
args.openfpga_arch_file = os.path.abspath(args.openfpga_arch_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 399, in abspath
TypeError: expected str, bytes or os.PathLike object, not NoneType
I suspect there is an issue in the run_fpga_flow.py file or documentation needs to be updated.
Hi Everyone
I am following OpenFPGA documentation at this link and using the latest OpenFPGA build https://openfpga.readthedocs.io/en/master/manual/openfpga_flow/run_fpga_flow/
The section describes the bare minimum usage of OpenFPGA open_fpga_flow.py --top_module
Using this template I ran this command after source OpenFPGA shell file and setting environment variable python3 open_fpga_flow.py k6_N10_40nm.xml and2.v --top_module and2
This command produces the error as follows
Traceback (most recent call last): File "/home/arslan/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py", line 1060, in
main()
File "/home/arslan/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py", line 337, in main
validate_command_line_arguments()
File "/home/arslan/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py", line 478, in validate_command_line_arguments
args.openfpga_arch_file = os.path.abspath(args.openfpga_arch_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 399, in abspath
TypeError: expected str, bytes or os.PathLike object, not NoneType
I suspect there is an issue in the run_fpga_flow.py file or documentation needs to be updated.