Skip to content

Commit aedcdd7

Browse files
author
Mario Ruiz
committed
First functional version. It has been tested in hardware. A connection is established and data is interchanged. But there is a problem with large amount of data, this bug was previoulsy reported by David S
1 parent 52f7699 commit aedcdd7

File tree

19 files changed

+861
-984
lines changed

19 files changed

+861
-984
lines changed

pcap/echo_replay.pcap

0 Bytes
Binary file not shown.

scripts/project_script.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ open_solution "ultrascale_plus"
3030
set_part {xcvu9p-flga2104-2l-e} -tool vivado
3131
create_clock -period 3.1 -name default
3232
set_clock_uncertainty 0.2
33-
config_rtl -disable_start_propagation
33+
3434
csynth_design
3535

3636
export_design -rtl verilog -format ip_catalog

src/common_utilities/common_utilities.cpp

Lines changed: 270 additions & 416 deletions
Large diffs are not rendered by default.

src/common_utilities/common_utilities.hpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
#ifndef _UTILITIES_HPP_DEFINED_
33
#define _UTILITIES_HPP_DEFINED_
44

5-
6-
#include "ap_int.h"
7-
#include "../toe.hpp"
5+
//#include "../toe.hpp"
86

97
ap_uint<7> keep2len(ap_uint<64> keepValue);
108

@@ -15,17 +13,15 @@ void tx_align_two_64bytes_words (
1513
axiWord currWord,
1614
axiWord prevWord,
1715
ap_uint<6> byte_offset,
18-
19-
axiWord* SendWord,
20-
axiWord* next_prev_word
16+
axiWord& SendWord
2117
);
2218

2319
void rx_align_two_64bytes_words (
2420
axiWord currWord,
25-
axiWord* prevWord,
21+
axiWord prevWord,
22+
2623
ap_uint<6> byte_offset,
27-
28-
axiWord* SendWord
24+
axiWord& SendWord
2925
);
3026

3127
void DataBroadcast(

0 commit comments

Comments
 (0)