mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Only action if there is more than one clock domain
This commit is contained in:
		
							parent
							
								
									00d76f6cc4
								
							
						
					
					
						commit
						95af8f56e4
					
				
					 1 changed files with 8 additions and 7 deletions
				
			
		|  | @ -233,6 +233,7 @@ struct ClkPartPass : public Pass { | ||||||
| 						std::get<0>(it.first) ? "" : "!", log_signal(std::get<1>(it.first)), | 						std::get<0>(it.first) ? "" : "!", log_signal(std::get<1>(it.first)), | ||||||
| 						std::get<2>(it.first) ? "" : "!", log_signal(std::get<3>(it.first))); | 						std::get<2>(it.first) ? "" : "!", log_signal(std::get<3>(it.first))); | ||||||
| 
 | 
 | ||||||
|  | 			if (assigned_cells.size() > 1) | ||||||
| 				for (auto &it : assigned_cells) { | 				for (auto &it : assigned_cells) { | ||||||
| 					RTLIL::Selection sel(false); | 					RTLIL::Selection sel(false); | ||||||
| 					sel.selected_members[mod->name] = pool<IdString>(it.second.begin(), it.second.end()); | 					sel.selected_members[mod->name] = pool<IdString>(it.second.begin(), it.second.end()); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue