git add hw/services/network/hls/toe/tx_engine/tx_engine.cpp Fix tcp performance issue by adding a pipeline pragma
This commit is contained in:
parent
fd5c067c0d
commit
c210947789
|
@ -1,6 +1,6 @@
|
|||
// Tie-off
|
||||
always_comb axis_host_sink.tie_off_s();
|
||||
always_comb axis_host_src.tie_off_s();
|
||||
always_comb axis_host_src.tie_off_m();
|
||||
|
||||
// UL
|
||||
send_recv_role #(
|
||||
|
|
|
@ -1534,6 +1534,8 @@ void insert_checksum( hls::stream<ap_uint<16> >& checksumIn,
|
|||
hls::stream<net_axis<WIDTH> >& dataIn,
|
||||
hls::stream<net_axis<WIDTH> >& dataOut)
|
||||
{
|
||||
#pragma HLS PIPELINE II=1
|
||||
|
||||
static ap_uint<2> state = (WIDTH > 128 ? 1 : 0);
|
||||
static ap_uint<3> wordCount = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue