Someone knows how to setup and use the wishbone interface?
t
Tim Edwards
12/15/2021, 3:13 AM
I have successfully written a number of wishbone interfaces now, all by just using the ones that Mohamed Shalan wrote for the caravel processor. The main thing is to use
cyc
and
stb
correctlly. The slave module can take as long as it wants to perform a read or write operation, and stalls the processor until it raises
ack
.
A fairly simple example is the 1-pin GPIO interface in the Caravel SoC; see
caravel/verilog/rtl/gpio_wb.v
. This module implements a very simple memory-mapped register with read and write.
m
Maximo Balestrini
12/15/2021, 5:14 PM
@User made a short video and demo of the caravel wishbone interface:
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.