?? multiply_test.v
字號:
module multiply_test();
parameter width=8; //lungimea operanzilor
parameter width1=16; //lungimea produsului, dublul operanzilor
wire [width-1:0] a,b;
wire ck,reset,ld,tercnt;
wire [width1-1:0] produs;
multiply #(width,width1) DUT(.ck(ck),
.reset(reset),
.ld(ld),
.a(a),
.b(b),
.produs(produs),
.tercnt(tercnt)
);
multiply_tb #width TB(.ck(ck),
.reset(reset),
.ld(ld),
.a(a),
.b(b)
);
endmodule
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -