diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2015-09-16 17:21:07 -0700 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2015-09-16 17:21:53 -0700 |
commit | 40e71c80c649819e017702591dba3d79903a5136 (patch) | |
tree | 1eafcf209016c186f7b09f4b94e43f892b9a1d22 /host/lib/usrp/x300/x300_impl.cpp | |
parent | de907d20e6f6f5b0fb6f3876126abdfcecc2fc67 (diff) | |
download | uhd-40e71c80c649819e017702591dba3d79903a5136.tar.gz uhd-40e71c80c649819e017702591dba3d79903a5136.tar.bz2 uhd-40e71c80c649819e017702591dba3d79903a5136.zip |
x300: Made DRAM FIFO size software configurable
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index cb13cdbb8..c73e26f3d 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -753,6 +753,8 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr) mb.zpu_ctrl, SR_ADDR(SET0_BASE, ZPU_SR_DRAM_FIFO0+(i*NUM_REGS)), SR_ADDR(SET0_BASE, ZPU_RB_DRAM_FIFO0+i)); + mb.dram_buff_ctrl[i]->resize(X300_DRAM_FIFO_SIZE * i, X300_DRAM_FIFO_SIZE); + if (mb.dram_buff_ctrl[i]->ext_bist_supported()) { UHD_MSG(status) << boost::format("Running BIST for DRAM FIFO %d... ") % i; boost::uint32_t bisterr = mb.dram_buff_ctrl[i]->run_bist(); |