Skip to content

Commit

Permalink
Merge pull request #4683 from keszybz/use-SOURCE_DATE_EPOCH
Browse files Browse the repository at this point in the history
Respect $SOURCE_DATE_EPOCH in generate_bram_types_sim.py
  • Loading branch information
widlarizer authored Jan 10, 2025
2 parents 7e3990b + 26a3478 commit 9f7040b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions techlibs/quicklogic/qlf_k6n10f/generate_bram_types_sim.py
Original file line number Diff line number Diff line change
@@ -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]:
Expand Down

0 comments on commit 9f7040b

Please sign in to comment.