diff --git a/amaranth_orchard/io/uart.py b/amaranth_orchard/io/uart.py index 79dc5cf..8c9ca66 100644 --- a/amaranth_orchard/io/uart.py +++ b/amaranth_orchard/io/uart.py @@ -45,7 +45,7 @@ def elaborate(self, platform): ] with m.If(self.symbols.ready): - m.d.sync += self.symbols.valid.eq(0) + m.d.sync += self.symbols.valid.eq(0) m.d.comb += [ lower.i.eq(self._port.i), @@ -123,8 +123,8 @@ class UARTPeripheral(wiring.Component): class Signature(wiring.Signature): def __init__(self): super().__init__({ - "tx": Out(OutputIOSignature(1)), - "rx": Out(InputIOSignature(1)), + "tx": Out(OutputIOSignature(1, interface_power_domains=['default'])), + "rx": Out(InputIOSignature(1, interface_power_domains=['default'])), })