diff --git a/lib/src/arithmetic/multiplier.dart b/lib/src/arithmetic/multiplier.dart index 52f47f51..b6c1b6af 100644 --- a/lib/src/arithmetic/multiplier.dart +++ b/lib/src/arithmetic/multiplier.dart @@ -265,7 +265,6 @@ class CompressionTreeMultiplier extends Multiplier { selectSignedMultiplier: selectSignedMultiplier, signedMultiplier: signedMultiplier, ); - final compressor = ColumnCompressor( clk: clk, reset: reset, @@ -273,7 +272,6 @@ class CompressionTreeMultiplier extends Multiplier { pp, use42Compressors: use42Compressors) ..compress(); - final adder = ParallelPrefixAdder( compressor.extractRow(0), compressor.extractRow(1), ppGen: ppTree); diff --git a/test/arithmetic/multiplier_test.dart b/test/arithmetic/multiplier_test.dart index b5fb4240..6056a2b0 100644 --- a/test/arithmetic/multiplier_test.dart +++ b/test/arithmetic/multiplier_test.dart @@ -660,9 +660,7 @@ void main() { c.put(bC); final multiplier = CompressionTreeMultiplyAccumulate(a, b, c, radix, - signedMultiplicand: signed, - signedMultiplier: signed, - signedAddend: true); + signedMultiplicand: signed, signedMultiplier: signed); final accumulate = multiplier.accumulate; expect(accumulate.value.toBigInt(), equals(golden)); }