mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Initialize area stats in stat pass
Currently, the area variables in the stat struct are not initialized. This caused the area stats occasionally being an erroneous value. Signed-off-by: Hoa Nguyen <hnpl@google.com>
This commit is contained in:
		
							parent
							
								
									dcf9f58315
								
							
						
					
					
						commit
						c1205ebc42
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -44,8 +44,8 @@ struct statdata_t
 | 
			
		|||
	#define X(_name) unsigned int _name;
 | 
			
		||||
	STAT_INT_MEMBERS
 | 
			
		||||
	#undef X
 | 
			
		||||
	double area;
 | 
			
		||||
	double sequential_area;
 | 
			
		||||
	double area = 0;
 | 
			
		||||
	double sequential_area = 0;
 | 
			
		||||
	string tech;
 | 
			
		||||
 | 
			
		||||
	std::map<RTLIL::IdString, int> techinfo;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue