summaryrefslogtreecommitdiffstats
path: root/student_files_2015/student_files_2015/prj1/dot_product_source/dot_product.h
diff options
context:
space:
mode:
Diffstat (limited to 'student_files_2015/student_files_2015/prj1/dot_product_source/dot_product.h')
-rw-r--r--student_files_2015/student_files_2015/prj1/dot_product_source/dot_product.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/student_files_2015/student_files_2015/prj1/dot_product_source/dot_product.h b/student_files_2015/student_files_2015/prj1/dot_product_source/dot_product.h
new file mode 100644
index 0000000..e67cc7f
--- /dev/null
+++ b/student_files_2015/student_files_2015/prj1/dot_product_source/dot_product.h
@@ -0,0 +1,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