diff --git a/mibuild/altera_quartus.py b/mibuild/altera_quartus.py index cfda1cf06..d2265b086 100644 --- a/mibuild/altera_quartus.py +++ b/mibuild/altera_quartus.py @@ -51,6 +51,9 @@ def _build_qsf(named_sc, named_pc): def _build_files(device, sources, vincpaths, named_sc, named_pc, build_name): qsf_contents = "" for filename, language in sources: + # Enforce use of SystemVerilog (Quartus does not support global parameters in Verilog) + if language == "verilog": + language = "systemverilog" qsf_contents += "set_global_assignment -name "+language.upper()+"_FILE " + filename.replace("\\","/") + "\n" for path in vincpaths: