From: Luke Kenneth Casson Leighton Date: Tue, 21 Apr 2020 18:07:06 +0000 (+0000) Subject: recursive test of get_net_connections X-Git-Tag: partial-core-ls180-gdsii~127 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c3f4790fe70ab3b9d72c22fab67f35706c4b4ca;p=soclayout.git recursive test of get_net_connections --- diff --git a/experiments7/doAlu16.py b/experiments7/doAlu16.py index 71d465b..19bf8f7 100755 --- a/experiments7/doAlu16.py +++ b/experiments7/doAlu16.py @@ -157,8 +157,8 @@ class ALU16(Module): self.create_pins() - find = self.get_net_connections(['add_o(0)', 'sub_o(0)', 'o(0)'], - ['clk', 'rst']) + find = self.get_net_connections(['add_o(1)', 'sub_o(1)', 'o(1)'], + ['clk', 'rst', 'op']) print (find) sys.exit(0) find = self.get_net_connections(['o_next(0)'], @@ -224,8 +224,8 @@ class ALU16(Module): if search_more: print("more", search_more) new_found = find + already_found - #more = self.get_net_connections(search_more, new_found) - #res.update(more) + more = self.get_net_connections(search_more, new_found) + res.update(more) return res