hdl.dsl: add clock domain support.

This commit is contained in:
whitequark 2018-12-16 23:51:24 +00:00
parent b2f828387a
commit 015998eba9
4 changed files with 44 additions and 15 deletions

View file

@ -90,7 +90,7 @@ class _CompatModuleClockDomains(_CompatModuleProxy):
@deprecated("TODO")
def __iadd__(self, other):
self._cm._fragment.clock_domains += _flat_list(other)
self._cm._module.domains += _flat_list(other)
return self