| Code Name | 
                 Code | 
                 String Return | 
              
				  
              
                 | TCL_OK | 
                 0 | 
                 Project's Tcl Script File successfully generated: <name> | 
              
				  
              
                 | TCL_ERROR | 
                 1 | 
                 No project is currently open | 
              
				  
				  
                 | TCL_ERROR | 
                 1 | 
                 wrong # args: should be generate_tcl_file name options options are: [-c | compile][-s | simulate][-b | build][-w | overwrite] | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 A Tcl transaction is in progress and must be completed before executing: generate_tcl_file | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 generate_tcl_file is not available in command-line mode | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 [option] is not recognized, should be: generate_tcl_file name [-c | compile]  [-s | simulate] [ -b | build]  [-w | overwrite] | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 <name> file already exists | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 No active compiler settings | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 No active simulator settings | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 No active software build settings | 
              
			  
                 | TCL_ERROR | 
                 1 | 
                 Can't create or overwrite file | 
              
              
                 | TCL_ERROR | 
                 1 | 
                 Can't access the assignment and configuration files |