diff --git a/litex/soc/interconnect/packet.py b/litex/soc/interconnect/packet.py index ac7a0bf1e..2886164de 100644 --- a/litex/soc/interconnect/packet.py +++ b/litex/soc/interconnect/packet.py @@ -62,7 +62,7 @@ class Dispatcher(Module): def __init__(self, master, slaves, one_hot=False): if len(slaves) == 0: self.sel = Signal() - elif len(slaves) == 1: + elif len(slaves) == 1 and not one_hot: self.comb += master.connect(slaves.pop()) self.sel = Signal() else: