[Cryptech-Commits] [core/util/keywrap] 26/37: Adding vendor mem model.

git at cryptech.is git at cryptech.is
Wed Apr 29 16:52:02 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/util/keywrap.

commit 8a8caf46d761a583f7ec320f8744bd7082090dd9
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Fri Nov 23 07:36:22 2018 +0100

    Adding vendor mem model.
---
 toolruns/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/toolruns/Makefile b/toolruns/Makefile
index a6dcf00..170e4bf 100755
--- a/toolruns/Makefile
+++ b/toolruns/Makefile
@@ -37,6 +37,9 @@
 #
 #===================================================================
 
+VENDOR_MEM_PATH = ../src/tech
+VENDOR_MEM_SRC = $(VENDOR_MEM_PATH)/23K640.v
+
 MKMIF_PATH = ../../mkmif/src/rtl
 MKMIF_SRC = $(MKMIF_PATH)/mkmif_core.v $(MKMIF_PATH)/mkmif_spi.v
 
@@ -76,8 +79,8 @@ mem.sim: $(TB_MEM_SRC) $(MEM_SRC)
 	$(CC) $(CC_FLAGS) -o mem.sim $(TB_MEM_SRC) $(MEM_SRC)
 
 
-mkmif.sim: $(TB_KEYWRAP_MKMIF_SRC) $(KEYWRAP_MKMIF_SRC) $(MKMIF_SRC)
-	$(CC) $(CC_FLAGS) -o mkmif.sim $(TB_KEYWRAP_MKMIF_SRC) $(KEYWRAP_MKMIF_SRC) $(MKMIF_SRC)
+mkmif.sim: $(TB_KEYWRAP_MKMIF_SRC) $(KEYWRAP_MKMIF_SRC) $(MKMIF_SRC) $(VENDOR_MEM_SRC)
+	$(CC) $(CC_FLAGS) -o mkmif.sim $(TB_KEYWRAP_MKMIF_SRC) $(KEYWRAP_MKMIF_SRC) $(MKMIF_SRC) $(VENDOR_MEM_SRC)
 
 
 sim-top: top.sim



More information about the Commits mailing list