![]() |
|
|||
File indexing completed on 2023-03-17 11:13:10
0001 // 0002 // rfnoc-hls-neuralnet: Vivado HLS code for neural-net building blocks 0003 // 0004 // Copyright (C) 2017 EJ Kreinar 0005 // 0006 // This program is free software: you can redistribute it and/or modify 0007 // it under the terms of the GNU General Public License as published by 0008 // the Free Software Foundation, either version 3 of the License, or 0009 // (at your option) any later version. 0010 // 0011 // This program is distributed in the hope that it will be useful, 0012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 // GNU General Public License for more details. 0015 // 0016 // You should have received a copy of the GNU General Public License 0017 // along with this program. If not, see <http://www.gnu.org/licenses/>. 0018 // 0019 0020 #ifndef NNET_COMMON_H_ 0021 #define NNET_COMMON_H_ 0022 0023 #include "ap_fixed.h" 0024 0025 namespace nnet { 0026 0027 // Common type definitions 0028 enum io_type { io_parallel = 0, io_serial }; 0029 0030 // Default data types (??) TODO: Deprecate 0031 //typedef ap_fixed<16,4> weight_t_def; 0032 //typedef ap_fixed<16,4> bias_t_def; 0033 //typedef ap_fixed<32,10> accum_t_def; 0034 0035 } // namespace nnet 0036 0037 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |