Set SEL when reading
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 20 Jul 2020 11:18:40 +0000 (13:18 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 20 Jul 2020 11:18:40 +0000 (13:18 +0200)
examples/uartbridge.py

index 747f63f6fd5ab41d6dfd0c9c8d092fc4bb1d7cd5..b211a4c2f03e1088bc1593ccf2d2e1a3678a1026 100644 (file)
@@ -102,6 +102,7 @@ class UARTBridge(Elaboratable):
                     self.bus.stb.eq(1),
                     self.bus.we.eq(0),
                     self.bus.cyc.eq(1),
+                    self.bus.sel.eq(0xF),
                 ]
 
                 with m.If(self.bus.ack):