aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-11-23 07:36:22 +0100
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-11-23 07:36:22 +0100
commit8a8caf46d761a583f7ec320f8744bd7082090dd9 (patch)
tree82fec823efb721314459766dfbcaf7135c21e53c
parent33a7ad0aa4f30582d0858ca31a442316fe075396 (diff)
Adding vendor mem model.
-rwxr-xr-xtoolruns/Makefile7
1 files 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