mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	abc9_ops: use TimingInfo for -prep_{lut,box} too
This commit is contained in:
		
							parent
							
								
									3ea5506f81
								
							
						
					
					
						commit
						a6fec9fe60
					
				
					 2 changed files with 22 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -56,7 +56,7 @@ struct TimingInfo
 | 
			
		|||
                }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	void setup_module(RTLIL::Module *module)
 | 
			
		||||
	const ModuleTiming& setup_module(RTLIL::Module *module)
 | 
			
		||||
	{
 | 
			
		||||
                auto r = data.insert(module->name);
 | 
			
		||||
                log_assert(r.second);
 | 
			
		||||
| 
						 | 
				
			
			@ -146,10 +146,13 @@ struct TimingInfo
 | 
			
		|||
                                }
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
                return t;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
        decltype(data)::const_iterator find (RTLIL::IdString module_name) const { return data.find(module_name); }
 | 
			
		||||
        decltype(data)::const_iterator end () const { return data.end(); }
 | 
			
		||||
        int count (RTLIL::IdString module_name) const { return data.count(module_name); }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
YOSYS_NAMESPACE_END
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue