Merge pull request #1543 from stone3311/master

build/altera: Fix IP integration
This commit is contained in:
enjoy-digital 2022-12-23 19:50:19 +01:00 committed by GitHub
commit e8322587a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -138,10 +138,9 @@ class AlteraQuartusToolchain(GenericToolchain):
if fpath not in platform.verilog_include_paths:
platform.verilog_include_paths.append(fpath)
# Add ips
# Add IPs
for filename in self.platform.ips:
tpl = "set_global_assignment -name QSYS_FILE {filename}"
qsf.append(tpl.replace(filename=filename.replace("\\", "/")))
qsf.append("set_global_assignment -name QSYS_FILE " + filename.replace("\\", "/"))
# Add include paths
for path in self.platform.verilog_include_paths: