├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── README.md ├── cmake └── Modules │ ├── FindOpenCv.cmake │ ├── FindVitis.cmake │ └── FindVivado.cmake ├── include ├── dma │ ├── axis_lib.h │ ├── svd_dma.h │ └── width_converter.h ├── hls_utils │ ├── adder_tree.h │ ├── dot_prod_dsp.h │ ├── hls_debugging.h │ ├── hls_metaprogramming.h │ ├── hw_timer.h │ └── priority_encoder.h ├── kernel │ ├── gemv_kernel.h │ ├── s_kernel.h │ ├── svd_kernel.h │ ├── u_kernel.h │ └── v_kernel.h ├── layers │ ├── dense │ │ └── hls │ │ │ └── dense_svd.h │ └── lstm │ │ ├── hls │ │ ├── lstm_hardware.h │ │ ├── lstm_svd.h │ │ └── lstm_svd_emulator.h │ │ ├── lstm_data_handler.h │ │ └── sw │ │ ├── soft_lstm.h │ │ └── soft_lstm_svd.h ├── math_utils │ ├── activation_functions.h │ ├── blas_utils.h │ └── data_handler.h ├── svd_ip.h ├── svd_params.h └── testbenches │ ├── test_dense_svd.h │ ├── test_lstm_svd.h │ ├── test_svd_kernel.h │ ├── test_u_kernel.h │ ├── test_u_kernel_pruned.h │ ├── test_v_kernel.h │ └── test_v_kernel_pruned.h ├── make_hls.py ├── pynq ├── README.md ├── dense_svd │ ├── dense_svd.ipynb │ └── overlay │ │ ├── dense_svd.bit │ │ ├── dense_svd.hwh │ │ └── dense_svd.tcl ├── kernel_svd │ ├── kernel_svd.ipynb │ └── overlay │ │ ├── kernel_svd.bit │ │ ├── kernel_svd.hwh │ │ └── kernel_svd.tcl ├── kernel_u │ ├── kernel_u.ipynb │ ├── kernel_u_hier.ipynb │ └── overlay │ │ ├── kernel_u.bit │ │ ├── kernel_u.hwh │ │ └── kernel_u.tcl └── kernel_v │ ├── binfile_example.bin │ ├── kernel_v.ipynb │ └── overlay │ ├── kernel_v.bit │ ├── kernel_v.hwh │ └── kernel_v.tcl ├── python ├── README.md ├── SVD_Approximation.ipynb ├── __init__.py ├── models │ └── __init__.py ├── requirements.txt ├── roofline │ ├── README.md │ └── __init__.py ├── svd │ └── __init__.py └── svd_approximation.py ├── run_hls.tcl ├── run_hls_test.tcl ├── src ├── CMakeLists.txt ├── dma │ ├── CMakeLists.txt │ ├── axis_lib.cpp │ ├── svd_dma.cpp │ └── width_converter.cpp ├── hls_utils │ ├── CMakeLists.txt │ ├── adder_tree.cpp │ ├── dot_prod_dsp.cpp │ └── hw_timer.cpp ├── kernel │ ├── CMakeLists.txt │ ├── README.md │ ├── gemv_kernel.cpp │ ├── s_kernel.cpp │ ├── svd_kernel.cpp │ ├── u_kernel.cpp │ └── v_kernel.cpp ├── layers │ ├── CMakeLists.txt │ ├── dense │ │ ├── CMakeLists.txt │ │ ├── hls │ │ │ ├── CMakeLists.txt │ │ │ └── dense_svd.cpp │ │ └── sw │ │ │ └── CMakeLists.txt │ └── lstm │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── hls │ │ ├── CMakeLists.txt │ │ ├── lstm_hardware.cpp │ │ ├── lstm_svd.cpp │ │ └── lstm_svd_emulator.cpp │ │ ├── lstm_data_handler.cpp │ │ └── sw │ │ ├── CMakeLists.txt │ │ ├── soft_lstm.cpp │ │ └── soft_lstm_svd.cpp ├── math_utils │ ├── CMakeLists.txt │ ├── activation_functions.cpp │ ├── blas_utils.cpp │ └── data_handler.cpp ├── svd.cpp ├── svd_ip.cpp ├── svd_params.cpp └── testbenches │ ├── CMakeLists.txt │ ├── test_dense_svd.cpp │ ├── test_gemv_kernel.cpp │ ├── test_lstm_svd.cpp │ ├── test_svd_kernel.cpp │ ├── test_u_kernel.cpp │ ├── test_u_kernel_pruned.cpp │ ├── test_v_kernel.cpp │ └── test_v_kernel_pruned.cpp └── tcl ├── lstm_params.tcl └── utils.tcl /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/README.md -------------------------------------------------------------------------------- /cmake/Modules/FindOpenCv.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/cmake/Modules/FindOpenCv.cmake -------------------------------------------------------------------------------- /cmake/Modules/FindVitis.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/cmake/Modules/FindVitis.cmake -------------------------------------------------------------------------------- /cmake/Modules/FindVivado.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/cmake/Modules/FindVivado.cmake -------------------------------------------------------------------------------- /include/dma/axis_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/dma/axis_lib.h -------------------------------------------------------------------------------- /include/dma/svd_dma.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/dma/svd_dma.h -------------------------------------------------------------------------------- /include/dma/width_converter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/dma/width_converter.h -------------------------------------------------------------------------------- /include/hls_utils/adder_tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/hls_utils/adder_tree.h -------------------------------------------------------------------------------- /include/hls_utils/dot_prod_dsp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/hls_utils/dot_prod_dsp.h -------------------------------------------------------------------------------- /include/hls_utils/hls_debugging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/hls_utils/hls_debugging.h -------------------------------------------------------------------------------- /include/hls_utils/hls_metaprogramming.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/hls_utils/hls_metaprogramming.h -------------------------------------------------------------------------------- /include/hls_utils/hw_timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/hls_utils/hw_timer.h -------------------------------------------------------------------------------- /include/hls_utils/priority_encoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/hls_utils/priority_encoder.h -------------------------------------------------------------------------------- /include/kernel/gemv_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/kernel/gemv_kernel.h -------------------------------------------------------------------------------- /include/kernel/s_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/kernel/s_kernel.h -------------------------------------------------------------------------------- /include/kernel/svd_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/kernel/svd_kernel.h -------------------------------------------------------------------------------- /include/kernel/u_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/kernel/u_kernel.h -------------------------------------------------------------------------------- /include/kernel/v_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/kernel/v_kernel.h -------------------------------------------------------------------------------- /include/layers/dense/hls/dense_svd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/layers/dense/hls/dense_svd.h -------------------------------------------------------------------------------- /include/layers/lstm/hls/lstm_hardware.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/layers/lstm/hls/lstm_hardware.h -------------------------------------------------------------------------------- /include/layers/lstm/hls/lstm_svd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/layers/lstm/hls/lstm_svd.h -------------------------------------------------------------------------------- /include/layers/lstm/hls/lstm_svd_emulator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/layers/lstm/hls/lstm_svd_emulator.h -------------------------------------------------------------------------------- /include/layers/lstm/lstm_data_handler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/layers/lstm/lstm_data_handler.h -------------------------------------------------------------------------------- /include/layers/lstm/sw/soft_lstm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/layers/lstm/sw/soft_lstm.h -------------------------------------------------------------------------------- /include/layers/lstm/sw/soft_lstm_svd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/layers/lstm/sw/soft_lstm_svd.h -------------------------------------------------------------------------------- /include/math_utils/activation_functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/math_utils/activation_functions.h -------------------------------------------------------------------------------- /include/math_utils/blas_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/math_utils/blas_utils.h -------------------------------------------------------------------------------- /include/math_utils/data_handler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/math_utils/data_handler.h -------------------------------------------------------------------------------- /include/svd_ip.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/svd_ip.h -------------------------------------------------------------------------------- /include/svd_params.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/svd_params.h -------------------------------------------------------------------------------- /include/testbenches/test_dense_svd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/testbenches/test_dense_svd.h -------------------------------------------------------------------------------- /include/testbenches/test_lstm_svd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/testbenches/test_lstm_svd.h -------------------------------------------------------------------------------- /include/testbenches/test_svd_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/testbenches/test_svd_kernel.h -------------------------------------------------------------------------------- /include/testbenches/test_u_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/testbenches/test_u_kernel.h -------------------------------------------------------------------------------- /include/testbenches/test_u_kernel_pruned.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/testbenches/test_u_kernel_pruned.h -------------------------------------------------------------------------------- /include/testbenches/test_v_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/testbenches/test_v_kernel.h -------------------------------------------------------------------------------- /include/testbenches/test_v_kernel_pruned.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/include/testbenches/test_v_kernel_pruned.h -------------------------------------------------------------------------------- /make_hls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/make_hls.py -------------------------------------------------------------------------------- /pynq/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/README.md -------------------------------------------------------------------------------- /pynq/dense_svd/dense_svd.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/dense_svd/dense_svd.ipynb -------------------------------------------------------------------------------- /pynq/dense_svd/overlay/dense_svd.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/dense_svd/overlay/dense_svd.bit -------------------------------------------------------------------------------- /pynq/dense_svd/overlay/dense_svd.hwh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/dense_svd/overlay/dense_svd.hwh -------------------------------------------------------------------------------- /pynq/dense_svd/overlay/dense_svd.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/dense_svd/overlay/dense_svd.tcl -------------------------------------------------------------------------------- /pynq/kernel_svd/kernel_svd.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_svd/kernel_svd.ipynb -------------------------------------------------------------------------------- /pynq/kernel_svd/overlay/kernel_svd.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_svd/overlay/kernel_svd.bit -------------------------------------------------------------------------------- /pynq/kernel_svd/overlay/kernel_svd.hwh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_svd/overlay/kernel_svd.hwh -------------------------------------------------------------------------------- /pynq/kernel_svd/overlay/kernel_svd.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_svd/overlay/kernel_svd.tcl -------------------------------------------------------------------------------- /pynq/kernel_u/kernel_u.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_u/kernel_u.ipynb -------------------------------------------------------------------------------- /pynq/kernel_u/kernel_u_hier.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_u/kernel_u_hier.ipynb -------------------------------------------------------------------------------- /pynq/kernel_u/overlay/kernel_u.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_u/overlay/kernel_u.bit -------------------------------------------------------------------------------- /pynq/kernel_u/overlay/kernel_u.hwh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_u/overlay/kernel_u.hwh -------------------------------------------------------------------------------- /pynq/kernel_u/overlay/kernel_u.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_u/overlay/kernel_u.tcl -------------------------------------------------------------------------------- /pynq/kernel_v/binfile_example.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_v/binfile_example.bin -------------------------------------------------------------------------------- /pynq/kernel_v/kernel_v.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_v/kernel_v.ipynb -------------------------------------------------------------------------------- /pynq/kernel_v/overlay/kernel_v.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_v/overlay/kernel_v.bit -------------------------------------------------------------------------------- /pynq/kernel_v/overlay/kernel_v.hwh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_v/overlay/kernel_v.hwh -------------------------------------------------------------------------------- /pynq/kernel_v/overlay/kernel_v.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/pynq/kernel_v/overlay/kernel_v.tcl -------------------------------------------------------------------------------- /python/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/python/README.md -------------------------------------------------------------------------------- /python/SVD_Approximation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/python/SVD_Approximation.ipynb -------------------------------------------------------------------------------- /python/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy -------------------------------------------------------------------------------- /python/roofline/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/python/roofline/README.md -------------------------------------------------------------------------------- /python/roofline/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/svd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/svd_approximation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/python/svd_approximation.py -------------------------------------------------------------------------------- /run_hls.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/run_hls.tcl -------------------------------------------------------------------------------- /run_hls_test.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/run_hls_test.tcl -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/dma/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/dma/CMakeLists.txt -------------------------------------------------------------------------------- /src/dma/axis_lib.cpp: -------------------------------------------------------------------------------- 1 | #include "dma/axis_lib.h" -------------------------------------------------------------------------------- /src/dma/svd_dma.cpp: -------------------------------------------------------------------------------- 1 | #include "dma/svd_dma.h" -------------------------------------------------------------------------------- /src/dma/width_converter.cpp: -------------------------------------------------------------------------------- 1 | #include "dma/width_converter.h" -------------------------------------------------------------------------------- /src/hls_utils/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/hls_utils/CMakeLists.txt -------------------------------------------------------------------------------- /src/hls_utils/adder_tree.cpp: -------------------------------------------------------------------------------- 1 | #include "hls_utils/adder_tree.h" -------------------------------------------------------------------------------- /src/hls_utils/dot_prod_dsp.cpp: -------------------------------------------------------------------------------- 1 | #include "hls_utils/dot_prod_dsp.h" -------------------------------------------------------------------------------- /src/hls_utils/hw_timer.cpp: -------------------------------------------------------------------------------- 1 | #include "hls_utils/hw_timer.h" -------------------------------------------------------------------------------- /src/kernel/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/kernel/CMakeLists.txt -------------------------------------------------------------------------------- /src/kernel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/kernel/README.md -------------------------------------------------------------------------------- /src/kernel/gemv_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/kernel/gemv_kernel.cpp -------------------------------------------------------------------------------- /src/kernel/s_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/kernel/s_kernel.cpp -------------------------------------------------------------------------------- /src/kernel/svd_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/kernel/svd_kernel.cpp -------------------------------------------------------------------------------- /src/kernel/u_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/kernel/u_kernel.cpp -------------------------------------------------------------------------------- /src/kernel/v_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/kernel/v_kernel.cpp -------------------------------------------------------------------------------- /src/layers/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/CMakeLists.txt -------------------------------------------------------------------------------- /src/layers/dense/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/dense/CMakeLists.txt -------------------------------------------------------------------------------- /src/layers/dense/hls/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/dense/hls/CMakeLists.txt -------------------------------------------------------------------------------- /src/layers/dense/hls/dense_svd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/dense/hls/dense_svd.cpp -------------------------------------------------------------------------------- /src/layers/dense/sw/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/dense/sw/CMakeLists.txt -------------------------------------------------------------------------------- /src/layers/lstm/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/CMakeLists.txt -------------------------------------------------------------------------------- /src/layers/lstm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/README.md -------------------------------------------------------------------------------- /src/layers/lstm/hls/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/hls/CMakeLists.txt -------------------------------------------------------------------------------- /src/layers/lstm/hls/lstm_hardware.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/hls/lstm_hardware.cpp -------------------------------------------------------------------------------- /src/layers/lstm/hls/lstm_svd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/hls/lstm_svd.cpp -------------------------------------------------------------------------------- /src/layers/lstm/hls/lstm_svd_emulator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/hls/lstm_svd_emulator.cpp -------------------------------------------------------------------------------- /src/layers/lstm/lstm_data_handler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/lstm_data_handler.cpp -------------------------------------------------------------------------------- /src/layers/lstm/sw/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/sw/CMakeLists.txt -------------------------------------------------------------------------------- /src/layers/lstm/sw/soft_lstm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/sw/soft_lstm.cpp -------------------------------------------------------------------------------- /src/layers/lstm/sw/soft_lstm_svd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/layers/lstm/sw/soft_lstm_svd.cpp -------------------------------------------------------------------------------- /src/math_utils/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/math_utils/CMakeLists.txt -------------------------------------------------------------------------------- /src/math_utils/activation_functions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/math_utils/activation_functions.cpp -------------------------------------------------------------------------------- /src/math_utils/blas_utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/math_utils/blas_utils.cpp -------------------------------------------------------------------------------- /src/math_utils/data_handler.cpp: -------------------------------------------------------------------------------- 1 | #include "math_utils/data_handler.h" -------------------------------------------------------------------------------- /src/svd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/svd.cpp -------------------------------------------------------------------------------- /src/svd_ip.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/svd_ip.cpp -------------------------------------------------------------------------------- /src/svd_params.cpp: -------------------------------------------------------------------------------- 1 | #include "svd_params.h" -------------------------------------------------------------------------------- /src/testbenches/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/CMakeLists.txt -------------------------------------------------------------------------------- /src/testbenches/test_dense_svd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_dense_svd.cpp -------------------------------------------------------------------------------- /src/testbenches/test_gemv_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_gemv_kernel.cpp -------------------------------------------------------------------------------- /src/testbenches/test_lstm_svd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_lstm_svd.cpp -------------------------------------------------------------------------------- /src/testbenches/test_svd_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_svd_kernel.cpp -------------------------------------------------------------------------------- /src/testbenches/test_u_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_u_kernel.cpp -------------------------------------------------------------------------------- /src/testbenches/test_u_kernel_pruned.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_u_kernel_pruned.cpp -------------------------------------------------------------------------------- /src/testbenches/test_v_kernel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_v_kernel.cpp -------------------------------------------------------------------------------- /src/testbenches/test_v_kernel_pruned.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/src/testbenches/test_v_kernel_pruned.cpp -------------------------------------------------------------------------------- /tcl/lstm_params.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/tcl/lstm_params.tcl -------------------------------------------------------------------------------- /tcl/utils.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ribesstefano/Mapping-Multiple-LSTM-Models-on-FPGAs/HEAD/tcl/utils.tcl --------------------------------------------------------------------------------