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: 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: