How can I get firtool output into a folder?

I tried firtool in the past and I was able to get one .v file per module.

However, I forgot how…

When I try the following, which should work according to firtool --help, I get:

$ bin/firtool --verilog -o=blah/ foo.fir
cannot open output file ‘blah/’: Is a directory

Try changing --verilog to --split-verilog

1 Like