From: Luke Kenneth Casson Leighton Date: Mon, 14 Feb 2022 14:02:40 +0000 (+0000) Subject: add wishbone slave signal to downconvert if present X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=894b136c96c749ade3d61e1322a8667a285fdd37;p=soc.git add wishbone slave signal to downconvert if present --- diff --git a/src/soc/bus/wb_downconvert.py b/src/soc/bus/wb_downconvert.py index 2fe2a921..5b41f9a9 100644 --- a/src/soc/bus/wb_downconvert.py +++ b/src/soc/bus/wb_downconvert.py @@ -104,6 +104,10 @@ class WishboneDownConvert(Elaboratable): comb += slave.cti.eq(2) comb += slave.adr.eq(Cat(counter, master.adr)) + # stall + if hasattr(slave, 'stall'): + comb += slave.stall.eq(master.stall) + # write Datapath - select fragments of data, depending on "counter" with m.Switch(counter): slen = slave.sel.width