diff --git a/migen/genlib/cdc.py b/migen/genlib/cdc.py index 632b337eb..eac3341b7 100644 --- a/migen/genlib/cdc.py +++ b/migen/genlib/cdc.py @@ -30,6 +30,13 @@ class MultiReg(Special): self.odomain = odomain self.n = n + def rename_clock_domain(self, old, new): + if self.odomain == old: + self.odomain = new + + def get_clock_domains(self): + return {self.odomain} + def list_ios(self, ins, outs, inouts): r = set() if ins: