[HDL] Bug fix in HDL modeling of multi-mode 16-bit DSP block
This commit is contained in:
parent
a3a98fa21d
commit
8b8096f3a8
|
@ -13,7 +13,7 @@ module frac_mult_16x16 (
|
||||||
output [0:31] out,
|
output [0:31] out,
|
||||||
input [0:0] mode);
|
input [0:0] mode);
|
||||||
|
|
||||||
reg [0:63] out_reg;
|
reg [0:31] out_reg;
|
||||||
|
|
||||||
always @(mode, a, b) begin
|
always @(mode, a, b) begin
|
||||||
if (1'b1 == mode) begin
|
if (1'b1 == mode) begin
|
||||||
|
|
Loading…
Reference in New Issue