diff options
-rw-r--r-- | usrp2/udp/prot_eng_tx.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/udp/prot_eng_tx.v b/usrp2/udp/prot_eng_tx.v index 0c3e58892..7d6454c01 100644 --- a/usrp2/udp/prot_eng_tx.v +++ b/usrp2/udp/prot_eng_tx.v @@ -30,10 +30,10 @@ module prot_eng_tx reg [15:0] pre_checksums [0:3]; always @(posedge clk) - if(set_stb & (set_addr == (BASE+6))) + if(set_stb & (set_addr == (BASE+7))) pre_checksums[set_addr[5:4]] <= set_data[15:0]; - wire [15:0] pre_checksum = header_ram[port_sel[1:0]]; + wire [15:0] pre_checksum = pre_checksums[port_sel[1:0]]; // Protocol State Machine reg [15:0] length; |