build/altera: Fix IP integration
This commit is contained in:
parent
5dd1bb5fdb
commit
5307b5e3f2
|
@ -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