aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/chacha.v4
-rw-r--r--src/rtl/chacha_core.v4
-rw-r--r--src/rtl/chacha_qr.v1
-rw-r--r--src/tb/tb_chacha_qr.v1
4 files changed, 2 insertions, 8 deletions
diff --git a/src/rtl/chacha.v b/src/rtl/chacha.v
index 435555b..ec67d24 100644
--- a/src/rtl/chacha.v
+++ b/src/rtl/chacha.v
@@ -233,8 +233,8 @@ module chacha(
begin
if (address == ADDR_CTRL)
begin
- init_new <= write_data[CTRL_INIT_BIT];
- next_new <= write_data[CTRL_NEXT_BIT];
+ init_new = write_data[CTRL_INIT_BIT];
+ next_new = write_data[CTRL_NEXT_BIT];
end
if (address == ADDR_KEYLEN)
diff --git a/src/rtl/chacha_core.v b/src/rtl/chacha_core.v
index 20aecec..47234bf 100644
--- a/src/rtl/chacha_core.v
+++ b/src/rtl/chacha_core.v
@@ -195,7 +195,6 @@ module chacha_core(
//----------------------------------------------------------------
chacha_qr qr0(
.clk(clk),
- .reset_n(reset_n),
.a(qr0_a),
.b(qr0_b),
@@ -210,7 +209,6 @@ module chacha_core(
chacha_qr qr1(
.clk(clk),
- .reset_n(reset_n),
.a(qr1_a),
.b(qr1_b),
@@ -225,7 +223,6 @@ module chacha_core(
chacha_qr qr2(
.clk(clk),
- .reset_n(reset_n),
.a(qr2_a),
.b(qr2_b),
@@ -240,7 +237,6 @@ module chacha_core(
chacha_qr qr3(
.clk(clk),
- .reset_n(reset_n),
.a(qr3_a),
.b(qr3_b),
diff --git a/src/rtl/chacha_qr.v b/src/rtl/chacha_qr.v
index 02fe59b..83edd9b 100644
--- a/src/rtl/chacha_qr.v
+++ b/src/rtl/chacha_qr.v
@@ -41,7 +41,6 @@
module chacha_qr(
input wire clk,
- input wire reset_n,
input wire [31 : 0] a,
input wire [31 : 0] b,
diff --git a/src/tb/tb_chacha_qr.v b/src/tb/tb_chacha_qr.v
index 06759d7..2c0de8e 100644
--- a/src/tb/tb_chacha_qr.v
+++ b/src/tb/tb_chacha_qr.v
@@ -76,7 +76,6 @@ module tb_chacha_qr();
//----------------------------------------------------------------
chacha_qr dut(
.clk(tb_clk),
- .reset_n(tb_reset_n),
.a(a),
.b(b),