From 98c224be1585206a108bfbf5e6604bb73699d9b2 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 15 Oct 2019 12:13:42 +0200 Subject: [PATCH] build/generic_platform: keep language to None if None after tools.language_by_filename --- litex/build/generic_platform.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/litex/build/generic_platform.py b/litex/build/generic_platform.py index cc5c0221..3cd830f9 100644 --- a/litex/build/generic_platform.py +++ b/litex/build/generic_platform.py @@ -322,9 +322,6 @@ class GenericPlatform: def add_source(self, filename, language=None, library=None): if language is None: language = tools.language_by_filename(filename) - if language is None: - language = "verilog" - if library is None: library = "work" -- 2.30.2