blob: e67cc7fde081dce5e277ce970b8c4b24aec9efcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
////////////////////////////////////////////////////////////////////////////////
// _____ _ _ _____ _ _
// |_ _| (_) | | / ____| | | |
// | | _ __ ___ _ __ ___ _ __ _ __ _| | | | ___ | | | ___ __ _ ___
// | | | '_ ` _ \| '_ \ / _ \ '__| |/ _` | | | | / _ \| | |/ _ \/ _` |/ _ \
// _| |_| | | | | | |_) | __/ | | | (_| | | | |___| (_) | | | __/ (_| | __/
// |_____|_| |_| |_| .__/ \___|_| |_|\__,_|_| \_____\___/|_|_|\___|\__, |\___|
// | | __/ |
// |_| |___/
// _ _
// | | | |
// | | ___ _ __ __| | ___ _ __
// | | / _ \| '_ \ / _` |/ _ \| '_ \
// | |___| (_) | | | | (_| | (_) | | | |
// |______\___/|_| |_|\__,_|\___/|_| |_|
//
////////////////////////////////////////////////////////////////////////////////
// File: dot_product.h
// Description: dot product calculator
// By: rad09
////////////////////////////////////////////////////////////////////////////////
#ifndef _DOT_PROD_H
#define _DOT_PROD_H
#include "ac_int.h"
#define VECTOR_LEN 5
void dot_product(ac_int<8> *input_a, ac_int<8> *input_b, ac_int<8> *output);
#endif
// end of file
|