From: Florent Kermarrec Date: Tue, 15 Oct 2019 10:13:42 +0000 (+0200) Subject: build/generic_platform: keep language to None if None after tools.language_by_filename X-Git-Tag: 24jan2021_ls180~906 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98c224be1585206a108bfbf5e6604bb73699d9b2;p=litex.git build/generic_platform: keep language to None if None after tools.language_by_filename --- 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"