- fprintf(stderr, "\n");
- fprintf(stderr, "Usage: %s [-V -S -Q -T -q] [-v <level>[-t] [-l <logfile>] [-o <outfile>] [-f <frontend>] [-h cmd] \\\n", argv[0]);
- fprintf(stderr, " %*s[{-s|-c} <scriptfile>] [-p <pass> [-p ..]] [-b <backend>] [-m <module_file>] [<infile> [..]]\n", int(strlen(argv[0])+1), "");
- fprintf(stderr, "\n");
- fprintf(stderr, " -Q\n");
- fprintf(stderr, " suppress printing of banner (copyright, disclaimer, version)\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -T\n");
- fprintf(stderr, " suppress printing of footer (log hash, version, timing statistics)\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -q\n");
- fprintf(stderr, " quiet operation. only write error messages to console\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -v <level>\n");
- fprintf(stderr, " print log headers up to level <level> to the console. (implies -q)\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -t\n");
- fprintf(stderr, " annotate all log messages with a time stamp\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -l logfile\n");
- fprintf(stderr, " write log messages to the specified file\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -o outfile\n");
- fprintf(stderr, " write the design to the specified file on exit\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -b backend\n");
- fprintf(stderr, " use this backend for the output file specified on the command line\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -f backend\n");
- fprintf(stderr, " use the specified front for the input files on the command line\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -H\n");
- fprintf(stderr, " print the command list\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -h command\n");
- fprintf(stderr, " print the help message for the specified command\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -s scriptfile\n");
- fprintf(stderr, " execute the commands in the script file\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -c tcl_scriptfile\n");
- fprintf(stderr, " execute the commands in the tcl script file (see 'help tcl' for details)\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -p command\n");
- fprintf(stderr, " execute the commands\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -m module_file\n");
- fprintf(stderr, " load the specified module (aka plugin)\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -A\n");
- fprintf(stderr, " will call abort() at the end of the script. useful for debugging\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " -V\n");
- fprintf(stderr, " print version information and exit\n");
- fprintf(stderr, "\n");
- fprintf(stderr, "The option -S is an shortcut for calling the \"synth\" command, a default\n");
- fprintf(stderr, "script for transforming the verilog input to a gate-level netlist. For example:\n");
- fprintf(stderr, "\n");
- fprintf(stderr, " yosys -o output.blif -S input.v\n");
- fprintf(stderr, "\n");
- fprintf(stderr, "For more complex synthesis jobs it is recommended to use the read_* and write_*\n");
- fprintf(stderr, "commands in a script file instead of specifying input and output files on the\n");
- fprintf(stderr, "command line.\n");
- fprintf(stderr, "\n");
- fprintf(stderr, "When no commands, script files or input files are specified on the command\n");
- fprintf(stderr, "line, yosys automatically enters the interactive command mode. Use the 'help'\n");
- fprintf(stderr, "command to get information on the individual commands.\n");
- fprintf(stderr, "\n");