uart2wishbone: fix missing payload.d
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 16 Oct 2014 07:37:43 +0000 (09:37 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 16 Oct 2014 07:37:43 +0000 (09:37 +0200)
miscope/uart2wishbone.py

index f2c579be2732be0d08bb09a53566d579b71bec88..9f61693dc039e3be6ce0dc2d3cce8d41ab215596 100644 (file)
@@ -189,7 +189,7 @@ class UART2Wishbone(Module, AutoCSR):
                                )
                        ),
                        uart.tx.sink.stb.eq(1),
-                       chooser(data, word_cnt.value, uart.tx.sink.d, n=4, reverse=True)
+                       chooser(data, word_cnt.value, uart.tx.sink.payload.d, n=4, reverse=True)
                )
 
                ###