From 5c3f4790fe70ab3b9d72c22fab67f35706c4b4ca Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 21 Apr 2020 18:07:06 +0000 Subject: [PATCH] recursive test of get_net_connections --- experiments7/doAlu16.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2