diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2018-04-01 21:25:26 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2018-04-01 21:25:26 +0300 |
commit | 0aafcece449b2ee806b9c08ae10fb7fb498d893d (patch) | |
tree | f8be8ca02eba7e5ad988990e3b057aded7ff3a66 /rtl | |
parent | 89f913c3aa2a6dad35630f3882a06b99e0978105 (diff) |
Minor cleanup.
Diffstat (limited to 'rtl')
-rw-r--r-- | rtl/ecdsa256_wrapper.v | 6 |
1 files 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; |