Initial public project cleanup
This commit is contained in:
commit
2034b04519
95 files changed
+16583
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#ifndef TINY_CNN_ACCEL_H
|
||||
#define TINY_CNN_ACCEL_H
|
||||
|
||||
#include <ap_axi_sdata.h>
|
||||
#include <ap_fixed.h>
|
||||
#include <hls_stream.h>
|
||||
|
||||
#define IMG_SIZE 64
|
||||
#define NUM_CLASSES 10
|
||||
#define C1 8
|
||||
#define C2 16
|
||||
#define C3 32
|
||||
#define P1_SIZE 32
|
||||
#define P2_SIZE 16
|
||||
#define P3_SIZE 8
|
||||
|
||||
typedef ap_axiu<32, 0, 0, 0> axis_word_t;
|
||||
typedef ap_fixed<16, 6> data_t;
|
||||
typedef ap_fixed<32, 12> acc_t;
|
||||
|
||||
void tiny_cnn_accel(
|
||||
hls::stream<axis_word_t> &input_stream,
|
||||
hls::stream<axis_word_t> &output_stream
|
||||
);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user