From 03adf8351e159411bb12266865effa022e8b7458 Mon Sep 17 00:00:00 2001 From: Gattopandacorno Date: Mon, 19 Dec 2022 10:05:16 +0100 Subject: [PATCH] Change `in` and `out` ports to `INTERFACE m_axi` Co-authored-by: Fabio Zanichelli <274956@studenti.unimore.it> Co-authored-by: Stefano Pigozzi <256895@studenti.unimore.it> --- hls/assignment/sobel/sobel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hls/assignment/sobel/sobel.cpp b/hls/assignment/sobel/sobel.cpp index 6561eda..0ea4514 100644 --- a/hls/assignment/sobel/sobel.cpp +++ b/hls/assignment/sobel/sobel.cpp @@ -3,8 +3,8 @@ void sobel(uint8_t *__restrict__ out, uint8_t *__restrict__ in, const int width, const int height) { -#pragma HLS INTERFACE axis port=out -#pragma HLS INTERFACE axis port=in +#pragma HLS INTERFACE m_axi port=out offset=slave bundle=bout +#pragma HLS INTERFACE m_axi port=in offset=slave bundle=bin #pragma HLS INTERFACE s_axilite port=width bundle=bwidth #pragma HLS INTERFACE s_axilite port=height bundle=bheight