build/microsemi/libero_soc: fix typos
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 12 Dec 2018 08:34:43 +0000 (09:34 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 12 Dec 2018 08:34:43 +0000 (09:34 +0100)
litex/build/microsemi/libero_soc.py

index 793de4be1a96963bf8a08b4c82f3ea60086ffe30..4327f62393c28e5797654aa0b2b3d8f5e5f0e86c 100644 (file)
@@ -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