Skip to content

Commit

Permalink
updated format
Browse files Browse the repository at this point in the history
  • Loading branch information
jngadiub committed Jul 2, 2021
1 parent 692a53a commit 882f769
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Binary file modified PIPPO.h5
Binary file not shown.
7 changes: 6 additions & 1 deletion upload-your-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
import h5py
team_name = "PIPPO"

result = [0, 7, 6, 8]
result = [0, 7, 6, 8] #event number
result = np.array(result)

#if you have not run an HLS implementation of the algorithm, set everything except FLOPs to zero
performance = {'FLOPs':1000000000, 'Device': 'xcu250-figd2104-2L-e' ,'Latency': 500, 'DSP': 50, 'LUT': 1, 'FF': 3, 'BRAM': 0} #latency in microseconds, resources in %

f = h5py.File("%s.h5" %team_name, "w")
f.create_dataset('Result', data = result, compression='gzip')
for k in performance.keys(): f.attrs[k]=performance[k]
f.close()

0 comments on commit 882f769

Please sign in to comment.