From 85e4c995d866da9f6d372f97b3503cc835192df2 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 9 May 2022 18:02:57 +0200 Subject: [PATCH] litedram/gen: .init renaming no longer required with https://github.com/enjoy-digital/litex/pull/1293. --- litedram/gen.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/litedram/gen.py b/litedram/gen.py index fc5e266..866e462 100755 --- a/litedram/gen.py +++ b/litedram/gen.py @@ -860,13 +860,5 @@ def main(): builder = Builder(soc, **builder_arguments) 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__": main()