Intel® Quartus® Prime Standard Edition User Guide: Scripting
                    
                        ID
                        683325
                    
                
                
                    Date
                    9/24/2018
                
                
                    Public
                
            
                        
                        
                            
                            
                                1.1. Benefits of Command-Line Executables
                            
                        
                            
                            
                                1.2. Introductory Example
                            
                        
                            
                            
                                1.3. Command-Line Scripting Help
                            
                        
                            
                                1.4. Project Settings with Command-Line Options
                            
                            
                        
                            
                            
                                1.5. Compilation with quartus_sh --flow
                            
                        
                            
                            
                                1.6. Text-Based Report Files
                            
                        
                            
                            
                                1.7. Using Command-Line Executables in Scripts
                            
                        
                            
                                1.8. Common Scripting Examples
                            
                            
                        
                            
                            
                                1.9. The QFlow Script
                            
                        
                            
                            
                                1.10. Document Revision History
                            
                        
                    
                
                                    
                                    
                                        
                                        
                                            1.8.1. Create a Project and Apply Constraints
                                        
                                        
                                    
                                        
                                        
                                            1.8.2. Check Design File Syntax
                                        
                                        
                                    
                                        
                                        
                                            1.8.3. Create a Project and Synthesize a Netlist Using Netlist Optimizations
                                        
                                        
                                    
                                        
                                        
                                            1.8.4. Archive and Restore Projects
                                        
                                        
                                    
                                        
                                        
                                            1.8.5. Perform I/O Assignment Analysis
                                        
                                        
                                    
                                        
                                        
                                            1.8.6. Update Memory Contents Without Recompiling
                                        
                                        
                                    
                                        
                                        
                                            1.8.7. Create a Compressed Configuration File
                                        
                                        
                                    
                                        
                                        
                                            1.8.8. Fit a Design as Quickly as Possible
                                        
                                        
                                    
                                        
                                        
                                            1.8.9. Fit a Design Using Multiple Seeds
                                        
                                        
                                    
                                
                            
                        
                        
                            
                            
                                2.1. Tool Command Language
                            
                        
                            
                                2.2. Intel® Quartus® Prime Tcl Packages
                            
                            
                        
                            
                                2.3. Intel® Quartus® Prime Tcl API Help
                            
                            
                        
                            
                            
                                2.4. End-to-End Design Flows
                            
                        
                            
                            
                                2.5. Creating Projects and Making Assignments
                            
                        
                            
                                2.6. Compiling Designs
                            
                            
                        
                            
                                2.7. Reporting
                            
                            
                        
                            
                            
                                2.8. Timing Analysis
                            
                        
                            
                                2.9. Automating Script Execution
                            
                            
                        
                            
                                2.10. Other Scripting Features
                            
                            
                        
                            
                            
                                2.11. The Intel® Quartus® Prime Tcl Shell in Interactive Mode Example
                            
                        
                            
                            
                                2.12. The tclsh Shell
                            
                        
                            
                                2.13. Tcl Scripting Basics
                            
                            
                        
                            
                            
                                2.14. Tcl Scripting Revision History
                            
                        
                    
                2.3.1. Command-Line Options
 You can use any of the following command line options with executables that support Tcl:  
  
 
  | Command-Line Option | Description | 
|---|---|
| --script=<script file> [<script args>] | Run the specified Tcl script with optional arguments. | 
| -t <script file> [<script args>] | Run the specified Tcl script with optional arguments. The -t option is the short form of the --script option. | 
| --shell | Open the executable in the interactive Tcl shell mode. | 
| -s | Open the executable in the interactive Tcl shell mode. The -s option is the short form of the --shell option. | 
| --tcl_eval <tcl command> | Evaluate the remaining command-line arguments as Tcl commands. For example, the following command displays help for the project package: quartus_sh --tcl_eval help -pkg project |