From 18e102cddcad3932c6e46ef0b294312799eee6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Fri, 26 Sep 2014 15:02:33 +0200 Subject: Update of ChaCha with fixes found during synthesis. --- src/rtl/chacha.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rtl/chacha.v') diff --git a/src/rtl/chacha.v b/src/rtl/chacha.v index c83710d..8fd58f4 100644 --- a/src/rtl/chacha.v +++ b/src/rtl/chacha.v @@ -295,10 +295,10 @@ module chacha( //---------------------------------------------------------------- // reg_update // Update functionality for all registers in the core. - // All registers are positive edge triggered with synchronous - // active low reset. All registers have write enable. + // All registers are positive edge triggered with asynchronous + // active low reset. //---------------------------------------------------------------- - always @ (posedge clk) + always @ (posedge clk or negedge reset_n) begin if (!reset_n) begin -- cgit v1.2.3