System Bus Access

125 views
Skip to first unread message

Deepak Panwar

unread,
May 29, 2018, 3:46:30 PM5/29/18
to RISC-V Debug Group
Hi,

We are implementing system bus as part of debug for our RISC-V core. It's not obvious to me from the spec about what will trigger the system bus access. It's seems like writing to the "sbcs" register should trigger the access but it's not explicitly mentioned. Also, since this is also control/status register as well and we might need to update some of those status/control bits without starting a new access. Also, the debugger might want to clear the sberror bits which shouldn't start a bus access. Can someone please clarify exactly when the access will start?

Thanks,
Deepak Panwar

Tim Newsome

unread,
May 30, 2018, 4:28:01 PM5/30/18
to Deepak Panwar, RISC-V Debug Group

Depending on the configuration of sbcs (sbreadonaddr, sbreadondata), accesses to sbaddress0 and sbdata0 will trigger system bus accesses. The Debugger Implementation appendix contains short scan examples on how to read/write memory using the system bus, which hopefully makes it clear when exactly accesses are triggered.

Tim


--
You received this message because you are subscribed to the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+unsubscribe@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/ba5898c1-2cb9-4dfb-9d8f-b4d5bee88d79%40groups.riscv.org.

Reply all
Reply to author
Forward
0 new messages