diff --git a/deepsocflow/c/deepsocflow_xilinx.h b/deepsocflow/c/deepsocflow_xilinx.h index 53dcde3..9681f07 100644 --- a/deepsocflow/c/deepsocflow_xilinx.h +++ b/deepsocflow/c/deepsocflow_xilinx.h @@ -39,11 +39,12 @@ static inline void hardware_cleanup(){ cleanup_platform(); } -static inline void model_run_timed(){ +static inline void model_run_timed(int n){ XTime time_start, time_end; XTime_GetTime(&time_start); - model_run(); + for (int i=0; i