zl程序教程

您现在的位置是:首页 >  硬件

当前栏目

【数字IC/FPGA】Booth乘法器

IC 数字 FPGA
2023-09-14 09:16:17 时间

Booth算法原理

以4bit有符号乘法(A=0111乘以B=0010)为例:
在这里插入图片描述
在这里插入图片描述

代码实现

booth算法的system verilog实现

module booth_mult(
    input logic clk,
    input logic rst,
    input logic signed [7:0] a,
    input logic