mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Use pool<> not std::set<> for determinism
This commit is contained in:
		
							parent
							
								
									b1ab7c16c4
								
							
						
					
					
						commit
						4ac1b92df3
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -116,11 +116,11 @@ struct ClkPartPass : public Pass {
 | 
			
		|||
			assign_map.set(mod);
 | 
			
		||||
 | 
			
		||||
			std::vector<RTLIL::Cell*> all_cells = mod->selected_cells();
 | 
			
		||||
			std::set<RTLIL::Cell*> unassigned_cells(all_cells.begin(), all_cells.end());
 | 
			
		||||
			pool<RTLIL::Cell*> unassigned_cells(all_cells.begin(), all_cells.end());
 | 
			
		||||
 | 
			
		||||
			std::set<RTLIL::Cell*> expand_queue, next_expand_queue;
 | 
			
		||||
			std::set<RTLIL::Cell*> expand_queue_up, next_expand_queue_up;
 | 
			
		||||
			std::set<RTLIL::Cell*> expand_queue_down, next_expand_queue_down;
 | 
			
		||||
			pool<RTLIL::Cell*> expand_queue, next_expand_queue;
 | 
			
		||||
			pool<RTLIL::Cell*> expand_queue_up, next_expand_queue_up;
 | 
			
		||||
			pool<RTLIL::Cell*> expand_queue_down, next_expand_queue_down;
 | 
			
		||||
 | 
			
		||||
			typedef tuple<bool, RTLIL::SigSpec, bool, RTLIL::SigSpec> clkdomain_t;
 | 
			
		||||
			std::map<clkdomain_t, vector<Cell*>> assigned_cells;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue