FLAMES 0.1.0
Matrix-Empowered HLS Library
type.hpp
Go to the documentation of this file.
1#ifndef _FLAMES_TYPE_HPP_
2#define _FLAMES_TYPE_HPP_
3
4#include <ap_fixed.h>
5#include <type_traits>
6
7namespace flames {
8
9template <int I, int D>
10using FxP_s = ap_fixed<I + D + 1, I>;
11
12template <int I, int D>
14
15template <int I, int D>
16using FxP_u = ap_ufixed<I + D, I>;
17
18} // namespace flames
19
20#endif
Namespace for the FLAMES library.
Definition: core.hpp:166
ap_ufixed< I+D, I > FxP_u
Definition: type.hpp:16
FxP_s< I, D > FxP
Definition: type.hpp:13
ap_fixed< I+D+1, I > FxP_s
Definition: type.hpp:10