diff --git a/hls/assignment/sobel/sobel.cpp b/hls/assignment/sobel/sobel.cpp index f0cb164..3f3deb2 100644 --- a/hls/assignment/sobel/sobel.cpp +++ b/hls/assignment/sobel/sobel.cpp @@ -1,9 +1,9 @@ #include #include "sobel.h" -void sobel(uint8_t *__restrict__ out, uint8_t *__restrict__ in, int width, int height) +void sobel(uint8_t *__restrict__ out, uint8_t *__restrict__ in, const int width, const int height) { - int sobelFilter[3][3] = { + const int sobelFilter[3][3] = { {-1, 0, 1}, {-2, 0, 2}, {-1, 0, 1}