Skip to content

Latest commit

 

History

History

Day-36

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

In this Verilog module:

  • clk is the clock signal.
  • rst is the reset signal.
  • multiplicand is the 4-bit input multiplicand.
  • multiplier is the 4-bit input multiplier.
  • product is the 8-bit output product.

This module implements Booth's algorithm for binary multiplication. It uses an accumulator to keep track of the product and shifts the multiplier and multiplier register rightward as the algorithm progresses. Depending on the bits of the multiplier and the multiplier register, it either adds or subtracts the multiplicand from the accumulator.