diff options
author | Josh Blum <josh@joshknows.com> | 2013-08-28 16:21:02 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-08-28 16:21:02 -0700 |
commit | 714673c7437fcd863d2bfdb8b20689d6a6d0f577 (patch) | |
tree | 7f7956a1121159f8a3a4e1e98da53545fd664ca8 /usrp2/sdr_lib/dspengine_16to8.v | |
parent | 286f0d8d3830417cbf26ac494bb960b4ba735944 (diff) | |
download | uhd-714673c7437fcd863d2bfdb8b20689d6a6d0f577.tar.gz uhd-714673c7437fcd863d2bfdb8b20689d6a6d0f577.tar.bz2 uhd-714673c7437fcd863d2bfdb8b20689d6a6d0f577.zip |
usrp2: sc8 format swap for vita compliance
Diffstat (limited to 'usrp2/sdr_lib/dspengine_16to8.v')
-rw-r--r-- | usrp2/sdr_lib/dspengine_16to8.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/sdr_lib/dspengine_16to8.v b/usrp2/sdr_lib/dspengine_16to8.v index 448c57d35..1d6746dd1 100644 --- a/usrp2/sdr_lib/dspengine_16to8.v +++ b/usrp2/sdr_lib/dspengine_16to8.v @@ -1,5 +1,5 @@ -// Copyright 2011-2012 Ettus Research LLC +// Copyright 2011-2013 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -181,8 +181,8 @@ module dspengine_16to8 assign access_dat_o = (dsp_state == DSP_WRITE_HEADER) ? { 4'h1, new_header } : (dsp_state == DSP_WRITE_TRAILER) ? { 4'h2, new_trailer } : - (last_o&~even_o) ? {4'h0, 16'd0, i8, q8 } : - {4'h0, i8, q8, i8_reg, q8_reg }; + (last_o&~even_o) ? {4'h0, i8, q8, 16'd0 } : + {4'h0, i8_reg, q8_reg, i8, q8 }; assign access_adr = (stb_write|(dsp_state == DSP_WRITE_HEADER)|(dsp_state == DSP_WRITE_TRAILER)) ? write_adr : read_adr; |