Verilog Booth Multiplier
Go to file
Peter McGoron ab63321e36 bump version 2022-10-23 04:42:35 -04:00
COPYING bump version 2022-10-23 04:42:35 -04:00
Makefile Booth multiplier 2022-08-09 18:13:47 -04:00
README.md bump version 2022-10-23 04:42:35 -04:00
boothmul.v bump version 2022-10-23 04:42:35 -04:00
sim.cpp Booth multiplier 2022-08-09 18:13:47 -04:00

README.md

Booth Multiplier

Sequentially multiply two signed twos-compliment integers in Verilog using the Booth Algorithm.

License

All source code is licensed under the CERN-OHL-W v2 or later.

Usage

Set parameters A1_LEN and A2_LEN to the argument size of the first and second integer. Set A2LEN_SIZ equal to floor(log2(A2_LEN) + 1).

After inputting each integer, pulse arm and wait until fin goes high to retreive the output in outn.

Simulating

Simulation is done with Verilator. Run make.