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

compile hw/unit_test failed #3

Closed
zhangruiidol2013 opened this issue Jun 3, 2024 · 0 comments
Closed

compile hw/unit_test failed #3

zhangruiidol2013 opened this issue Jun 3, 2024 · 0 comments

Comments

@zhangruiidol2013
Copy link

hi , i try to run the test case under the unit_test. but failed. the log is :
verilator --build --exe --cc VX_raster_qe.sv --top-module VX_raster_qe --language 1800-2009 --assert -Wall -Wno-DECLFILENAME -Wno-REDEFMACRO --x-initial unique --x-assign unique -Wno-UNUSED -Wno-UNDRIVEN -I../../../rtl -I../../../dpi -I../../../rtl/libs -I../../../rtl/interfaces -I../../../rtl/cache -I../../../rtl/fpu -I../../../dpi/.. -I../../../rtl/tex -I../../../rtl/raster -I../../../rtl/om -j 40 --trace --trace-structs -DDBG_TRACE_CORE_PIPELINE -DDBG_TRACE_CORE_ICACHE -DDBG_TRACE_CORE_DCACHE -DDBG_TRACE_CORE_MEM -DDBG_TRACE_CACHE_BANK -DDBG_TRACE_CACHE_MSHR -DDBG_TRACE_CACHE_TAG -DDBG_TRACE_CACHE_DATA -DDBG_TRACE_AFU -DDBG_TRACE_SCOPE -DDBG_TRACE_TEX -DDBG_TRACE_RASTER -DDBG_TRACE_OM -DVCD_OUTPUT testbench.cpp ../../../dpi/util_dpi.cpp -CFLAGS '-std=c++11 -Wall -Wextra -Wfatal-errors -Wno-array-bounds -Wno-maybe-uninitialized -I../../../dpi/.. -I../../../dpi -I../../../dpi/../common -I/nethome/vsaxena36/vortex-dev/hw -g -O0 -DDBG_TRACE_CORE_PIPELINE -DDBG_TRACE_CORE_ICACHE -DDBG_TRACE_CORE_DCACHE -DDBG_TRACE_CORE_MEM -DDBG_TRACE_CACHE_BANK -DDBG_TRACE_CACHE_MSHR -DDBG_TRACE_CACHE_TAG -DDBG_TRACE_CACHE_DATA -DDBG_TRACE_AFU -DDBG_TRACE_SCOPE -DDBG_TRACE_TEX -DDBG_TRACE_RASTER -DDBG_TRACE_OM -DVCD_OUTPUT' -o ../VX_raster_qe
%Error-PKGNODECL: ../../../rtl/raster/VX_raster_qe.sv:23:28: Package/class 'VX_raster_pkg' not found, and needs to be predeclared (IEEE 1800-2023 26.3)
23 | module VX_raster_qe import VX_raster_pkg::; #(
| ^~~~~~~~~~~~~
... For error description see https://verilator.org/warn/PKGNODECL?v=5.025
%Error: ../../../rtl/raster/VX_raster_qe.sv:23:28: Importing from missing package 'VX_raster_pkg'
23 | module VX_raster_qe import VX_raster_pkg::
; #(
| ^~~~~~~~~~~~~
%Error: Exiting due to 2 error(s)
... See the manual at https://verilator.org/verilator_doc.html for more assistance.
make: *** [Makefile:63: VX_raster_qe] 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