diff --git a/edalize/questaformal.py b/edalize/questaformal.py index 93ca87e7..8fd313f4 100644 --- a/edalize/questaformal.py +++ b/edalize/questaformal.py @@ -108,9 +108,9 @@ def _write_build_rtl_tcl_file(self, tcl_main): cmd = "vcom" if f.file_type.endswith("-87"): args = ["-87"] - if f.file_type.endswith("-93"): + elif f.file_type.endswith("-93"): args = ["-93"] - if f.file_type.endswith("-2008"): + elif f.file_type.endswith("-2008"): args = ["-2008"] else: args = []