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:
Zbigniew Jędrzejewski-Szmek 2024-10-24 11:33:53 +02:00
parent d1695ad998
commit 26a3478d8d
1 changed files with 1 additions and 2 deletions

View File

@ -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]: