title: Yosys - ERROR: TCL interpreter returned an error: invalid command name "verilog_defaults"
body: <p>I am trying to write a tcl script to read and synthesize a design. I used the following commands at the top of the tcl file and executed it with yosys -c filename.tcl.</p>
  <pre><code>verilog_defaults -add -I&lt;path_to_include_dir&gt;
  </code></pre>
  <p><strong>I got the following error:</strong></p>
  <pre><code>ERROR: TCL interpreter returned an error: invalid command name &quot;verilog_defaults&quot;
  </code></pre>
  <p>I do not get any errors when I execute the same command in yosys shell. Are these commands valid in tcl script or are there different commands for tcl scripts?</p>