mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-28 10:19:26 +00:00 
			
		
		
		
	Extend simplify() recursion warning
This commit is contained in:
		
							parent
							
								
									5d0cc54f5c
								
							
						
					
					
						commit
						22bed38540
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -571,7 +571,7 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage, | |||
| 	static bool deep_recursion_warning = false; | ||||
| 
 | ||||
| 	if (recursion_counter++ == 1000 && deep_recursion_warning) { | ||||
| 		log_warning("Deep recursion in AST simplifier.\nDoes this design contain insanely long expressions?\n"); | ||||
| 		log_warning("Deep recursion in AST simplifier.\nDoes this design contain overly long or deeply nested expressions, or excessive recursion?\n"); | ||||
| 		deep_recursion_warning = false; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue