Hi, I am trying to use the wishbone bus to communicate between the user module and RISC V processor. I was wondering about the behavior of the processor when a request is not completed immediately (o_wb_ack is not immediately high). Are writes/reads to the user area address blocking or nonblocking?
t
Tim Edwards
10/24/2023, 7:00 PM
All wishbone accesses will block the CPU until the peripheral signals
o_wb_ack
. The peripheral can claim as many clock cycles as it needs to complete the read or write.
a
Angela Cui
10/24/2023, 7:01 PM
Thank you!
Angela Cui
10/24/2023, 8:16 PM
If the peripheral is stalling, will the CPU continue asserting the request over wishbone every cycle, or will the request only be asserted once?
m
Matt Venn
10/26/2023, 9:44 AM
Try the wb simulation in verilog/dv/
Matt Venn
10/26/2023, 9:45 AM
You can change the example design to add a few clock cycles to the request and see what happens
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.