Intel® High Level Synthesis Compiler Standard Edition: Best Practices Guide
                    
                        ID
                        683259
                    
                
                
                    Date
                    12/18/2019
                
                
                    Public
                
            
                
                    
                    
                        1. Intel® HLS Compiler Standard Edition Best Practices Guide
                    
                
                    
                    
                        2. Best Practices for Coding and Compiling Your Component
                    
                
                    
                        3. Interface Best Practices
                    
                    
                
                    
                        4. Loop Best Practices
                    
                    
                
                    
                        5. Memory Architecture Best Practices
                    
                    
                
                    
                        6. Datatype Best Practices
                    
                    
                
                    
                        7. Advanced Troubleshooting
                    
                    
                
                    
                    
                        A. Intel® HLS Compiler Standard Edition Best Practices Guide Archives
                    
                
                    
                    
                        B. Document Revision History for Intel® HLS Compiler Standard Edition Best Practices Guide
                    
                
            
        4.5. Avoid Complex Loop-Exit Conditions
If a loop in your component has complex exit conditions, memory accesses or complex operations might be required to evaluate the condition. Subsequent iterations of the loop cannot launch in the loop pipeline until the evaluation completes, which can decrease the overall performance of the loop.