From 06e5f6df1dee9c8018ed928d7a2537e5a8fe0a52 Mon Sep 17 00:00:00 2001 From: felsabbagh3 Date: Wed, 30 Oct 2019 15:18:52 -0400 Subject: [PATCH] Init num cycles --- rtl/modelsim/vortex_dpi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rtl/modelsim/vortex_dpi.cpp b/rtl/modelsim/vortex_dpi.cpp index c9444de3..b5e85b7b 100644 --- a/rtl/modelsim/vortex_dpi.cpp +++ b/rtl/modelsim/vortex_dpi.cpp @@ -35,6 +35,7 @@ unsigned getIndex(int r, int c, int numCols) void load_file(char * filename) { + num_cycles = 0; // printf("\n\n\n\n**********************\n"); // printf("Inside load_file\n");