From 7a5f5a3682556206f3e316dd014b273c804edf2a Mon Sep 17 00:00:00 2001 From: Franck Jullien Date: Tue, 21 Sep 2021 14:22:17 +0200 Subject: [PATCH] efinix: remove redundant param in _build_xml --- litex/build/efinix/efinity.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/litex/build/efinix/efinity.py b/litex/build/efinix/efinity.py index e02deffc3..71947b152 100644 --- a/litex/build/efinix/efinity.py +++ b/litex/build/efinix/efinity.py @@ -199,7 +199,7 @@ def _build_peri(efinity_path, build_name, partnumber, named_sc, named_pc, fragme # Project configuration ------------------------------------------------------------------------ -def _build_xml(name, partnumber, build_name, sources, additional_xml_commands): +def _build_xml(partnumber, build_name, sources, additional_xml_commands): root = et.Element('efx:project') @@ -209,7 +209,7 @@ def _build_xml(name, partnumber, build_name, sources, additional_xml_commands): # Add the required attributes root.attrib['xmlns:efx'] = 'http://www.efinixinc.com/enf_proj' root.attrib['xmlns:xsi'] = "http://www.w3.org/2001/XMLSchema-instance" - root.attrib['name'] = name + root.attrib['name'] = build_name root.attrib['description'] = '' root.attrib['last_change_date'] = date_str root.attrib['location'] = str(pathlib.Path().resolve()) @@ -321,7 +321,6 @@ class EfinityToolchain(): # Generate project file (.xml) _build_xml( - name = build_name, partnumber = platform.device, build_name = build_name, sources = platform.sources,