add intermediary signal to track things down
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 16 Nov 2021 00:36:17 +0000 (00:36 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 16 Nov 2021 00:36:17 +0000 (00:36 +0000)
src/spec/testing_stage1.py

index fbdf8447a8f0fc107bfc39e49c39d2782084f41e..dcf8bf6a0a689b7ada73997f51e0736d0c38b335 100644 (file)
@@ -112,7 +112,9 @@ class Blinker(Elaboratable):
         # get the UART resource, mess with the output tx
         uart = platform.request('uart')
         print (uart, uart.fields)
-        m.d.comb += uart.tx.eq(uart.rx)
+        intermediary = Signal()
+        m.d.comb += uart.tx.eq(intermediary)
+        m.d.comb += intermediary.eq(uart.rx)
         return m