litedram/gen: .init renaming no longer required with https://github.com/enjoy-digital/litex/pull/1293.

This commit is contained in:
Florent Kermarrec 2022-05-09 18:02:57 +02:00
parent 2b8af870c5
commit 85e4c995d8
1 changed files with 0 additions and 8 deletions

View File

@ -860,13 +860,5 @@ def main():
builder = Builder(soc, **builder_arguments) builder = Builder(soc, **builder_arguments)
builder.build(build_name=args.name, regular_comb=False) builder.build(build_name=args.name, regular_comb=False)
if soc.cpu_type is not None:
init_filename = "mem.init"
os.system("mv {} {}".format(
os.path.join(builder.gateware_dir, init_filename),
os.path.join(builder.gateware_dir, f"{args.name}.init"),
))
replace_in_file(os.path.join(builder.gateware_dir, f"{args.name}.v"), init_filename, f"{args.name}.init")
if __name__ == "__main__": if __name__ == "__main__":
main() main()