Skip to content

Commit

Permalink
build/microsemi/libero_soc.py: replaced tabs by spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed May 30, 2024
1 parent 72cade5 commit 03e0f0d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions litex/build/microsemi/libero_soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def build_project(self):
"-use_enhanced_constraint_flow 1",
"-hdl {VERILOG}",
"-family {PolarFire}",
"-die {}".format(self.tcl_name(die)),
"-die {}".format(self.tcl_name(die)),
"-package {}".format(self.tcl_name(package)),
"-speed {}".format(self.tcl_name("-" + speed)),
"-die_voltage {1.0}",
Expand All @@ -115,16 +115,16 @@ def build_project(self):
filename_tcl = "{" + filename + "}"
tcl.append("import_files -hdl_source " + filename_tcl)

# Building the design Hierarchy
# Building the design Hierarchy
tcl.append("build_design_hierarchy")
# Set top level
tcl.append("set_root -module {}".format(self.tcl_name(self._build_name + "::work")))

# Copy init files FIXME: support for include path on LiberoSoC?
# Commenting out copy init file as this breaks the LiberoSoC flow.
# for file in os.listdir(self._build_dir):
# if file.endswith(".init"):
# tcl.append("file copy -- {} impl/synthesis".format(file))
#for file in os.listdir(self._build_dir):
# if file.endswith(".init"):
# tcl.append("file copy -- {} impl/synthesis".format(file))

# Import io constraints
tcl.append("import_files -io_pdc {}".format(self.tcl_name(self._build_name + "_io.pdc")))
Expand Down Expand Up @@ -211,7 +211,7 @@ def build_timing_constraints(self, vns):
return (self._build_name + ".sdc", "SDC")

# Script ---------------------------------------------------------------------------------------

def build_script(self):
if sys.platform in ("win32", "cygwin"):
script_ext = ".bat"
Expand Down

0 comments on commit 03e0f0d

Please sign in to comment.