diff --git a/ariths_gen/multi_bit_circuits/others/popcount_compare.py b/ariths_gen/multi_bit_circuits/others/popcount_compare.py index 1f2095c..3f26875 100644 --- a/ariths_gen/multi_bit_circuits/others/popcount_compare.py +++ b/ariths_gen/multi_bit_circuits/others/popcount_compare.py @@ -73,9 +73,9 @@ class PopCountCompare(GeneralCircuit): prefix=f"{prefix}_popcount2", inner_component=True)).out - N = max(p1.N, p2.N) - p1.bus_extend(N) - p2.bus_extend(N) + #N = max(p1.N, p2.N) + #p1.bus_extend(N) + #p2.bus_extend(N) red = self.add_component(UnsignedCompareGTE(p1, p2, prefix=f"{prefix}_cmp", inner_component = True)) self.out.connect_bus(red.out)