From aeac73d3da67bbf1a75081dd8f148822ed57c0f8 Mon Sep 17 00:00:00 2001
From: Vipin Thomas <vipin.thomas@stud.th-deg.de>
Date: Mon, 31 May 2021 20:36:10 +0000
Subject: [PATCH] Update pixel.cpp

---
 pixel.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pixel.cpp b/pixel.cpp
index 9a443aa..b05d9f3 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -4,14 +4,14 @@
 
 using namespace std;
 
-typedef ap_axis<24,0,0,0> pkt_t; 
+typedef ap_axis<32,0,0,0> pkt_t; 
 
 
 
 void pixel(
 
 		hls::stream< pkt_t > &din,
-		hls::stream< pkt_t > &dout,
+		hls::stream< pkt_t > &dout
 
 ) {
 	#pragma HLS INTERFACE ap_ctrl_none port=return
@@ -21,7 +21,7 @@ void pixel(
 	pkt_t pkt;
 	din.read(pkt);
 
-	    for(int i=0; i<=2; i++){
+	    for(int i=0; i<=3; i++){
             
 	        pkt.data[i] = 255; 
             
-- 
GitLab