上传者: wangpei159
|
上传时间: 2019-12-21 21:34:45
|
文件大小: 3KB
|
文件类型: txt
Booth乘法器及测试
8*8bit booth 乘法器及测试
module multiplier(prod, busy, mc, mp, clk, start);
output [15:0] prod;// short for product
output busy;
input [7:0] mc, mp;// multiplicand multipier
input clk, start;
reg [7:0] A, Q, M;
reg Q_1;
reg [3:0] count;