Merge pull request #4683 from keszybz/use-SOURCE_DATE_EPOCH

Respect $SOURCE_DATE_EPOCH in generate_bram_types_sim.py
This commit is contained in:
Emil J 2025-01-10 23:43:26 +01:00 committed by GitHub
commit 9f7040b3d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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]: