diff --git a/hw/application_fpga/tools/run_pnr.sh b/hw/application_fpga/tools/run_pnr.sh new file mode 100755 index 0000000..3c069d1 --- /dev/null +++ b/hw/application_fpga/tools/run_pnr.sh @@ -0,0 +1,238 @@ +#!/bin/bash + +help() { + echo "Usage: $(basename $0) [OPTION]" + echo "Run multiple place and route threads with nextpnr-ice40" + echo "" + echo " --debug Debugging mode, output all data from nextpnr-ice40" + echo " --help Help, display this help and exit" + echo " --freq Set target frequency for design in MHz (might be overridden from value in synthesis file)" + echo " --log-file Set log output filename (default: $LOG_FILE)" + echo " --out-file Set place and route output filename (default: $OUT_FILE)" + echo " --package Set package type (default: $PACKAGE)" + echo " --pin-file Set pin file to use (default: $PIN_FILE)" + echo " --synth-file Set synthesis file to use (default: $SYNTH_FILE)" + echo " --timeout '