[Cryptech-Commits] [user/js/keywrap] branch increase_api_addr_space updated: We probably want to be able to read data too.

git at cryptech.is git at cryptech.is
Fri Aug 24 09:23:33 UTC 2018


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

joachim at secworks.se pushed a commit to branch increase_api_addr_space
in repository user/js/keywrap.

The following commit(s) were added to refs/heads/increase_api_addr_space by this push:
     new e236151  We probably want to be able to read data too.
e236151 is described below

commit e2361519ca65645875bf0b533cf9e4726c4e2adf
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Fri Aug 24 11:23:06 2018 +0200

    We probably want to be able to read data too.
---
 src/rtl/keywrap.v | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rtl/keywrap.v b/src/rtl/keywrap.v
index e0bda45..dc18d92 100644
--- a/src/rtl/keywrap.v
+++ b/src/rtl/keywrap.v
@@ -270,7 +270,7 @@ module keywrap #(parameter ADDR_BITS = 15)
       api_rd_delay_new = 32'h0;
 
       // api_mux
-      if (address[7])
+      if (address[(ADDR_BITS - 1)])
         tmp_read_data = core_api_rd_data;
       else
         tmp_read_data = api_rd_delay_reg;

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


More information about the Commits mailing list