mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Bugfix in "hierarchy -check"
This commit is contained in:
		
							parent
							
								
									4832faf5e9
								
							
						
					
					
						commit
						308a4b4a1b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -213,7 +213,7 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check
 | 
			
		|||
					log_error("Module `%s' referenced in module `%s' in cell `%s' does not have a port named '%s'.\n",
 | 
			
		||||
							log_id(cell->type), log_id(module), log_id(cell), log_id(conn.first));
 | 
			
		||||
			for (auto ¶m : cell->parameters)
 | 
			
		||||
				if (mod->avail_parameters.count(param.first) == 0)
 | 
			
		||||
				if (mod->avail_parameters.count(param.first) == 0 && param.first[0] != '$')
 | 
			
		||||
					log_error("Module `%s' referenced in module `%s' in cell `%s' does not have a parameter named '%s'.\n",
 | 
			
		||||
							log_id(cell->type), log_id(module), log_id(cell), log_id(param.first));
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue