Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion migen/fhdl/specials.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def gn(e):
content = ""
formatter = "{:0" + str(int(memory.width / 4)) + "X}\n"
for d in memory.init:
content += formatter.format(d)
content += formatter.format(d).zfill(int(memory.width / 4))
Comment thread
madscientist159 marked this conversation as resolved.
Outdated
memory_filename = add_data_file(gn(memory) + ".init", content)

r += "initial begin\n"
Expand Down