From 11aa95312b12965efa4b8e9d2ce5633cd28d038c Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 14 Dec 2018 12:59:54 +0000 Subject: [PATCH] fhdl.ir: oops, we defined DomainError twice. --- nmigen/fhdl/ir.py | 6 +----- nmigen/fhdl/xfrm.py | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/nmigen/fhdl/ir.py b/nmigen/fhdl/ir.py index 519f69b..7004925 100644 --- a/nmigen/fhdl/ir.py +++ b/nmigen/fhdl/ir.py @@ -5,11 +5,7 @@ from .ast import * from .cd import * -__all__ = ["Fragment", "DomainError"] - - -class DomainError(Exception): - pass +__all__ = ["Fragment"] class Fragment: diff --git a/nmigen/fhdl/xfrm.py b/nmigen/fhdl/xfrm.py index 9c99cce..bbfe5cf 100644 --- a/nmigen/fhdl/xfrm.py +++ b/nmigen/fhdl/xfrm.py @@ -3,6 +3,7 @@ from collections import OrderedDict, Iterable from ..tools import flatten from .ast import * from .ast import _StatementList +from .cd import * from .ir import * -- 2.30.2