From: Florent Kermarrec Date: Wed, 12 Dec 2018 08:34:43 +0000 (+0100) Subject: build/microsemi/libero_soc: fix typos X-Git-Tag: 24jan2021_ls180~1445 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9915f89cedb8690ac6279a0bb9769287e3ab9a8;p=litex.git build/microsemi/libero_soc: fix typos --- 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