Skip to content

Commit 401ff5e

Browse files
committed
done
1 parent b4e3d21 commit 401ff5e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

c/fsm/SimpleWriteOnExec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ void FSM_SimpleWriteOnExec(CGRA * out_grid, InputEdgesVector * out_input, FILE *
328328
}
329329
}
330330

331-
DEBUG_PRINT("[DEBUG] %u, %u, %u, %f, %f, %f", debug_bl, debug_routed, debug_clock, (double)debug_usedOutputs/(out_grid->gridSize*4), (double)(end - begin) / CLOCKS_PER_SEC, (double)debug_clock/swe_verilog_frequency);
332-
fprintf(out_output, "%u, %u, %u, %f, %f, %f", debug_bl, debug_routed, debug_clock, (double)debug_usedOutputs/(out_grid->gridSize*4), (double)(end - begin) / CLOCKS_PER_SEC, (double)debug_clock/swe_verilog_frequency);
331+
DEBUG_PRINT("[DEBUG] %u, %u, %u, %f, %f, %f", debug_bl, debug_routed, debug_clock, (double)debug_usedOutputs/(out_grid->gridSize*4), 1000000*(double)(end - begin) / CLOCKS_PER_SEC, 1000000*(double)debug_clock/swe_verilog_frequency);
332+
fprintf(out_output, "%u, %u, %u, %f, %f, %f", debug_bl, debug_routed, debug_clock, (double)debug_usedOutputs/(out_grid->gridSize*4), 1000000*(double)(end - begin) / CLOCKS_PER_SEC, 1000000*(double)debug_clock/swe_verilog_frequency);
333333

334334
return;
335335
break;

wrapper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@
6161

6262
for i in range(12):
6363
for j in range(len(tables[i])):
64-
if j==8 or j==9:
65-
print(str(round(tables[i][j], 10)) + " ", end='')
66-
elif j==7:
64+
if j==7:
6765
print(str(round(tables[i][j]*100, 2)) + "% ", end='')
6866
else:
6967
print(str(round(tables[i][j],2)) + " ", end='')

0 commit comments

Comments
 (0)