unexpected keyword argument 'parent_component'
All checks were successful
BUILD / test (push) Successful in 1m44s

This commit is contained in:
Lukáš Plevač 2025-01-15 19:33:13 +01:00
parent cf4a6ccc52
commit db25df54cd

View File

@ -209,7 +209,7 @@ class partialAdder(TwoInputOneBitCircuit):
generate_and = AndGate(a, b, prefix=self.prefix+"_and"+str(self.get_instance_num(cls=AndGate)), outid=1, parent_component=self)
self.add_component(generate_and)
fa = FullAdder(a, b, cin, prefix=self.prefix+"_fa" +str(self.get_instance_num(cls=FullAdder)), parent_component=self)
fa = FullAdder(a, b, cin, prefix=self.prefix+"_fa" +str(self.get_instance_num(cls=FullAdder)))
self.add_component(fa)
self.out.connect(0, propagate_or.out)