aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/chacha.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl/chacha.v')
-rw-r--r--src/rtl/chacha.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl/chacha.v b/src/rtl/chacha.v
index 360ff1a..435555b 100644
--- a/src/rtl/chacha.v
+++ b/src/rtl/chacha.v
@@ -170,7 +170,7 @@ module chacha(
// All registers are positive edge triggered with asynchronous
// active low reset. All registers have write enable.
//----------------------------------------------------------------
- always @ (posedge clk)
+ always @ (posedge clk or negedge reset_n)
begin : reg_update
integer i;
if (!reset_n)