Adder
Subtractor
Multiplier
Squarer
Wallace trees
Simple register
All inputs and outputs are in 2's complement format except for Wallace trees.
A-operand bit width
B-operand bit width
Registers on Input
Output
Both
None
Booth recoding (multiplier and squarer) Yes
No
Pipelining (multiplier, squarer and Wallace trees):
No
Yes, 1 step (between Wallace trees and merging adder)
Yes, 2 steps (before and after Wallace trees)
Yes, inside Wallace trees every
full adder level, with first pipeline
after level
(where the range is 1..Maxlevel and Maxlevel can be determined by a pre-run of Modgen with Verbose)
Truncation
No
Yes, remove
LSBs,
Accumulate (multiplier and squarer)
No
Yes, width
bits
Carry save output (multiplier and squarer)
No
Yes
Customized Wallace trees
No
Yes, spec col heights (MSB to LSB)
Yes, spec bit widths (align on LSB)
(e.g. 2 2 3)
Output format VHDL
VHDL with std_logic
Verilog
Verbose Yes
No
Johnny Pihl 1998
Disclaimer: This service is provided "as is". Although most of the modules have been tested and verified, NTNU cannot guarantee that there are no discrepancies.