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-build failures #634

Open
andrewshaf opened this issue Nov 13, 2024 · 0 comments
Open

verilator-build failures #634

andrewshaf opened this issue Nov 13, 2024 · 0 comments

Comments

@andrewshaf
Copy link

  1. -Wno-ASSIGNIN needed
  2. Internal Error

rv_gcc_version is 14.2.0
set -eo pipefail; verilator /home/bozo/caliptra/caliptra-rtl/src/integration/tb/test_caliptra_top_tb.cpp /home/bozo/caliptra/caliptra-rtl/src/integration/test_suites/libs/jtagdpi/jtagdpi.c /home/bozo/caliptra/caliptra-rtl/src/integration/test_suites/libs/tcp_server/tcp_server.c --cc -CFLAGS "-std=c++17 -I/home/bozo/caliptra/caliptra-rtl/src/integration/test_suites/libs/jtagdpi/ -I/home/bozo/caliptra/caliptra-rtl/src/integration/test_suites/libs/tcp_server/"
+libext+.v+.sv +define+RV_OPENSOURCE
--timescale 1ns/100ps
--timing
-I/home/bozo/caliptra/scratch/bozo/verilator/20241113
-Wno-WIDTH -Wno-UNOPTFLAT -Wno-LITENDIAN -Wno-CMPCONST -Wno-MULTIDRIVEN -Wno-UNPACKED -Wno-ASSIGNIN
-f /home/bozo/caliptra/caliptra-rtl/src/integration/tb/../config/caliptra_top_tb.vf --top-module caliptra_top_tb
-f /home/bozo/caliptra/caliptra-rtl/src/integration/tb/../config/caliptra_top_tb.vlt
-exe test_caliptra_top_tb.cpp --autoflush --trace --trace-structs
+define+CALIPTRA_INTERNAL_TRNG 2>&1 | tee verilator_build.log
%Error: Internal Error: /home/bozo/caliptra/caliptra-rtl/src/integration/tb/caliptra_top_tb_soc_bfm.sv:187:31: ../V3Fork.cpp:619: Variable's lifetime is unknown. Can't determine if a capture is necessary.
: ... note: In instance 'caliptra_top_tb.soc_bfm_inst'
187 | @(posedge cptra_rst_b)
| ^~~~~~~~~~~
... See the manual at https://verilator.org/verilator_doc.html for more assistance.
make: *** [/home/bozo/caliptra/caliptra-rtl/tools/scripts/Makefile:235: verilator-build] Error 1

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