mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Fixed detectSignWidthWorker (ast frontend) for AST_CONCAT
This commit is contained in:
		
							parent
							
								
									ada80545fa
								
							
						
					
					
						commit
						d2b083f5cb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -587,7 +587,7 @@ void AstNode::detectSignWidthWorker(int &width_hint, bool &sign_hint) | |||
| 		for (auto child : children) { | ||||
| 			sub_width_hint = 0; | ||||
| 			sub_sign_hint = true; | ||||
| 			child->detectSignWidthWorker(width_hint, sign_hint); | ||||
| 			child->detectSignWidthWorker(sub_width_hint, sub_sign_hint); | ||||
| 			this_width += sub_width_hint; | ||||
| 		} | ||||
| 		width_hint = std::max(width_hint, this_width); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue