From dbeda0bcb231e16744ea44a5fe2ed9ae6535a544 Mon Sep 17 00:00:00 2001 From: Gattopandacorno Date: Mon, 19 Dec 2022 12:23:39 +0100 Subject: [PATCH] Add hls partition Co-authored-by: Fabio Zanichelli <274956@studenti.unimore.it> --- hls/assignment/sobel/sobel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hls/assignment/sobel/sobel.cpp b/hls/assignment/sobel/sobel.cpp index e88ed84..0dd78ff 100644 --- a/hls/assignment/sobel/sobel.cpp +++ b/hls/assignment/sobel/sobel.cpp @@ -15,6 +15,8 @@ void sobel(uint8_t *__restrict__ out, uint8_t *__restrict__ in) {-2, 0, 2}, {-1, 0, 1} }; + #pragma HLS ARRAY_PARTITION variable=sobelFilter complete dim=0 + // Carica le prime tre righe nel buffer uint8_t inBuffer[3*HEIGHT];