mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	hashlib: add deprecated mkhash function to prevent plugin breakage
This commit is contained in:
		
							parent
							
								
									6d53454bf5
								
							
						
					
					
						commit
						79acc141d5
					
				
					 2 changed files with 18 additions and 4 deletions
				
			
		|  | @ -145,3 +145,9 @@ redirecting to ``hash_ops<T>`` | |||
|        Hasher h; | ||||
|        return (unsigned int)hash_acc(h).yield(); | ||||
|    } | ||||
| 
 | ||||
| To get hashes for Yosys types, you can temporarily use the templated deprecated | ||||
| ``mkhash`` function until the majority of your plugin's users switch to a newer | ||||
| version and live with the warnings, or set up a custom ``#ifdef``-based solution | ||||
| if you really need to. | ||||
| Feel free to contact Yosys maintainers with related issues. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue