mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	hashlib: redo interface for flexibility
This commit is contained in:
		
							parent
							
								
									7a362f1f74
								
							
						
					
					
						commit
						d071489ab1
					
				
					 35 changed files with 542 additions and 386 deletions
				
			
		|  | @ -35,7 +35,7 @@ struct IdPath : public std::vector<RTLIL::IdString> | |||
| 	bool has_address() const { int tmp; return get_address(tmp); }; | ||||
| 	bool get_address(int &addr) const; | ||||
| 
 | ||||
| 	int hash() const { return hashlib::hash_ops<std::vector<RTLIL::IdString>>::hash(*this); } | ||||
| 	Hasher hash_acc(Hasher h) const { h.acc(*this); return h; } | ||||
| }; | ||||
| 
 | ||||
| struct WitnessHierarchyItem { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue