From 83ba45ade843f0175bfb095da752dbf230c225a3 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 26 Jan 2019 23:08:55 +0000 Subject: [PATCH] compat.fhdl.module: fix typo. --- nmigen/compat/fhdl/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmigen/compat/fhdl/module.py b/nmigen/compat/fhdl/module.py index dca892e..e81f2b6 100644 --- a/nmigen/compat/fhdl/module.py +++ b/nmigen/compat/fhdl/module.py @@ -54,7 +54,7 @@ class _CompatModuleSync(_CompatModuleProxy): return _CompatModuleSyncCD(self._cm, name) def __setattr__(self, name, value): - if not isinstance(value, _ModuleSyncCD): + if not isinstance(value, _CompatModuleSyncCD): raise AttributeError("Attempted to assign sync property - use += instead") -- 2.30.2