From 1415a0599c6f2b72aae248c149a45c3e910f2da0 Mon Sep 17 00:00:00 2001
From: Vipin Thomas <vipin.thomas@stud.th-deg.de>
Date: Tue, 22 Jun 2021 14:00:27 +0000
Subject: [PATCH] Update pixel.cpp

---
 pixel.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pixel.cpp b/pixel.cpp
index cc8d0d4..2703e9e 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -17,7 +17,8 @@ int convertBinInt(long long n);
 void decrypt(int data);
 
 
-void pixel(ap_int<32> selector,
+void pixel(char* key;
+        ap_int<32> selector,
 		ap_int<32> position1,
 		ap_int<32> position2,
 		ap_int<32> stream_count,
@@ -26,6 +27,7 @@ void pixel(ap_int<32> selector,
 		hls::stream< pkt_t > &dout
 ) {
 	#pragma HLS INTERFACE ap_ctrl_none port=return
+    #pragma HLS INTERFACE s_axilite port=key
     #pragma HLS INTERFACE s_axilite port=selector
 	#pragma HLS INTERFACE s_axilite port=position1
 	#pragma HLS INTERFACE s_axilite port=position2
-- 
GitLab