Skip to content
New issue

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

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

Already on GitHub? # to your account

Issue in VTestDriver__Trace__2__Slow.cpp #3672

Open
gituserdeepika opened this issue Aug 18, 2024 · 0 comments
Open

Issue in VTestDriver__Trace__2__Slow.cpp #3672

gituserdeepika opened this issue Aug 18, 2024 · 0 comments

Comments

@gituserdeepika
Copy link

Type of issue: bug report

The generated_src built using https://github.com/ucb-bar/chipyard.git repo has a issue. Noticed this issue with a fresh checkout this morning.
The following file has a issue at line 4794.
./generated-src/chipyard.harness.TestHarness.RocketConfig/chipyard.harness.TestHarness.RocketConfig.debug/VTestDriver__Trace__2__Slow.cpp

Error with make run-binary-debug BINARY=test.riscv is as follows:
VTestDriver__Trace__2__Slow.cpp: In function 'void VTestDriver___024root__trace_init_sub__TOP__4(VTestDriver___024root*, VerilatedVcd*)':
VTestDriver__Trace__2__Slow.cpp:4794:131: error: expected unqualified-id before ',' token
4794 | tracep->declQuad(c+47834,0,"channel",-1, VerilatedTraceSigDirection::NONE, VerilatedTraceSigKind::VAR, VerilatedTraceSigType::, false,-1, 63,0);
| ^
make[1]: *** [/home/dgangana/rocketchip/chipyard/.conda-env/share/verilator/include/verilated.mk:275: VTestDriver__Trace__2__Slow.o] Error 1

Fix tried which worked is as follows:
Changed the line from
tracep->declQuad(c+47834,0,"channel",-1, VerilatedTraceSigDirection::NONE, VerilatedTraceSigKind::VAR, VerilatedTraceSigType::, false,-1, 63,0);
to
tracep->declQuad(c+47834,0,"channel",-1, VerilatedTraceSigDirection::NONE, VerilatedTraceSigKind::VAR, VerilatedTraceSigType::LOGIC, false,-1, 63,0);

Please do the needful.

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

No branches or pull requests

1 participant