From 5fd7c758a173b200e113952966c6677cd5c575b7 Mon Sep 17 00:00:00 2001 From: Franck Jullien Date: Thu, 27 Jan 2022 23:10:27 +0100 Subject: [PATCH] efinity: don't add unknown language files to sources --- litex/build/efinix/efinity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/build/efinix/efinity.py b/litex/build/efinix/efinity.py index 6d315ae15..757d0a8e4 100644 --- a/litex/build/efinix/efinity.py +++ b/litex/build/efinix/efinity.py @@ -203,6 +203,8 @@ def _build_xml(family, device, timing_model, build_name, sources): # Add Design Sources. for filename, language, library in sources: + if language is None: + continue et.SubElement(design_info, "efx:design_file", { "name" : filename, "version" : "default",