mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	stat: ensure area is included in json output
Signed-off-by: Peter Gadfort <peter.gadfort@gmail.com>
This commit is contained in:
		
							parent
							
								
									3ebc50dee4
								
							
						
					
					
						commit
						58cca9592d
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -275,6 +275,9 @@ struct statdata_t | |||
| 		log("         \"num_memory_bits\":   %u,\n", num_memory_bits); | ||||
| 		log("         \"num_processes\":     %u,\n", num_processes); | ||||
| 		log("         \"num_cells\":         %u,\n", num_cells); | ||||
| 		if (area != 0) { | ||||
| 			log("         \"area\":              %f,\n", area); | ||||
| 		} | ||||
| 		log("         \"num_cells_by_type\": {\n"); | ||||
| 		bool first_line = true; | ||||
| 		for (auto &it : num_cells_by_type) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue