diff options
Diffstat (limited to 'src/rtl/chacha.v')
-rw-r--r-- | src/rtl/chacha.v | 6 |
1 files changed, 3 insertions, 3 deletions
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 |