[Cryptech-Commits] [core/pkey/ecdsa256] branch master updated: Minor cleanup.

git at cryptech.is git at cryptech.is
Sun Apr 1 20:39:41 UTC 2018


This is an automated email from the git hooks/post-receive script.

meisterpaul1 at yandex.ru pushed a commit to branch master
in repository core/pkey/ecdsa256.

The following commit(s) were added to refs/heads/master by this push:
     new 0aafcec  Minor cleanup.
0aafcec is described below

commit 0aafcece449b2ee806b9c08ae10fb7fb498d893d
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Sun Apr 1 21:25:26 2018 +0300

    Minor cleanup.
---
 rtl/ecdsa256_wrapper.v | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rtl/ecdsa256_wrapper.v b/rtl/ecdsa256_wrapper.v
index db043d0..1684599 100644
--- a/rtl/ecdsa256_wrapper.v
+++ b/rtl/ecdsa256_wrapper.v
@@ -138,8 +138,8 @@ module ecdsa256_wrapper
            //
            case (addr_lsb)
              //
-             ADDR_CONTROL: reg_control <= write_data[1];
-	     ADDR_DUMMY:   reg_dummy   <= write_data[31:0];
+             ADDR_CONTROL: reg_control <= write_data[CONTROL_NEXT_BIT];
+	     ADDR_DUMMY:   reg_dummy   <= write_data;
              //
            endcase
            //
@@ -169,7 +169,7 @@ module ecdsa256_wrapper
    // Register / Core Memory Selector
    //
    reg addr_msb_last;
-   always @(posedge clk) addr_msb_last = addr_msb;
+   always @(posedge clk) addr_msb_last <= addr_msb;
 
    assign read_data = (addr_msb_last == ADDR_MSB_REGS) ? tmp_read_data : read_data_core;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list