From 99bc99a1c92022c3bf932c5f18402bfa2d7322c2 Mon Sep 17 00:00:00 2001 From: Rob Taylor Date: Sat, 5 Jul 2025 21:52:41 +0100 Subject: [PATCH] add ability to set power domain for uart --- amaranth_orchard/io/uart.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'])), })