diff options
author | Joachim StroĢmbergson <joachim@assured.se> | 2019-02-07 14:30:01 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@assured.se> | 2019-02-07 14:30:01 +0100 |
commit | de3f38a835ad9ac5ad8b6153a6b363c23641a3f8 (patch) | |
tree | d0f41bbfab2ac98ae59012d294e15bd71317491e /src/rtl/chacha_core.v | |
parent | 447efe94126531908899a0749a21766534d78965 (diff) |
Change reset to asynch assert. This matches comment. It also matches what is used in the TRNG core where the chacha core is instantiated. Also removed reset from the pipeline registers.
Diffstat (limited to 'src/rtl/chacha_core.v')
-rw-r--r-- | src/rtl/chacha_core.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl/chacha_core.v b/src/rtl/chacha_core.v index cc91327..20aecec 100644 --- a/src/rtl/chacha_core.v +++ b/src/rtl/chacha_core.v @@ -269,7 +269,7 @@ module chacha_core( // All registers are positive edge triggered with synchronous // active low reset. All registers have write enable. //---------------------------------------------------------------- - always @ (posedge clk) + always @ (posedge clk or negedge reset_n) begin : reg_update integer i; |