genlib/cdc/MultiReg: implement rename_clock_domain + get_clock_domains

This commit is contained in:
Sebastien Bourdeauducq 2013-03-15 19:50:24 +01:00
parent e2d156ef64
commit 2f522bdd9f

View file

@ -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: