mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Reinstate #4768
Revert the reversion so that we can fix the bugs that the PR missed.
This commit is contained in:
		
							parent
							
								
									bf386feba7
								
							
						
					
					
						commit
						cd3b914132
					
				
					 38 changed files with 700 additions and 263 deletions
				
			
		| 
						 | 
				
			
			@ -246,7 +246,7 @@ struct SubmodWorker
 | 
			
		|||
	SubmodWorker(RTLIL::Design *design, RTLIL::Module *module, bool copy_mode = false, bool hidden_mode = false, std::string opt_name = std::string()) :
 | 
			
		||||
			design(design), module(module), sigmap(module), copy_mode(copy_mode), hidden_mode(hidden_mode), opt_name(opt_name)
 | 
			
		||||
	{
 | 
			
		||||
		if (!design->selected_whole_module(module->name) && opt_name.empty())
 | 
			
		||||
		if (!module->is_selected_whole() && opt_name.empty())
 | 
			
		||||
			return;
 | 
			
		||||
 | 
			
		||||
		if (module->processes.size() > 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue