From dd9847c5c3c3fac17658b526a7d8894711af086e Mon Sep 17 00:00:00 2001 From: Andrew Moch Date: Thu, 18 Jun 2020 16:26:59 +0100 Subject: fpga: lib: Pipeline and add clken to ip_hdr_checksum Adds LATENCY parameter to control the ammount of pieplineing. Adds a clock enable to control the advance of the pipeline. Used in xport when calculating new UDP headers for CHDR traffic. --- fpga/usrp3/lib/rfnoc/xport/eth_ipv4_chdr64_adapter.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpga/usrp3/lib/rfnoc') diff --git a/fpga/usrp3/lib/rfnoc/xport/eth_ipv4_chdr64_adapter.v b/fpga/usrp3/lib/rfnoc/xport/eth_ipv4_chdr64_adapter.v index f05c211b1..2f30b1565 100644 --- a/fpga/usrp3/lib/rfnoc/xport/eth_ipv4_chdr64_adapter.v +++ b/fpga/usrp3/lib/rfnoc/xport/eth_ipv4_chdr64_adapter.v @@ -324,8 +324,8 @@ module eth_ipv4_chdr64_adapter #( wire [15:0] udp_checksum = 16'h0; ip_hdr_checksum ip_hdr_checksum ( - .clk(clk), .in({misc_ip, ip_len, ident, flag_frag, ttl_prot, 16'd0, my_ipv4_addr, ip_dst}), - .out(iphdr_checksum) + .clk(clk), .in({misc_ip, ip_len, ident, flag_frag, ttl_prot, 16'd0, + my_ipv4_addr, ip_dst}), .clken(1'b1), .out(iphdr_checksum) ); always @(*) begin -- cgit v1.2.3