aboutsummaryrefslogtreecommitdiffstats
path: root/picorv32.v
diff options
context:
space:
mode:
authorTom Verbeure <tom_verbeure@yahoo.com>2016-08-29 18:00:49 -0700
committerTom Verbeure <tom_verbeure@yahoo.com>2016-08-29 18:00:49 -0700
commit9201bff2ef56b66e10dc9c56fe431b6f436f0c8f (patch)
tree71f0c9db600c9d7866554a2df0b7c43b1215756a /picorv32.v
parent9d13c05dd210252e540179c8f1d120c89a26289a (diff)
downloadpicorv32-9201bff2ef56b66e10dc9c56fe431b6f436f0c8f.tar.gz
picorv32-9201bff2ef56b66e10dc9c56fe431b6f436f0c8f.zip
Reduce rs1, rs2 from 64 to 33 bits to make life for synthesis tools easier.
Diffstat (limited to 'picorv32.v')
-rw-r--r--picorv32.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/picorv32.v b/picorv32.v
index d4fb656..2af50e8 100644
--- a/picorv32.v
+++ b/picorv32.v
@@ -1889,7 +1889,8 @@ module picorv32_pcpi_fast_mul (
wire instr_rs2_signed = |{instr_mulh};
reg active1, active2, shift_out;
- reg [63:0] rs1, rs2, rd;
+ reg [32:0] rs1, rs2;
+ reg [63:0] rd;
always @* begin
instr_mul = 0;