| 1 | #include <hlslib/xilinx/DataPack.h> |
| 2 | |
| 3 | void TightPacking(hlslib::DataPack<ap_fixed<4, 2>, 32> const *mem_in, |
| 4 | hlslib::DataPack<ap_int<4>, 32> *mem_out, int n) { |
| 5 | for (int i = 0; i < n; ++i) { |
| 6 | #pragma HLS PIPELINE |
| 7 | for (int w = 0; w < 32; ++w) { |
| 8 | #pragma HLS UNROLL |
| 9 | mem_out[i][w] = mem_in[i][w]; |
| 10 | } |
| 11 | } |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected