EvaluateLivePartialProduct extension

Debug routines for printing out partial product matrix during simulation with live logic values.

on

Methods

evaluate() → BigInt

Available on PartialProductGeneratorBase, provided by the EvaluateLivePartialProduct extension

Accumulates the current partial products without adding hardware.
markdown({bool bitvector = false, bool value = true}) → String

Available on PartialProductGeneratorBase, provided by the EvaluateLivePartialProduct extension

Print out the partial product matrix. bitvector = true will print out a compact bitvector to the right. value = true will print out the value of each row as 'unsigned (signed)'.
representation({bool markDown = false, bool bitvector = false, bool value = true}) → String

Available on PartialProductGeneratorBase, provided by the EvaluateLivePartialProduct extension

Return a string representation of the partial product array. S = Sign bit positive polarity = 1 final value). s = Sign bit positive polarity = 0 final value). I = Sign bit negative polarity = 1 final value). i = Sign bit negative polarity = 0 (final value). bitvector == true will print out a compact final bitvector array. value == true will print out the numerical value of the bitvector as 'unsigned (signed).