aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-10-08 09:52:12 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-10-09 18:06:08 -0700
commitd655137c93c7622f86c0794efcf0044b009b1fb4 (patch)
treedc0c2592bb7cf74c2138fdaceb76d3e69f25353e /host/lib/usrp
parentd61baf0aea29645d75fc2bf6484f84530e0033a5 (diff)
downloaduhd-d655137c93c7622f86c0794efcf0044b009b1fb4.tar.gz
uhd-d655137c93c7622f86c0794efcf0044b009b1fb4.tar.bz2
uhd-d655137c93c7622f86c0794efcf0044b009b1fb4.zip
x300: Reduced the TX buffer from 576K to 520K
- Trading performance for stability. This helps meet timing at the cost of a shorter processing time window between sends. - Bumped FPGA compat number to 8
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/x300/x300_fw_common.h2
-rw-r--r--host/lib/usrp/x300/x300_impl.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_fw_common.h b/host/lib/usrp/x300/x300_fw_common.h
index f1ff5ce7d..6cf4834b3 100644
--- a/host/lib/usrp/x300/x300_fw_common.h
+++ b/host/lib/usrp/x300/x300_fw_common.h
@@ -31,7 +31,7 @@ extern "C" {
#define X300_FW_COMPAT_MAJOR 3
#define X300_FW_COMPAT_MINOR 0
-#define X300_FPGA_COMPAT_MAJOR 7
+#define X300_FPGA_COMPAT_MAJOR 8
//shared memory sections - in between the stack and the program space
#define X300_FW_SHMEM_BASE 0x6000
diff --git a/host/lib/usrp/x300/x300_impl.hpp b/host/lib/usrp/x300/x300_impl.hpp
index ff0af9069..8abdee48c 100644
--- a/host/lib/usrp/x300/x300_impl.hpp
+++ b/host/lib/usrp/x300/x300_impl.hpp
@@ -55,7 +55,7 @@ static const std::string X300_FW_FILE_NAME = "usrp_x300_fw.bin";
static const double X300_DEFAULT_TICK_RATE = 200e6; //Hz
static const double X300_BUS_CLOCK_RATE = 166.666667e6; //Hz
-static const size_t X300_TX_HW_BUFF_SIZE = 0x90000; //576KiB
+static const size_t X300_TX_HW_BUFF_SIZE = 520*1024; //512K SRAM buffer + 8K 2Clk FIFO
static const size_t X300_TX_FC_RESPONSE_FREQ = 8; //per flow-control window
static const size_t X300_RX_SW_BUFF_SIZE_ETH = 0x2000000;//32MiB For an ~8k frame size any size >32MiB is just wasted buffer space