From 894b136c96c749ade3d61e1322a8667a285fdd37 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 14 Feb 2022 14:02:40 +0000 Subject: [PATCH] add wishbone slave signal to downconvert if present --- src/soc/bus/wb_downconvert.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2