Merge pull request #1543 from stone3311/master
build/altera: Fix IP integration
This commit is contained in:
commit
e8322587a0
|
@ -138,10 +138,9 @@ class AlteraQuartusToolchain(GenericToolchain):
|
||||||
if fpath not in platform.verilog_include_paths:
|
if fpath not in platform.verilog_include_paths:
|
||||||
platform.verilog_include_paths.append(fpath)
|
platform.verilog_include_paths.append(fpath)
|
||||||
|
|
||||||
# Add ips
|
# Add IPs
|
||||||
for filename in self.platform.ips:
|
for filename in self.platform.ips:
|
||||||
tpl = "set_global_assignment -name QSYS_FILE {filename}"
|
qsf.append("set_global_assignment -name QSYS_FILE " + filename.replace("\\", "/"))
|
||||||
qsf.append(tpl.replace(filename=filename.replace("\\", "/")))
|
|
||||||
|
|
||||||
# Add include paths
|
# Add include paths
|
||||||
for path in self.platform.verilog_include_paths:
|
for path in self.platform.verilog_include_paths:
|
||||||
|
|
Loading…
Reference in New Issue