Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quartus qsys path seperator on windows 10 #351

Open
ghost opened this issue Oct 27, 2022 · 0 comments
Open

quartus qsys path seperator on windows 10 #351

ghost opened this issue Oct 27, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 27, 2022

Hi,
I am using Quartus Prime Lite 18.1 with FuseSoC on Windows 10.
I have set up a little test project, including a softcore with nios.
When running the "fusesoc --cores-root=. run --setup --target=..." command, the project tcl file is generated.
The tcl file contains this line:

set_global_assignment -name QIP_FILE qsys\nios\nios.qip

When running "fusesoc --cores-root=. run --target=...", the .qsf file is generated.
The .qsf file now contains these lines:

set_global_assignment -name QIP_FILE qsys
ios
ios.qip

The build then fails. So the "qsys\nios\nios.qip" line from the tcl file will create newlines with \n.
Here is the spot in the edalize file, where the problem might start:

f.name = os.path.join(f.dstdir, f.simplename + ".qip")

When adding a line after that which converts the backslash "\" to "/", everything works.
f.name = f.name.replace("\\", "/")

Not sure if this is the correct way to solve this issue.

Greetings from germany

@ghost ghost changed the title edalize quartus path seperator on windows 10 quartus qsys path seperator on windows 10 Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants