projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3adce21
)
compat.fhdl.module: implement some TODO'd deprecation warnings.
author
whitequark
<whitequark@whitequark.org>
Tue, 4 Jun 2019 12:00:02 +0000
(12:00 +0000)
committer
whitequark
<whitequark@whitequark.org>
Tue, 4 Jun 2019 12:00:02 +0000
(12:00 +0000)
nmigen/compat/fhdl/module.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/fhdl/module.py
b/nmigen/compat/fhdl/module.py
index 26feb16debf33031f67796a832da27365161be7f..43ca8fb301cd79958a2170c07fbce24ec9b38d95 100644
(file)
--- a/
nmigen/compat/fhdl/module.py
+++ b/
nmigen/compat/fhdl/module.py
@@
-83,12
+83,12
@@
class _CompatModuleSubmodules(_CompatModuleProxy):
class _CompatModuleClockDomains(_CompatModuleProxy):
- @deprecated("
TODO
")
+ @deprecated("
instead of `self.clock_domains.<name> =`, use `m.domains.<name> =`
")
def __setattr__(self, name, value):
self.__iadd__(value)
setattr(self._cm, name, value)
- @deprecated("
TODO
")
+ @deprecated("
instead of `self.clock_domains +=`, use `m.domains +=`
")
def __iadd__(self, other):
self._cm._module.domains += _flat_list(other)
return self