From: Sebastien Bourdeauducq Date: Wed, 12 Dec 2012 21:36:45 +0000 (+0100) Subject: replace some forgotten is_abstract() X-Git-Tag: 24jan2021_ls180~2099^2~718 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28b4d99d31b4fb55f375d57553fc267af28e1bb7;p=litex.git replace some forgotten is_abstract() --- diff --git a/migen/flow/network.py b/migen/flow/network.py index c26af1f3..f4cd69b7 100644 --- a/migen/flow/network.py +++ b/migen/flow/network.py @@ -154,7 +154,7 @@ class DataFlowGraph(MultiDiGraph): edges = self.in_edges(a, data=True) assert(len(edges) == 1) other, me, data = edges[0] - if other.is_abstract(): + if isinstance(other, AbstractActor): continue other_ep = data["source"] if other_ep is None: @@ -163,7 +163,7 @@ class DataFlowGraph(MultiDiGraph): edges = self.out_edges(a, data=True) assert(len(edges) == 1) me, other, data = edges[0] - if other.is_abstract(): + if isinstance(other, AbstractActor): continue other_ep = data["sink"] if other_ep is None: