Skip to content

Commit 017a158

Browse files
wkkunakgugala
authored andcommitted
Convert vpd iff it's available
Signed-off-by: Wiktoria Kuna <[email protected]>
1 parent e55b8c5 commit 017a158

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

verification/cocotb/common.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ ifeq ($(SIM), vcs)
109109

110110
.PHONY: convert-vpd2vcd
111111
convert-vpd2vcd: $(COCOTB_RESULTS_FILE)
112-
vpd2vcd -full64 dump.vpd dump.vcd +splitpacked
112+
if [ -e "dump.vpd" ] ; then \
113+
vpd2vcd -full64 dump.vpd dump.vcd +splitpacked;\
114+
fi
113115

114116
all: sim convert-vpd2vcd
115117

0 commit comments

Comments
 (0)