mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Minor changes ontop of 71bcc4c: Remove hierarchy warning that is redundant to -check
				
					
				
			Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									c118f9a377
								
							
						
					
					
						commit
						c258b99040
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -527,11 +527,7 @@ int find_top_mod_score(Design *design, Module *module, dict<Module*, int> &db) | |||
| 			// Is this cell a module instance?
 | ||||
| 			auto instModule = design->module(celltype); | ||||
| 			// If there is no instance for this, issue a warning.
 | ||||
| 			if (instModule == NULL) { | ||||
| 				//  but only if we're sure it is a reference to a module.
 | ||||
| 				if (celltype[0] != '$') | ||||
| 					log_warning("find_top_mod_score: no instance for %s.%s\n", celltype.c_str(), cell->name.c_str()); | ||||
| 			} else { | ||||
| 			if (instModule != nullptr) { | ||||
| 				score = max(score, find_top_mod_score(design, instModule, db) + 1); | ||||
| 			} | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue