-
Notifications
You must be signed in to change notification settings - Fork 307
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
Match Trigger (type2) tdata1.timing field may be too restricted #1021
Comments
Did you mean |
Thank you for highlighting the issue! Your suggestion will cause some troubles with chained triggers: if The But there is still the issue, of |
Yes right ^^
Right. That would be great to have :D
Ahhh i also need those. |
It most definitely would, however, do you have an access to a HW/simulator that does support such triggers? AFAIK, Spike does not.
I don't see this as a workaround. In fact, I think this is the preferred approach. Currently, the |
I'm working on adding trigger / watchpoint support in VexRiscv (HW cpu). My first implementation was about implementing all the address / data triggers to happen after the instruction, but that doesn't work well with GDB, as it kinda realy expect address trigger to cancel the instruction commit. |
Related to #556 |
Hi,
Currently, if you use a match trigger type 2 on a load/store address, the riscv openocd port only accept implementation with tdata1.timing=0
It is done on purpose ? or maybe we could add the tdata1.timing bit in the match_triggers_tdata1_fields.tdata1_ignore_mask ?
riscv-openocd/src/target/riscv/riscv.c
Line 967 in ca7d882
Regards
The text was updated successfully, but these errors were encountered: