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

apio lint fails to find verilated_std.sv #388

Open
obtitus opened this issue Jul 7, 2024 · 1 comment
Open

apio lint fails to find verilated_std.sv #388

obtitus opened this issue Jul 7, 2024 · 1 comment
Labels

Comments

@obtitus
Copy link

obtitus commented Jul 7, 2024

Hi, installed on Ubuntu 22.04.4 LTS

$ python3 --version
Python 3.10.12
$ python3 -m venv venv;source venv/bin/activate;pip install apio
$ apio --version
apio, version 0.9.5
$ apio system --info
Platform: linux_x86_64
$ apio install -a
$ sudo apt-get install iverilog graphviz
$ cd <and/project/directory>
$ apio lint
verilator --lint-only --timing -Wno-TIMESCALEMOD And.v And_top.v And_tb.v
%Error: Cannot find verilated_std.sv containing built-in std:: definitions:/yosyshq/share/verilator/include/verilated_std.sv
%Error: This may be because there's no search path specified with -I<dir>.
... Looked in: 
/yosyshq/share/verilator/include/verilated_std.sv
/yosyshq/share/verilator/include/verilated_std.sv.v
/yosyshq/share/verilator/include/verilated_std.sv.sv
obj_dir//yosyshq/share/verilator/include/verilated_std.sv
obj_dir//yosyshq/share/verilator/include/verilated_std.sv.v
obj_dir//yosyshq/share/verilator/include/verilated_std.sv.sv
%Error: Exiting due to 2 error(s)
scons: *** [hardware] Error 1
====================================================== [ ERROR ] Took 0.11 seconds ======================================================

I have tested all the other commands (that does not require hardware) and apio sim/build/time run fine. Did I miss an install step? I can provide the and files, but its pretty basic :)

@Obijuan Obijuan added the bug label Jul 7, 2024
@Obijuan
Copy link
Member

Obijuan commented Jul 7, 2024

Hi @obtitus, I can confirm that this is a bug. Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants