R
rekz
Guest
Is there a way so I can directly assign Result to take only the 32 LSB
of the resulting Reg1 * Reg2 without having to utilize the mul reg?
As this gives a warning when synthesizing
input signed[31:0] Reg1;
input signed[31:0] Reg2;
output[31:0] Result;
reg signed[31:0] Result;
reg[63:0] mul;
mul = Reg1 * Reg2;
Result = mul[31:0];
of the resulting Reg1 * Reg2 without having to utilize the mul reg?
As this gives a warning when synthesizing
input signed[31:0] Reg1;
input signed[31:0] Reg2;
output[31:0] Result;
reg signed[31:0] Result;
reg[63:0] mul;
mul = Reg1 * Reg2;
Result = mul[31:0];