log - print text and log files#
- yosys> help log#
log string
Print the given string to the screen and/or the log file. This is useful for TCL scripts, because the TCL command "puts" only goes to stdout but not to logfiles.
-stdoutPrint the output to stdout too. This is useful when all Yosys is executed with a script and the -q (quiet operation) argument to notify the user.
-stderrPrint the output to stderr too.
-nologDon't use the internal log() command. Use either -stdout or -stderr, otherwise no output will be generated at all.
-ndo not append a newline