From c9915f89cedb8690ac6279a0bb9769287e3ab9a8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 12 Dec 2018 09:34:43 +0100 Subject: [PATCH] build/microsemi/libero_soc: fix typos --- litex/build/microsemi/libero_soc.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/litex/build/microsemi/libero_soc.py b/litex/build/microsemi/libero_soc.py index 793de4be..4327f623 100644 --- a/litex/build/microsemi/libero_soc.py +++ b/litex/build/microsemi/libero_soc.py @@ -103,8 +103,8 @@ def _build_tcl(platform, sources, build_dir, build_name): # add files for filename, language, library in sources: - filename_tcl = "{" + filename + "}" - tcl.append("import_files -hdl_source " + filename_tcl) + filename_tcl = "{" + filename + "}" + tcl.append("import_files -hdl_source " + filename_tcl) # set top tcl.append("set_root -module {}".format(tcl_name(build_name))) @@ -148,7 +148,7 @@ def _build_tcl(platform, sources, build_dir, build_name): # build flow tcl.append("run_tool -name {CONSTRAINT_MANAGEMENT}") tcl.append("run_tool -name {SYNTHESIZE}") - tcl.append("run_tool -name {PLACEROUTE}") + tcl.append("run_tool -name {PLACEROUTE}") tcl.append("run_tool -name {GENERATEPROGRAMMINGDATA}") tcl.append("run_tool -name {GENERATEPROGRAMMINGFILE}") @@ -231,7 +231,7 @@ class MicrosemiLiberoSoCPolarfireToolchain: cwd = os.getcwd() os.chdir(build_dir) - # finalized design + # finalize design if not isinstance(fragment, _Fragment): fragment = fragment.get_fragment() platform.finalize(fragment) @@ -258,7 +258,7 @@ class MicrosemiLiberoSoCPolarfireToolchain: # generate build script script = _build_script(build_name, platform.device, toolchain_path) - + # run if run: # delete previous impl -- 2.30.2