errors · checkdewfpga bit / sim / flash / install, before anything runs
ERROR [unknown-option]: unknown option: --x; dewfpga bit takes a module or a file name, nothing else. Fix: dewfpga bit [top] (dewfpga --help lists the commands).
You typed dewfpga bit --x, or dewfpga install something.
ERROR [unknown-option]: unknown option: --x; dewfpga bit takes a module or a file name, nothing else. Fix: dewfpga bit [top] (dewfpga --help lists the commands). https://nosey-dewdrop.github.io/dewfpga/errors/unknown-option/
ERROR [unknown-option]: dewfpga install takes no arguments. Fix: dewfpga install (FPGA_HOME=/elsewhere dewfpga install to relocate). https://nosey-dewdrop.github.io/dewfpga/errors/unknown-option/
Why does it happen?
sim, bit, flash and clean take one optional argument, the top module (dewfpga bit counter) or its file (dewfpga bit counter.sv); there are no flags. install takes none; where the tools go is set with the environment variable FPGA_HOME.
What is the fix?
Drop the option. A longer simulation timeout is an environment variable too:
SIM_TIMEOUT=600 dewfpga sim