aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-04-21 16:25:29 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-04-21 16:25:29 +0200
commit868b1ce72e4459f333aaac24de0b1db428143b0d (patch)
treea07988e656a9c185f19cf958c15ca465f5da2f1b /src
parent13294d20e8f1778594822e058f835614ace4faf7 (diff)
Fixed incorrect types.
Diffstat (limited to 'src')
-rw-r--r--src/rtl/modexp.v7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rtl/modexp.v b/src/rtl/modexp.v
index dbf65b3..d64a556 100644
--- a/src/rtl/modexp.v
+++ b/src/rtl/modexp.v
@@ -225,11 +225,10 @@ module modexp(
reg residue_calculate;
wire residue_ready;
- //wire residue_wire; ?
- reg [14 : 0] residue_nn;
- wire [07 : 0] residue_length;
+ reg [14 : 0] residue_nn;
+ reg [07 : 0] residue_length;
wire [07 : 0] residue_opa_rd_addr;
- reg [31 : 0] residue_opa_rd_data;
+ wire [31 : 0] residue_opa_rd_data;
wire [07 : 0] residue_opa_wr_addr;
wire [31 : 0] residue_opa_wr_data;
wire residue_opa_wr_we;