projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a36a208
)
mibuild/altera_quartus: enforce use of SystemVerilog in Quartus (Verilog does not...
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 14 Apr 2014 15:14:24 +0000
(17:14 +0200)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Thu, 17 Apr 2014 17:43:24 +0000
(19:43 +0200)
mibuild/altera_quartus.py
patch
|
blob
|
history
diff --git
a/mibuild/altera_quartus.py
b/mibuild/altera_quartus.py
index cfda1cf06008bbe963a75f0f12bc614b80b2a43b..d2265b086e1df890383e0b90263145045ab3c4ff 100644
(file)
--- 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: