From 0be8d981549ef54e10093215635b97d8b1e177c3 Mon Sep 17 00:00:00 2001 From: Justin Berger Date: Fri, 23 Aug 2024 16:38:25 -0600 Subject: [PATCH] Add timeout to wb crossbar --- litex/soc/interconnect/wishbone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/interconnect/wishbone.py b/litex/soc/interconnect/wishbone.py index 5e600b261..57eead4df 100644 --- a/litex/soc/interconnect/wishbone.py +++ b/litex/soc/interconnect/wishbone.py @@ -317,8 +317,8 @@ class Crossbar(LiteXModule): columns[slave[2]].append(interface) row.append((slave[0], interface)) - - self.submodules += Decoder(master, row, register) + self.submodules += Decoder(master, row, register) + self.submodules += Timeout(master, timeout_cycles) # arbitrate each access column onto its slave for (match, bus, name) in slaves: