mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Drop timestamp in generate_bram_types_sim.py
I'm working on build reproducibility of Fedora packages, and this patch fixes an issue observed in test rebuilds: the timestamp was set to the actual time of the build, making builds nonreproducible. Other "Generated by" strings do not include a timestamp, so drop it here too.
This commit is contained in:
		
							parent
							
								
									d1695ad998
								
							
						
					
					
						commit
						26a3478d8d
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,9 @@
 | 
			
		|||
import sys
 | 
			
		||||
from datetime import datetime, timezone
 | 
			
		||||
 | 
			
		||||
def generate(filename):
 | 
			
		||||
	with open(filename, "w") as f:
 | 
			
		||||
		f.write("// **AUTOGENERATED FILE** **DO NOT EDIT**\n")
 | 
			
		||||
		f.write(f"// Generated by {sys.argv[0]} at {datetime.now(timezone.utc)}\n")
 | 
			
		||||
		f.write(f"// Generated by {sys.argv[0]}\n")
 | 
			
		||||
 | 
			
		||||
		f.write("`timescale 1ns /10ps\n")
 | 
			
		||||
		for a_width in [1,2,4,9,18,36]:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue