diff options
author | Philip Balister <philip@opensdr.com> | 2011-02-10 15:47:57 -0500 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-02-16 17:02:07 -0800 |
commit | 4c377e12d56be4afa78b0f83dd8546b59ec837f2 (patch) | |
tree | fe7c3093a377a76fa7d74979a08b6cfd767dde71 /usrp2/fifo/packet_generator.v | |
parent | 2171188523f36a385c17c47aeb5c415085d163f4 (diff) | |
download | uhd-4c377e12d56be4afa78b0f83dd8546b59ec837f2.tar.gz uhd-4c377e12d56be4afa78b0f83dd8546b59ec837f2.tar.bz2 uhd-4c377e12d56be4afa78b0f83dd8546b59ec837f2.zip |
Fix endianess for packet length and sequence number for e100 timed image.
Diffstat (limited to 'usrp2/fifo/packet_generator.v')
-rw-r--r-- | usrp2/fifo/packet_generator.v | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usrp2/fifo/packet_generator.v b/usrp2/fifo/packet_generator.v index 6e8b45ccd..a751fdfb1 100644 --- a/usrp2/fifo/packet_generator.v +++ b/usrp2/fifo/packet_generator.v @@ -32,14 +32,14 @@ module packet_generator always @* case(state) - 0 : data_o <= len[7:0]; - 1 : data_o <= len[15:8]; - 2 : data_o <= len[23:16]; - 3 : data_o <= len[31:24]; - 4 : data_o <= seq[7:0]; - 5 : data_o <= seq[15:8]; - 6 : data_o <= seq[23:16]; - 7 : data_o <= seq[31:24]; + 0 : data_o <= len[31:24]; + 1 : data_o <= len[23:16]; + 2 : data_o <= len[15:8]; + 3 : data_o <= len[7:0]; + 4 : data_o <= seq[31:24]; + 5 : data_o <= seq[23:16]; + 6 : data_o <= seq[15:8]; + 7 : data_o <= seq[7:0]; 32'hFFFF_FFFC : data_o <= crc_out[31:24]; 32'hFFFF_FFFD : data_o <= crc_out[23:16]; 32'hFFFF_FFFE : data_o <= crc_out[15:8]; |