Skip to content

Commit 0dfd9e9

Browse files
Merge pull request #4868 from david-sawatzke/improve_tcl_output_docs
tcl: Update help message to clarify usage of `result.string`
2 parents 268a034 + 09ead2d commit 0dfd9e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/yosys.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,9 +757,10 @@ struct TclPass : public Pass {
757757
log("If any arguments are specified, these arguments are provided to the script via\n");
758758
log("the standard $argc and $argv variables.\n");
759759
log("\n");
760-
log("Note, tcl will not recieve the output of any yosys command. If the output\n");
760+
log("Note, tcl will not receive the output of any yosys command. If the output\n");
761761
log("of the tcl commands are needed, use the yosys command 'tee -s result.string'\n");
762762
log("to redirect yosys's output to the 'result.string' scratchpad value.\n");
763+
log("The 'result.string' value is then used as the tcl output value of the command.\n");
763764
log("\n");
764765
}
765766
void execute(std::vector<std::string> args, RTLIL::Design *) override {

0 commit comments

Comments
 (0)