[Cryptech-Commits] [user/shatov/ecdsa256] branch master updated: Minor cleanup.
git at cryptech.is
git at cryptech.is
Sun Apr 1 10:36:13 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 user/shatov/ecdsa256.
The following commit(s) were added to refs/heads/master by this push:
new 180949c Minor cleanup.
180949c is described below
commit 180949c2d91d9e82a896c8d9f46f3b7541506f52
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Sun Apr 1 13:23:16 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 c6e93ea..0c19848 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