Skip to content

Commit 26a3478

Browse files
committed
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.
1 parent d1695ad commit 26a3478

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

techlibs/quicklogic/qlf_k6n10f/generate_bram_types_sim.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import sys
2-
from datetime import datetime, timezone
32

43
def generate(filename):
54
with open(filename, "w") as f:
65
f.write("// **AUTOGENERATED FILE** **DO NOT EDIT**\n")
7-
f.write(f"// Generated by {sys.argv[0]} at {datetime.now(timezone.utc)}\n")
6+
f.write(f"// Generated by {sys.argv[0]}\n")
87

98
f.write("`timescale 1ns /10ps\n")
109
for a_width in [1,2,4,9,18,36]:

0 commit comments

Comments
 (0)