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

Verilator doesn't work on Windows without Perl installed #9

Open
JarrettR opened this issue Aug 22, 2024 · 0 comments
Open

Verilator doesn't work on Windows without Perl installed #9

JarrettR opened this issue Aug 22, 2024 · 0 comments

Comments

@JarrettR
Copy link

I have to confess, I haven't actually installed Perl to check the hypothesis that installing Perl will fix it.

But regardless:

PS D:\Projects\git\fp> apio upgrade
Local Apio version: 0.9.5
Lastest Apio stable version (Pypi): 0.9.5
You're up-to-date!
Apio 0.9.5 is currently the latest stable version available.
PS D:\Projects\git\fp> apio lint
verilator --lint-only --timing -Wno-TIMESCALEMOD channel.v pll.v serialInterface.v timescale.v top.v 
'verilator' is not recognized as an internal or external command,
operable program or batch file.

So Apio isn't able to pick up verilator

That makes sense, according to the install script:
https://github.com/FPGAwars/tools-oss-cad-suite/blob/main/scripts/install_windows_x64.sh#L156

Given that verilator is a Perl script.
The purpose of the script appears to be to attach GDB to the executable, for debugging.

The fix, in my case was to go to C:\Users\username\.apio\packages\tools-oss-cad-suite\bin, remove verilator, and rename verilator_bin.exe to verilator.exe

But in this case, the install script getting changed would be more ideal.

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

1 participant