mirror of https://github.com/YosysHQ/picorv32.git
Bugfix in picorv32_pcpi_fast_mul
This commit is contained in:
parent
b9ed4364d4
commit
bfba9b3eb3
|
@ -1909,7 +1909,7 @@ module picorv32_pcpi_fast_mul (
|
||||||
end
|
end
|
||||||
|
|
||||||
always @(posedge clk) begin
|
always @(posedge clk) begin
|
||||||
rd <= rs1 * rs2;
|
rd <= $signed(rs1) * $signed(rs2);
|
||||||
end
|
end
|
||||||
|
|
||||||
always @(posedge clk) begin
|
always @(posedge clk) begin
|
||||||
|
|
Loading…
Reference in New Issue