[Cryptech-Commits] [core/platform/common] branch master updated: The new keywrap core now talks directly to the mkmif core.
git at cryptech.is
git at cryptech.is
Wed Apr 29 16:52:17 UTC 2020
This is an automated email from the git hooks/post-receive script.
paul at psgd.org pushed a commit to branch master
in repository core/platform/common.
The following commit(s) were added to refs/heads/master by this push:
new bca3d79 The new keywrap core now talks directly to the mkmif core.
bca3d79 is described below
commit bca3d797bc904f5d35f4babbefc0001336bf0eef
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Tue Apr 28 12:17:11 2020 -0400
The new keywrap core now talks directly to the mkmif core.
---
config/core.cfg | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/config/core.cfg b/config/core.cfg
index 96cae6c..64f9baa 100644
--- a/config/core.cfg
+++ b/config/core.cfg
@@ -39,7 +39,6 @@ extra wires =
input wire mkm_do,
output wire mkm_di,
input wire core_clk,
-requires = mkmif/dummy-mkmif
[board dev-bridge]
# Cryptech dev-bridge board - a Novena daughterboard that talks to the
@@ -77,7 +76,10 @@ cores = sha256 aes trng modexp mkmif
[project hsm]
# Make me one with everything
-cores = mkmif keywrap modexp trng ecdsa256 ecdsa384 sha1 sha256 sha512
+cores = keywrap modexp trng ecdsa256 ecdsa384 sha1 sha256 sha512
+
+[project hsm-keywrap-mkmif]
+cores = keywrap modexp trng
# [core] sections
#
@@ -283,14 +285,6 @@ vfiles =
util/mkmif/src/rtl/mkmif_core.v
util/mkmif/src/rtl/mkmif_spi.v
-[core dummy-mkmif]
-# Dummy wires if the mkmif core isn't present, so we don't have unsourced
-# outputs.
-dummy =
- assign mkm_sclk = 0;
- assign mkm_cs_n = 0;
- assign mkm_di = 0;
-
[core ecdsa256]
# ECDSA-P256 point multipler
# I *think* this all fits in one 256-register core block (see address map in ecdsa256/README.md)
@@ -352,13 +346,19 @@ vfiles =
[core keywrap]
# AES-keywrap core
-requires = aes
+requires = aes mkmif
parameter ADDR_BITS = 12
core blocks = 16
block memory = yes
error wire = yes
module name = keywrap
+extra ports =
+ .mkm_spi_sclk(mkm_sclk),
+ .mkm_spi_cs_n(mkm_cs_n),
+ .mkm_spi_do(mkm_do),
+ .mkm_spi_di(mkm_di),
vfiles =
util/keywrap/src/rtl/keywrap.v
util/keywrap/src/rtl/keywrap_core.v
+ util/keywrap/src/rtl/keywrap_mkmif.v
util/keywrap/src/rtl/keywrap_mem.v
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Commits
mailing list