-
Notifications
You must be signed in to change notification settings - Fork 2
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
[ERROR] Failed to register evaluation callback #38
Comments
If it matters, I will share one other point about the setup. Because I haven't been able to get remote debug working (Kuree/hgdb-debugger#9), I set up the debugger with VCS on the remote machine, but ran VS Code on the local machine (with port forwarding to the remote port 8888). The code on the local machine is on the exact same commit as the code used to generate the debug symbol table on the remote machine. Since CIRCT file locators currently don't use absolute paths, I thought it shouldn't matter, but I could be mistaken. |
This error comes from heuristics that tries to attach the debugging logic to the clock: Lines 1162 to 1169 in f0f876e
which uses the two strategies to obtain the clock signals from the design:
You can see the code here: Lines 578 to 594 in f0f876e
The RocketChip uses the clock signal names that covered by option 2, so it works out fine. I haven't added attribute-based implementation to JSON-based symbol table yet. I will work on this as soon as I can and let you know how to modify the symbol table to use option 1 and see if it helps. |
@mikeurbach Can you try to add design-level clock information to the symbol table? Here is an example: Lines 936 to 941 in b4ea7d0
The |
Thanks for the pointers and the quick turnaround. I will see if I can get the clock annotation to work for this design. |
Hi @Kuree, I was able to get HGDB running with VCS on a design. But when I tried to debug it, I received this error in the VCS logs:
Do you have any idea where that comes from?
The steps I took were:
As the simulation starts, the error is printed out, and now the debugger UI waits. The breakpoint is now marked Unverified Breakpoint:
If I click the step or run button in the UI, the simulation proceeds until complete, but no debugger breakpoint is triggered.
Let me know if you have any idea what could be happening. This is not an open source design, but I can try to reproduce with RocketChip if that would be helpful.
The text was updated successfully, but these errors were encountered: