Skip to content
Snippets Groups Projects
Commit d7635dd3 authored by Vipin Thomas's avatar Vipin Thomas
Browse files

Update pixel.hpp

parent 876cfa38
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
#include <stdlib.h>
#include<math.h>
#include <string.h>
#include <hls_stream.h>
#include <ap_axi_sdata.h>
using namespace std;
typedef ap_axis<32,0,0,0> pkt_t;
static int count_streams = 0;
static long long charIn=0;
static long long final_char=0;
int addNum=0;
typedef hls::stream< pkt_t > stream;
void pixel(ap_int<32> selector,
ap_int<32> position1,
ap_int<32> position2,
ap_int<32> stream_count,
ap_int<32> ascii,
stream &din,
stream &dout
);
long long convert(int n);
int convertBinInt(long long n);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment