<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://kb.ettus.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=DerekKozel</id>
		<title>Ettus Knowledge Base - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://kb.ettus.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=DerekKozel"/>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/Special:Contributions/DerekKozel"/>
		<updated>2026-11-25T01:58:36Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://kb.ettus.com/index.php?title=Getting_Started_with_RFNoC_Development&amp;diff=3748</id>
		<title>Getting Started with RFNoC Development</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=Getting_Started_with_RFNoC_Development&amp;diff=3748"/>
				<updated>2018-04-24T14:26:49Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: /* Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-823'''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-07-12&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Martin Braun&amp;lt;br&amp;gt; Nicolas Cuervo&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2017-01-10&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Team&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Added “Digital Gain” example&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2017-05-08&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Jose Loera&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Updated example code. Update to Testbench section.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2017-08-26&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Jose Loera&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Updated following sections: '''Abstract'''(This AN is specific to USRP X300/X310), '''Using a graphical interface'''(updated GUI image with newest version and the explanation section), '''Testing out the custom block'''(Updated GRC image that has correct Sampling Rate for RFNoC:Radio block).&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2017-09-07&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Jose Loera&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Added link to Video that follows this App Note in the Resources section. Also [https://youtube.com/watch?v=j-EfyPVpaJ8 here]&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
This application note guides a user through basic information on the RFNoC architecture, installing necessary software to develop custom RFNoC blocks, also called Computation Engines (CE), and walks through the steps of creating a custom RFNoC block using an example. RFNoC is currently supported on the USRP X300/X310 and USRP E310/E312 hardware.  '''However''', this document only covers using RFNoC for the USRP X300/X310.  Using RFNoC with the E310/E312 will be covered in another document.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
First sections deal with installing tools and validating correct tool installation in order to do RFNoC development. Later sections deal with creating a custom RFNoC block, using the built-in testbench architecture, building an FPGA image with the custom block and finally testing out the new block within GNU Radio.&lt;br /&gt;
&lt;br /&gt;
==Licensing==&lt;br /&gt;
The RFNoC code base is open source, including code that executes on the host, as well as code targeted to the USRP hardware (FPGA and microcontroller firmware). As dual-licensed software, RFNoC is available under the open-source GNU Public License version 3 (GPLv3), as well as an alternative, less-restrictive license offered only by Ettus Research. For more information on our licensing policy, please contact [mailto:info@ettus.com info@ettus.com].&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
RFNoC is only supported on the USRP E310/E312 and the USRP X300/X310.&lt;br /&gt;
&lt;br /&gt;
In order to build custom USRP FPGA images and RFNoC blocks the following hardware and software are needed.&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu 14.04.5 or 16.04.1 (preferred):''' Currently PyBOMBS (which can be used to install the ''Software build tools''), works most reliably in Ubuntu, and thus, we recommend using this distribution. Also, a majority of the scripts used during the build process are Linux (Ubuntu) specific. A PC with multiple cores and 8GB+ of RAM is recommended.&lt;br /&gt;
&lt;br /&gt;
* '''Xilinx Vivado tools (version 2017.4):''' The specific version depends on the branch and state of the FPGA code. The default install location is &amp;lt;code&amp;gt;/opt/Xilinx/Vivado&amp;lt;/code&amp;gt;. Once all of the Software build tools are installed the specific version for the downloaded code can be found in the &amp;lt;code&amp;gt;setupenv.sh&amp;lt;/code&amp;gt; file located in the &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3/top/{DEVICE}&amp;lt;/code&amp;gt; directory. Further information can be found [http://files.ettus.com/manual/md_usrp3_build_instructions.html here].&lt;br /&gt;
&lt;br /&gt;
* '''Software build tools:''' If UHD can be or has been compiled from source on the development PC then all the necessary software build components are present (PyBOMBS can be used to set all this up and instructions on how to do so are given in a following step).&lt;br /&gt;
&lt;br /&gt;
* X3xx series or E3xx series device or any future USRP&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''&lt;br /&gt;
* The edition of Xilinx Vivado that is required will depend on which USRP device is being used.&lt;br /&gt;
** X3xx series devices: Design Edition or System Edition.&lt;br /&gt;
** E3xx series devices: Design Edition, System Edition, or the free WebPack Edition.&lt;br /&gt;
* Other operating systems can be used, but the exact steps on how to proceed are not given in this Application Note.&lt;br /&gt;
* In some Linux distributions (e.g. Ubuntu) &amp;lt;code&amp;gt;dash&amp;lt;/code&amp;gt; is set as default shell, which may cause some issues. It is recommended to set the shell to &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt; by running the following commands in the terminal. Choose &amp;lt;code&amp;gt;&amp;lt;No&amp;gt;&amp;lt;/code&amp;gt; when prompted by the first command and the second command will validate the that bash will be used.&lt;br /&gt;
&lt;br /&gt;
    $ sudo dpkg-reconfigure dash&lt;br /&gt;
    $ ll /bin/sh&lt;br /&gt;
&lt;br /&gt;
==Creating a development environment==&lt;br /&gt;
While this Application Note goes through the process of integrating GNU Radio into the RFNoC development flow, it is by no means required to use or develop within the RFNoC framework, but it makes it a great deal easier to use a framework on top of RFNoC for aspects such as visualization and other features. GNU Radio is freely available and more information about it can be found [http://gnuradio.org/ here].&lt;br /&gt;
&lt;br /&gt;
The following software packages are required in order to setup a development environment/sandbox:&lt;br /&gt;
&lt;br /&gt;
* UHD&lt;br /&gt;
* GNU Radio &lt;br /&gt;
* gr-ettus&lt;br /&gt;
&lt;br /&gt;
===Create development environment using PyBOMBS===&lt;br /&gt;
The cleanest way to set this up is to install everything into a dedicated directory. [https://github.com/gnuradio/pybombs PyBOMBS] is the simplest way to do this. If not already installed, PyBOMBS can be setup with the following commands:&lt;br /&gt;
&lt;br /&gt;
    $ sudo apt-get install git&lt;br /&gt;
    $ sudo apt-get install python-setuptools python-dev python-pip build-essential &lt;br /&gt;
    &lt;br /&gt;
    $ sudo pip install git+https://github.com/gnuradio/pybombs.git&lt;br /&gt;
    $ pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git&lt;br /&gt;
    $ pybombs recipes add ettus git+https://github.com/EttusResearch/ettus-pybombs.git&lt;br /&gt;
&lt;br /&gt;
These commands will do the following:&lt;br /&gt;
* Install &amp;lt;code&amp;gt;Git&amp;lt;/code&amp;gt;&lt;br /&gt;
* Install &amp;lt;code&amp;gt;pip&amp;lt;/code&amp;gt; and other Python dependencies&lt;br /&gt;
* Install the latest &amp;lt;code&amp;gt;PyBOMBS&amp;lt;/code&amp;gt; from its Git repository&lt;br /&gt;
* Add the &amp;lt;code&amp;gt;gr-recipes&amp;lt;/code&amp;gt; recipes which are used to install GNU Radio specific software&lt;br /&gt;
* Add the &amp;lt;code&amp;gt;ettus&amp;lt;/code&amp;gt; recipes which are used to install Ettus Research specific software&lt;br /&gt;
&lt;br /&gt;
From here, PyBOMBS can be used to setup and install the development environment/sandbox by running the following command:&lt;br /&gt;
&lt;br /&gt;
    $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc&lt;br /&gt;
&lt;br /&gt;
This will do the following:&lt;br /&gt;
&lt;br /&gt;
* Create a directory in the user’s home directory called &amp;lt;code&amp;gt;rfnoc&amp;lt;/code&amp;gt; (any valid directory name will work)&lt;br /&gt;
&lt;br /&gt;
* Give the prefix an alias of &amp;lt;code&amp;gt;rfnoc&amp;lt;/code&amp;gt; ( &amp;lt;code&amp;gt;[-a alias]&amp;lt;/code&amp;gt;, e.g. &amp;lt;code&amp;gt;–a rfnoc&amp;lt;/code&amp;gt; ), which would be the name given to this path. This name will be used in further steps that use PyBOMBS. When creating the first prefix and omitting the alias, the prefix will be setup as the default.&lt;br /&gt;
&lt;br /&gt;
* Use the &amp;lt;code&amp;gt;rfnoc&amp;lt;/code&amp;gt; prefix recipe ( as opposed to a package recipe like &amp;lt;code&amp;gt;gqrx&amp;lt;/code&amp;gt; ) to clone UHD, FPGA, GNU Radio, and gr-ettus sources into the &amp;lt;code&amp;gt;~/rfnoc&amp;lt;/code&amp;gt; directory as well as compile and install all the software&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' A user can specify how many cores are used by builds when using PyBOMBS. The default is set to 4. For example, this will set the number of cores used to 3:&lt;br /&gt;
&lt;br /&gt;
    $ pybombs config makewidth 3&lt;br /&gt;
&lt;br /&gt;
The value will be written into a configuration file and then applied to subsequent PyBOMBS commands. This value can temporarily be overridden for a specific build by specifying the &amp;lt;code&amp;gt;--config makewidth=X&amp;lt;/code&amp;gt; argument, where “&amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt;” is an integer number. If the user only has 4 cores it is recommend to use this argument in the pybombs command to limit the number of cores to &amp;lt;4 (e.g. 3) so that the computer stays responsive. Following are 2 examples, one using less cores and the other using more cores:&lt;br /&gt;
&lt;br /&gt;
    $ pybombs --config makewidth=3 prefix init ~/rfnoc -R rfnoc -a rfnoc &lt;br /&gt;
    $ pybombs --config makewidth=7 prefix init ~/rfnoc -R rfnoc -a rfnoc&lt;br /&gt;
&lt;br /&gt;
Then, it is necessary to setup the PyBOMBS environment, so that the system/terminal session will have the environmental variables pointing to this newly created prefix, which is done with the following commands:&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/rfnoc&lt;br /&gt;
    $ source ./setup_env.sh&lt;br /&gt;
&lt;br /&gt;
Once the previous command is run, this terminal session will have access to the environmental variables that allow the complete use of the set of software that was just installed with PyBOMBS. If access to the software is needed in other terminals the same command must be run within them.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Throughout the rest of this document the term &amp;lt;code&amp;gt;{USER_PREFIX}&amp;lt;/code&amp;gt; will used at the beginning of different directories. For example, &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts&amp;lt;/code&amp;gt; is a directory that contains useful scripts for compiling. The term &amp;lt;code&amp;gt;{USER_PREFIX}&amp;lt;/code&amp;gt; is used to denote the folders that precede the &amp;lt;code&amp;gt;/src&amp;lt;/code&amp;gt; directory. Examples of what &amp;lt;code&amp;gt;{USER_PREFIX}&amp;lt;/code&amp;gt; could be: &amp;lt;code&amp;gt;/home/user/rfnoc&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/home/user/myDevfolder/&amp;lt;/code&amp;gt;. On many Linux environments using &amp;lt;code&amp;gt;~/&amp;lt;/code&amp;gt; at the beginning of the target directory path is equivalent to the user’s home directory.( i.e &amp;lt;code&amp;gt;~/&amp;lt;/code&amp;gt; is equal to &amp;lt;code&amp;gt;/home/user/&amp;lt;/code&amp;gt;). So &amp;lt;code&amp;gt;{USER_PREFIX}&amp;lt;/code&amp;gt; could also look like &amp;lt;code&amp;gt;~/rfnoc&amp;lt;/code&amp;gt;  or &amp;lt;code&amp;gt;~/myDevfolder/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Create the development environment manually===&lt;br /&gt;
As an alternative to using PyBOMBS, manually installing and configuring the software is done by following the individual install notes for [http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGRFromSource GNU Radio], [https://files.ettus.com/manual/page_build_guide.html UHD] and [https://github.com/EttusResearch/gr-ettus gr-ettus] and by making sure they are reachable by linkers and compilers.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The Application Note found [https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux here] goes through the process of manually installing UHD and GNU Radio on Linux platforms.&lt;br /&gt;
&lt;br /&gt;
To manually download the software, use these &amp;lt;code&amp;gt;git clone&amp;lt;/code&amp;gt; commands, which will select the correct branches:&lt;br /&gt;
&lt;br /&gt;
    $ git clone --recursive -b rfnoc-devel https://github.com/EttusResearch/uhd.git &lt;br /&gt;
    $ git clone --recursive -b maint https://github.com/gnuradio/gnuradio.git # master branch is also fine instead of maint&lt;br /&gt;
    $ git clone -b master https://github.com/EttusResearch/gr-ettus.git &lt;br /&gt;
    $ git clone -b rfnoc-devel https://github.com/EttusResearch/fpga.git&lt;br /&gt;
&lt;br /&gt;
If UHD, GNU Radio and/or gr-ettus are already installed, it would be sufficient to checkout the branches mentioned and update them them (&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;). Thereafter, rebuild each of the repositories (rebuild order: UHD, GNU Radio, gr-ettus).&lt;br /&gt;
&lt;br /&gt;
===Verify Environment===&lt;br /&gt;
Running the command “&amp;lt;code&amp;gt;uhd_config_info&amp;lt;/code&amp;gt;” with the “&amp;lt;code&amp;gt;--version&amp;lt;/code&amp;gt;” flag will verify that the installation has been completed successfully.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The version string output from this command may differ, however it should be similar to the output below.&lt;br /&gt;
&lt;br /&gt;
    $ uhd_config_info --version&lt;br /&gt;
    linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_4.0.0.rfnoc-devel-161- g83150fdd&lt;br /&gt;
    &lt;br /&gt;
    4.0.0.rfnoc-devel-161-g83150fdd&lt;br /&gt;
&lt;br /&gt;
===Testing the default FPGA image and building from existing blocks===&lt;br /&gt;
&lt;br /&gt;
It is recommended to spend a moment looking at the Ettus Research default image, which is pre-built with a set of RFNoC blocks, as well as building a custom image with a unique set of pre-built RFNoC blocks. To get the default image(s), run the following command:&lt;br /&gt;
&lt;br /&gt;
    $ uhd_images_downloader&lt;br /&gt;
&lt;br /&gt;
Ettus Research will be updating the default image(s) occasionally, and &amp;lt;code&amp;gt;uhd_images_downloader&amp;lt;/code&amp;gt; can be run anytime after running &amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt; and re-installing to pull the most current images. Images are stored in the &amp;lt;code&amp;gt;{USER_PREFIX}/share/uhd/images&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
The following images have the corresponding RFNoC blocks (Computation Engines):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Image Name&lt;br /&gt;
!Included Blocks&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;code&amp;gt;usrp_x300_fpga_HG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;usrp_x300_fpga_XG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;usrp_x310_fpga_HG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;usrp_x310_fpga_XG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;2x DDC, 2x DUC&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;code&amp;gt;usrp_x300_fpga_RFNOC_HG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;usrp_x300_fpga_RFNOC_XG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;DUC, DDC (one channel), fosphor, window, fft, 2x AXI FIFOs&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;code&amp;gt;usrp_x310_fpga_RFNOC_HG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;usrp_x310_fpga_RFNOC_XG.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;DUC, DDC (one channel), fosphor, window, fft, 2x AXI FIFOs, Keep One in N, FIR, Siggen&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;code&amp;gt;usrp_e310_fpga.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;usrp_e310_fpga_sg3.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;1x DDC, 1x DUC&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;code&amp;gt;usrp_e310_fpga_RFNOC.bit (sg1 version)&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;usrp_e310_fpga_RFNOC_sg3.bit&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;fosphor, window, fft, 2x AXI FIFOs, FIR&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Instructions on flashing the image to a device can be found [http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_load_fpga_imgs here] for X3xx series and [http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_load_fpga_imgs here] for E3xx series.&lt;br /&gt;
  &lt;br /&gt;
'''NOTE:''' FPGA images are specific to the USRP device '''NOT''' the USRP series. For example, a USRP X300 FPGA image will '''NOT''' work on a USRP X310 and vice versa. Loading an image that does not correspond to a USRP device will likely brick the device.&lt;br /&gt;
&lt;br /&gt;
By following the steps above the following should now be available:&lt;br /&gt;
* UHD/RFNoC code downloaded and installed&lt;br /&gt;
* FPGA code available&lt;br /&gt;
* A valid RFNoC image on your X3xx or E3xx series device&lt;br /&gt;
&lt;br /&gt;
====Inspect default images====&lt;br /&gt;
Run the following command, with a USRP connected to your PC, to verify current image on the USRP.&lt;br /&gt;
&lt;br /&gt;
    $ uhd_usrp_probe&lt;br /&gt;
&lt;br /&gt;
If an RFNoC image was successfully loaded onto the USRP, there will be a lot of output text (RFNoC code is currently very verbose). The final lines of the output should be similar to the following for an USRP X310 ( e.g. &amp;lt;code&amp;gt;usrp_x310_fpga_HG&amp;lt;/code&amp;gt; ):&lt;br /&gt;
&lt;br /&gt;
    |   |     _____________________________________________________&lt;br /&gt;
    |   |    /&lt;br /&gt;
    |   |   |       RFNoC blocks on this device:&lt;br /&gt;
    |   |   |   &lt;br /&gt;
    |   |   |   * DmaFIFO_0&lt;br /&gt;
    |   |   |   * Radio_0&lt;br /&gt;
    |   |   |   * Radio_1&lt;br /&gt;
    |   |   |   * DDC_0&lt;br /&gt;
    |   |   |   * DDC_1&lt;br /&gt;
    |   |   |   * DUC_0&lt;br /&gt;
    |   |   |   * DUC_1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Final output for &amp;lt;code&amp;gt;usrp_x310_fpga_RFNOC_HG.bit&amp;lt;/code&amp;gt; image:&lt;br /&gt;
&lt;br /&gt;
    |   |     _____________________________________________________&lt;br /&gt;
    |   |    /&lt;br /&gt;
    |   |   |       RFNoC blocks on this device:&lt;br /&gt;
    |   |   |   &lt;br /&gt;
    |   |   |   * DmaFIFO_0&lt;br /&gt;
    |   |   |   * Radio_0&lt;br /&gt;
    |   |   |   * Radio_1&lt;br /&gt;
    |   |   |   * DDC_0&lt;br /&gt;
    |   |   |   * DUC_0&lt;br /&gt;
    |   |   |   * FFT_0&lt;br /&gt;
    |   |   |   * Window_0&lt;br /&gt;
    |   |   |   * FIR_0&lt;br /&gt;
    |   |   |   * SigGen_0&lt;br /&gt;
    |   |   |   * KeepOneInN_0&lt;br /&gt;
    |   |   |   * fosphor_0&lt;br /&gt;
    |   |   |   * FIFO_0&lt;br /&gt;
    |   |   |   * FIFO_1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The actual names and number of blocks can differ. The list of blocks should start with the &amp;lt;code&amp;gt;DmaFIFO_x&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Radio_x&amp;lt;/code&amp;gt;, and then a couple more lines of block IDs should follow.&lt;br /&gt;
&lt;br /&gt;
====Build custom image with pre-built RFNoC blocks====&lt;br /&gt;
Because of the growing number of RFNoC blocks, the user has the option to build an FPGA image with a set of pre-built RFNoC blocks of their choosing. The following steps describe the process for doing this and by so doing will also validate proper tool installation. Because compilation can take a couple of hours, it is recommended the user begin this process while continuing the rest of this guide.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' FPGA compilations can run in the background, however they are very resource intensive. If the user intents to use the same computer that is compiling to walk through the rest of this Application Note, it is recommended that the computer has plenty of resources.&lt;br /&gt;
&lt;br /&gt;
The script to initiate a compile is called &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt;, and is located in the &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts&amp;lt;/code&amp;gt; directory. Run the help menu by typing:&lt;br /&gt;
&lt;br /&gt;
    $ cd {USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts &lt;br /&gt;
    $ ./uhd_image_builder.py --help&lt;br /&gt;
&lt;br /&gt;
A more detailed discussion of this script is given in an upcoming section. For now, compiling an FPGA image that has 2 RFNoC blocks (&amp;lt;code&amp;gt;window&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;fft&amp;lt;/code&amp;gt;) and some &amp;lt;code&amp;gt;FIFOs&amp;lt;/code&amp;gt;, is done by running the script with the following arguments.&lt;br /&gt;
&lt;br /&gt;
Example for an X310 USRP:&lt;br /&gt;
&lt;br /&gt;
    $ ./uhd_image_builder.py window fft -d x310 -t X310_RFNOC_HG -m 5 --fill-with-fifos&lt;br /&gt;
&lt;br /&gt;
Example for an E310 USRP with Speed Grade 3 (sg3) FPGA:&lt;br /&gt;
&lt;br /&gt;
    $ ./uhd_image_builder.py window fft -d e310 -t E310_RFNOC_sg3 -m 5 --fill-with-fifos&lt;br /&gt;
&lt;br /&gt;
At the end of a successful compilation process, write the new image to a USRP. If the image was compiled for a USRP X310, the following command will load the new image. Update the &amp;lt;code&amp;gt;{IP_Address}&amp;lt;/code&amp;gt; of the USRP and &amp;lt;code&amp;gt;{USER_PREFIX}&amp;lt;/code&amp;gt; to the appropriate values for your configuration before running the command.&lt;br /&gt;
&lt;br /&gt;
    $ uhd_image_loader --args &amp;quot;type=x300,addr={IP_ADDRESS}&amp;quot; --fpga-path {USER_PREFIX}/src/uhd-fpga/usrp3/top/x300/build/usrp_x310_fpga_RFNOC_HG.bit&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' FPGA images are specific to the USRP device '''NOT''' the USRP series. For example, a USRP X300 FPGA image will '''NOT''' work on a USRP X310 and vice versa. Loading an image that does not correspond to a USRP device will likely brick the device. Additional instructions on flashing a custom image to a device can be found [http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_load_fpga_imgs here] for X3xx series and [http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_load_fpga_imgs here] for E3xx series.&lt;br /&gt;
&lt;br /&gt;
After the image has been successfully written to the USRP, power-cycle it and run the “&amp;lt;code&amp;gt;uhd_usrp_probe&amp;lt;/code&amp;gt;” utility to view the newly compiled blocks.&lt;br /&gt;
&lt;br /&gt;
    $ uhd_usrp_probe&lt;br /&gt;
&lt;br /&gt;
The final lines of output for the image built for the X310 is as follows:&lt;br /&gt;
&lt;br /&gt;
    |   |     _____________________________________________________&lt;br /&gt;
    |   |    /&lt;br /&gt;
    |   |   |       RFNoC blocks on this device:&lt;br /&gt;
    |   |   |   &lt;br /&gt;
    |   |   |   * DmaFIFO_0&lt;br /&gt;
    |   |   |   * Radio_0&lt;br /&gt;
    |   |   |   * Radio_1&lt;br /&gt;
    |   |   |   * Window_0&lt;br /&gt;
    |   |   |   * FFT_0&lt;br /&gt;
    |   |   |   * FIFO_0&lt;br /&gt;
    |   |   |   * FIFO_1&lt;br /&gt;
    |   |   |   * FIFO_2&lt;br /&gt;
&lt;br /&gt;
===Getting started with UHD + RFNoC===&lt;br /&gt;
The following new examples included within the &amp;lt;code&amp;gt;rfnoc-devel&amp;lt;/code&amp;gt; branch of UHD, are a good reference on how to use RFNoC from UHD.&lt;br /&gt;
&lt;br /&gt;
The following example is based off of &amp;lt;code&amp;gt;rx_samples_to_file.cpp&amp;lt;/code&amp;gt;. The example can be configured to place an RFNoC block in between the radio and host.&lt;br /&gt;
&lt;br /&gt;
    rfnoc_rx_to_file.cpp&lt;br /&gt;
&lt;br /&gt;
This next example chains a null source to another block and streams the data to the host.&lt;br /&gt;
&lt;br /&gt;
    rfnoc_nullsource_ce_rx.cpp&lt;br /&gt;
&lt;br /&gt;
These examples demonstrate the core features and flexibility of RFNoC.&lt;br /&gt;
&lt;br /&gt;
For more information on UHD and UHD development please refer to the [https://kb.ettus.com/UHD UHD Software Resource page], [https://kb.ettus.com/Getting_Started_with_UHD_and_C%2B%2B Getting Started with UHD and C++ Application Note] or directly to the [http://files.ettus.com/manual/ UHD user manual].&lt;br /&gt;
&lt;br /&gt;
===Getting started with GNU Radio + RFNoC===&lt;br /&gt;
A good way of getting started with RFNoC in a more visual way is to use GNU Radio. The &amp;lt;code&amp;gt;gr-ettus&amp;lt;/code&amp;gt; out-of-tree module (OOT) allows a user to use RFNoC blocks in their local GNU Radio / GNU Radio Companion (GRC) installation. This GNU Radio OOT contains blocks that allow you to configure your FPGA through GRC.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' As blocks in the &amp;lt;code&amp;gt;gr-ettus&amp;lt;/code&amp;gt; OOT mature, they will be upstreamed to &amp;lt;code&amp;gt;gr-uhd&amp;lt;/code&amp;gt;. Also, &amp;lt;code&amp;gt;gr-ettus&amp;lt;/code&amp;gt; is a container used by Ettus Research to disseminate experimental or under-development features for &amp;lt;code&amp;gt;gr-uhd&amp;lt;/code&amp;gt;. It is not a replacement for &amp;lt;code&amp;gt;gr-uhd&amp;lt;/code&amp;gt; (in fact, the latter is a requirement for &amp;lt;code&amp;gt;gr-ettus&amp;lt;/code&amp;gt;).&lt;br /&gt;
    &lt;br /&gt;
Examples can be run from &amp;lt;code&amp;gt;gr-ettus/examples/rfnoc&amp;lt;/code&amp;gt;, provided that the appropriate RFNoC blocks are compiled into the FPGA image currently running on the USRP.&lt;br /&gt;
&lt;br /&gt;
A couple of rules for building GNU Radio flowgraphs with RFNoC blocks:&lt;br /&gt;
&lt;br /&gt;
* You always need a &amp;lt;code&amp;gt;Device3&amp;lt;/code&amp;gt; object in your flow graph (it does not get connected, see screenshot below).&lt;br /&gt;
* You should have at least two RFNoC blocks connected together. Going &amp;lt;code&amp;gt;GNU Radio Block&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;RFNoC Block&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;GNU Radio Block&amp;lt;/code&amp;gt; is not recommended (it will work, but with suboptimal performance).&lt;br /&gt;
&lt;br /&gt;
The GNU Radio flowgraph &amp;lt;code&amp;gt;rfnoc_ddc.grc&amp;lt;/code&amp;gt; is an example that can be run using the default RFNoC image. Below are screenshots of the flowgraph and what it produces.&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 1.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Copy Block: In the RFNoC domain, streams of data can not be split as easily as they are in the GNU Radio domain. The “copy” block depicted in the screenshot above serves the function as a stream splitter. Its main purpose, when “enabled”, is to copy the samples it is getting at its input and put them into the output, but here it is also serving as a boundary between a RFNoC-domain and a GNURadio-domain. In the flowgraph above, after this boundary is passed, the data stream can easily be split into the two sinks to have them run simultaneously (standard GNU Radio functionality). It is possible to connect the GNU Radio blocks directly to RFNoC blocks without a “copy” block, but only one would work at a time (the other ones would have to be disabled). Another way to split data streams from the RFNoC-domain is to use the ”RFNoC: split stream” block, which would split the streams in the RFNoC domain, but this is not very useful here as we are, in any case, moving into the GNURadio-domain.&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 2.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
For more information on GNURadio development please refer to the [http://gnuradio.org/doc/doxygen/ GNURadio user's manual and API].&lt;br /&gt;
&lt;br /&gt;
==Starting a custom RFNoC block using RFNoC Modtool==&lt;br /&gt;
The figure below shows the basic structure of the RFNoC Stack. Corresponding code is needed in each of the three sections in order to build a custom RFNoC block with GNU Radio integration. A tool called RFNoC Modtool was created in order to minimize the effort needed to implement a new RFNoC block. RFNoC Modtool creates a custom GNU Radio OOT module with the basic structure and the necessary files for each of these sections. RFNoC Modtool is currently a part of the GNU Radio OOT module &amp;lt;code&amp;gt;gr-ettus&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 3.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
===RFNoC Modtool Utilization===&lt;br /&gt;
'''NOTE:''' Console outputs may vary depending on the version of UHD the user is running. However, functionality should be the same or similar.&lt;br /&gt;
&lt;br /&gt;
Because the RFNoC Modtool has similar functionality to the &amp;lt;code&amp;gt;gr_modtool&amp;lt;/code&amp;gt; [ [http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules gr_modtool] ] provided by GNU Radio, those that have worked with &amp;lt;code&amp;gt;gr_modtool&amp;lt;/code&amp;gt; in the past will find the RFNoC Modtool familiar.&lt;br /&gt;
&lt;br /&gt;
To check the usage of the tool, run the following:&lt;br /&gt;
&lt;br /&gt;
    $ rfnocmodtool help&lt;br /&gt;
    linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_4.0.0.rfnoc-devel-162-g335a1317&lt;br /&gt;
    &lt;br /&gt;
    Usage:&lt;br /&gt;
    rfnocmodtool &amp;lt;command&amp;gt; [options] -- Run &amp;lt;command&amp;gt; with the given options.&lt;br /&gt;
    rfnocmodtool help -- Show a list of commands.&lt;br /&gt;
    rfnocmodtool help &amp;lt;command&amp;gt; -- Shows the help for a given command. &lt;br /&gt;
    &lt;br /&gt;
    List of possible commands:&lt;br /&gt;
    &lt;br /&gt;
    Name      Aliases          Description&lt;br /&gt;
    =====================================================================&lt;br /&gt;
    disable   dis              Disable block (comments out CMake entries for files) &lt;br /&gt;
    info      getinfo,inf      Return information about a given module &lt;br /&gt;
    remove    rm,del           Remove block (delete files and remove Makefile entries) &lt;br /&gt;
    makexml   mx               Make XML file for GRC block bindings &lt;br /&gt;
    add       insert           Add block to the out-of-tree module. &lt;br /&gt;
    newmod    nm,create        Create a new out-of-tree module &lt;br /&gt;
    rename    mv               Rename a block in the out-of-tree module.&lt;br /&gt;
&lt;br /&gt;
===Creating an RFNoC OOT Module===&lt;br /&gt;
&lt;br /&gt;
To start generating an RFNoC OOT module navigate to the source location ( i.e. &amp;lt;code&amp;gt;cd ~/{USER_PREFIX}/src&amp;lt;/code&amp;gt; ) and type:&lt;br /&gt;
    $ rfnocmodtool newmod [NAME OF THE MODULE]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;[NAME OF THE MODULE]&amp;lt;/code&amp;gt; is a name the user gives the new module. In the following, a module is created with the name “&amp;lt;code&amp;gt;tutorial&amp;lt;/code&amp;gt;”. If the user does not write the name of the module following the &amp;lt;code&amp;gt;newmod&amp;lt;/code&amp;gt; command the tool will ask for it interactively. Running this command will create a folder containing the basic folders that you may need for a functional module.&lt;br /&gt;
&lt;br /&gt;
    $ rfnocmodtool newmod tutorial&lt;br /&gt;
    linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_4.0.0.rfnoc-devel-162-g335a1317&lt;br /&gt;
    &lt;br /&gt;
    Creating out-of-tree module in ./rfnoc-tutorial... Done.&lt;br /&gt;
    Use 'rfnocmodtool add' to add a new block to this currently empty module.&lt;br /&gt;
&lt;br /&gt;
To see what files and directories were created run:&lt;br /&gt;
&lt;br /&gt;
    $ ls rfnoc-tutorial/&lt;br /&gt;
    apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  MANIFEST.md  python  README.md  rfnoc  swig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In contrast with &amp;lt;code&amp;gt;gr_modtool&amp;lt;/code&amp;gt;, this includes a folder called &amp;lt;code&amp;gt;rfnoc&amp;lt;/code&amp;gt;, which is where the UHD/FPGA files are located.&lt;br /&gt;
&lt;br /&gt;
===Adding custom blocks to OOT Module===&lt;br /&gt;
In order to add blocks to a module, navigate to the folder just created and use the &amp;lt;code&amp;gt;add&amp;lt;/code&amp;gt; command of &amp;lt;code&amp;gt;rfnocmodtool&amp;lt;/code&amp;gt;. Continuing with the example above, run the following:&lt;br /&gt;
&lt;br /&gt;
    $ cd rfnoc-tutorial&lt;br /&gt;
    $ rfnocmodtool add [NAME OF THE BLOCK]&lt;br /&gt;
&lt;br /&gt;
For demonstrative purposes, a block named &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; will be created. The &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; block will multiply samples that pass through it by a constant. As before, if the name is not given, the tool will ask the user for the name. There are several arguments that can be passed to the tool, but running the tool without any of these arguments will give the following interactive parsing output:&lt;br /&gt;
&lt;br /&gt;
    $ rfnocmodtool add gain&lt;br /&gt;
    linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_4.0.0.rfnoc-devel-162-g335a1317&lt;br /&gt;
    &lt;br /&gt;
    RFNoC module name identified: tutorial&lt;br /&gt;
    Block/code identifier: gain&lt;br /&gt;
    Enter valid argument list, including default arguments: &lt;br /&gt;
    Block NoC ID (Hexadecimal): 1111222233334444&lt;br /&gt;
    Skip Block Controllers Generation? [UHD block ctrl files] [y/N] N&lt;br /&gt;
    Skip Block interface files Generation? [GRC block ctrl files] [y/N] N&lt;br /&gt;
&lt;br /&gt;
Hitting &amp;lt;code&amp;gt;enter&amp;lt;/code&amp;gt; on each one of the options will take the default values.&lt;br /&gt;
&lt;br /&gt;
The following is a description of the valid argument list items:&lt;br /&gt;
&lt;br /&gt;
* '''NoC ID:''' This ID is a Hexadecimal number which serves as identification between the hardware part and the software part of the design. It can be as long as 16 0-9 A-F digits. If a NoC ID is not provided, it will be set to a random number.&lt;br /&gt;
&lt;br /&gt;
* '''Block Controllers Generation:''' The block controllers are the C++ control that the user can apply to the UHD-part of the design. In these files, the user can add more control over this layer of the design. Depending on the complexity of the block it may be possible to add all necessary control using NoCScript (more details on NoCScript can be found in the section labeled UHD Integration). In this case the cpp/hpp block control files generation are not needed. Default is to generate as their existence will be ignored if not edited.&lt;br /&gt;
&lt;br /&gt;
* '''Block Interface:''' Add more design specific functionality to the design at the GNU Radio interface by generating these block-interface files and adding necessary logic.  Depending on the complexity of the block it may be possible to add all necessary control using NoC-Script. In this case the block-interface files are not needed. Default is to generate as their existence will be ignored if not edited.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If the user does not intend to use the block controllers or is not sure if they are needed, the presence of them in the design will do no harm. It is recommended to add them. This leaves the possibility to add more functions inside them in a future stage of development. &lt;br /&gt;
&lt;br /&gt;
After finishing the parsing, the following files will be generated/edited:&lt;br /&gt;
&lt;br /&gt;
    Adding file 'lib/gain_impl.h'...&lt;br /&gt;
    Adding file 'lib/gain_impl.cc'...&lt;br /&gt;
    Adding file 'include/tutorial/gain.h'...&lt;br /&gt;
    Adding file 'include/tutorial/gain_block_ctrl.hpp'...&lt;br /&gt;
    Adding file 'lib/gain_block_ctrl_impl.cpp'...&lt;br /&gt;
    Editing swig/tutorial_swig.i...&lt;br /&gt;
    Adding file 'python/qa_gain.py'...&lt;br /&gt;
    Editing python/CMakeLists.txt...&lt;br /&gt;
    Adding file 'grc/tutorial_gain.xml'...&lt;br /&gt;
    Adding file 'rfnoc/blocks/gain.xml'...&lt;br /&gt;
    Adding file 'rfnoc/fpga-src/noc_block_gain.v'...&lt;br /&gt;
    rfnoc/testbenches/noc_block_gain_tb folder created&lt;br /&gt;
    Adding file 'rfnoc/testbenches/noc_block_gain_tb/noc_block_gain_tb.sv'...&lt;br /&gt;
    Adding file 'rfnoc/testbenches/noc_block_gain_tb/Makefile'...&lt;br /&gt;
    Adding file 'rfnoc/testbenches/noc_block_gain_tb/CMakeLists.txt'...&lt;br /&gt;
&lt;br /&gt;
==Creating FPGA portion of custom RFNoC Block==&lt;br /&gt;
===RFNoC FPGA User Interface (API)===&lt;br /&gt;
RFNoC blocks or Computation Engines (CEs) in the FPGA use a NoC Shell instance to interface with the rest of RFNoC. NoC Shell implements RFNoC's core functionality: packet muxing and demuxing, flow control, and the settings register bus (i.e. write/read control/status registers). The NoC Shell has an interface to the RFNoC AXI stream crossbar and a user interface. NoC Shell AXI stream interfaces expect CHDR packets with a proper header. See the manual for information on [https://files.ettus.com/manual/page_rtp.html CHDR and SID].&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' AXI Stream is an ARM AMBA standard interface. Xilinx has an [http://www.xilinx.com/support/documentation/ip_documentation/ug761_axi_reference_guide.pdf AXI Reference Guide] with more details on this standard.&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 4.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
Many designs will want to use an AXI Stream interface with only sample data. However, as stated earlier, the NoC Shell block expects CHDR packets. To ease interfacing user code, the AXI Wrapper block provides the necessary logic to strip and insert the CHDR header, effectively converting packetized sample data into streaming sample data and vice versa. The example RFNoC blocks &amp;lt;code&amp;gt;noc_block_fft.v&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;noc_block_fir.v&amp;lt;/code&amp;gt; show how AXI Wrapper is used to implement existing Xilinx AXI Stream based IP within a computation engine.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' AXI Wrapper also supports AXI Stream buses for configuration. These buses are driven via the setting register bus and do not have back pressure. They also consume two user register addresses per bus.&lt;br /&gt;
&lt;br /&gt;
The primary user interface consists of four AXI stream interfaces ( &amp;lt;code&amp;gt;tready, tvalid, tlast, tdata&amp;lt;/code&amp;gt; ) and a settings register bus ( 8-bit, valid user register addresses: &amp;lt;code&amp;gt;128-255&amp;lt;/code&amp;gt; ).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
AXI Stream signals:&lt;br /&gt;
* '''m_axis_data_tdata:''' Input sample data packets &lt;br /&gt;
** Data coming from host or another CE&lt;br /&gt;
* '''s_axis_data_tdata:''' Output sample data packets &lt;br /&gt;
** Data going to another CE or host&lt;br /&gt;
* '''m_axis_data_tready:''' Input signal to CE&lt;br /&gt;
** Used to notify CE that downstream CE is ready for data &lt;br /&gt;
* '''s_axis_data_tready:''' Output signal to CE&lt;br /&gt;
** Used to notify upstream CE that CE is ready for data &lt;br /&gt;
* '''m_axis_data_tvalid:''' Input signal to CE&lt;br /&gt;
** Used to indicate upstream CE has valid data &lt;br /&gt;
* '''s_axis_data_tvalid:''' Output signal to CE&lt;br /&gt;
** Used to indicate to downstream CE that CE has valid data &lt;br /&gt;
* '''m_axis_data_tlast:''' Input signal to CE&lt;br /&gt;
** Used to delimit packets from upstream CE &lt;br /&gt;
* '''s_axis_data_tlast:''' Output signal to CE&lt;br /&gt;
** Used to delimit packets to downstream CE&lt;br /&gt;
| style=&amp;quot;vertical-align:top&amp;quot; |[[File:rfnoc gsg an 5.png|right|500px|]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 6.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
Settings Bus signals:&lt;br /&gt;
* '''set_stb:''' Assert to write '''set_data''' to register at '''set_addr'''ess&lt;br /&gt;
* '''set_addr:''' Register address to set&lt;br /&gt;
* '''set_data:''' Data to set&lt;br /&gt;
* '''rb_data:''' Data to read back&lt;br /&gt;
* '''rb_strobe:''' Assert to read '''rb_data''' from register at '''set_addr'''ess&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;vertical-align:top&amp;quot; |[[File:rfnoc gsg an 7.png|right|500px|]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
For the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; example block the following architecture is desired:&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 8.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;rfnoc-tutorial/rfnoc/fpga-src/noc_block_gain.v&amp;lt;/code&amp;gt; that contains the RFNoC block skeleton code that was created when the &amp;lt;code&amp;gt;$ rfnocmodtool add gain&amp;lt;/code&amp;gt; command was run and modify the following ('''BOLD''' indicates changes to the skeleton code).&lt;br /&gt;
&lt;br /&gt;
    '''localparam [7:0] SR_GAIN = SR_USER_REG_BASE;'''&lt;br /&gt;
    localparam [7:0] SR_TEST_REG_1 = SR_USER_REG_BASE + 8'd1;&lt;br /&gt;
    &lt;br /&gt;
    '''wire [15:0] gain;'''&lt;br /&gt;
    '''setting_reg #('''&lt;br /&gt;
      '''.my_addr(SR_GAIN), .awidth(8), .width(16))'''&lt;br /&gt;
    '''sr_gain ('''&lt;br /&gt;
      '''.clk(ce_clk), .rst(ce_rst),'''&lt;br /&gt;
      '''.strobe(set_stb), .addr(set_addr), .in(set_data), .out(gain), .changed());'''&lt;br /&gt;
    &lt;br /&gt;
     always @(posedge ce_clk) begin&lt;br /&gt;
        case(rb_addr)&lt;br /&gt;
          '''8'd0 : rb_data &amp;lt;= {48'd0, gain};'''&lt;br /&gt;
          8'd1 : rb_data &amp;lt;= {32'd0, test_reg_1};&lt;br /&gt;
          default : rb_data &amp;lt;= 64'h0BADC0DE0BADC0DE;&lt;br /&gt;
        endcase&lt;br /&gt;
     end&lt;br /&gt;
     &lt;br /&gt;
     '''wire [31:0] pipe_in_tdata;'''&lt;br /&gt;
     '''wire pipe_in_tvalid, pipe_in_tlast;'''&lt;br /&gt;
     '''wire pipe_in_tready;'''&lt;br /&gt;
 &lt;br /&gt;
     '''wire [31:0] pipe_out_tdata;'''&lt;br /&gt;
     '''wire pipe_out_tvalid, pipe_out_tlast;'''&lt;br /&gt;
     '''wire pipe_out_tready;'''&lt;br /&gt;
 &lt;br /&gt;
     '''// Adding FIFO to ensure Pipeline'''&lt;br /&gt;
     '''axi_fifo_flop #(.WIDTH(32+1))'''&lt;br /&gt;
     '''pipeline0_axi_fifo_flop ('''&lt;br /&gt;
       '''.clk(ce_clk),'''&lt;br /&gt;
       '''.reset(ce_rst),'''&lt;br /&gt;
       '''.clear(clear_tx_seqnum),'''&lt;br /&gt;
       '''.i_tdata({m_axis_data_tlast,m_axis_data_tdata}),'''&lt;br /&gt;
       '''.i_tvalid(m_axis_data_tvalid),'''&lt;br /&gt;
       '''.i_tready(m_axis_data_tready),'''&lt;br /&gt;
       '''.o_tdata({pipe_in_tlast,pipe_in_tdata}),'''&lt;br /&gt;
       '''.o_tvalid(pipe_in_tvalid),'''&lt;br /&gt;
       '''.o_tready(pipe_in_tready));'''  &lt;br /&gt;
 &lt;br /&gt;
     '''wire [15:0] i = pipe_in_tdata[31:16];'''&lt;br /&gt;
     '''wire [15:0] q = pipe_in_tdata[15:0];'''&lt;br /&gt;
 &lt;br /&gt;
     '''wire [31:0] i_mult_gain = i*gain;'''&lt;br /&gt;
     '''wire [31:0] q_mult_gain = q*gain;'''&lt;br /&gt;
 &lt;br /&gt;
     '''wire [31:0] mult_gain = {i_mult_gain[15:0], q_mult_gain[15:0]};'''&lt;br /&gt;
     '''axi_fifo_flop #(.WIDTH(32+1))'''&lt;br /&gt;
     '''pipeline1_axi_fifo_flop ('''&lt;br /&gt;
       '''.clk(ce_clk),'''&lt;br /&gt;
       '''.reset(ce_rst),'''&lt;br /&gt;
       '''.clear(clear_tx_seqnum),'''&lt;br /&gt;
       '''.i_tdata({pipe_in_tlast,mult_gain}),'''&lt;br /&gt;
       '''.i_tvalid(pipe_in_tvalid),'''&lt;br /&gt;
       '''.i_tready(pipe_in_tready),'''&lt;br /&gt;
       '''.o_tdata({pipe_out_tlast,pipe_out_tdata}),'''&lt;br /&gt;
       '''.o_tvalid(pipe_out_tvalid),'''&lt;br /&gt;
       '''.o_tready(pipe_out_tready));'''&lt;br /&gt;
 &lt;br /&gt;
     '''/* Output Signals */'''&lt;br /&gt;
     '''assign pipe_out_tready = s_axis_data_tready;'''&lt;br /&gt;
     '''assign s_axis_data_tvalid = pipe_out_tvalid;'''&lt;br /&gt;
     '''assign s_axis_data_tlast  = pipe_out_tlast;'''&lt;br /&gt;
     '''assign s_axis_data_tdata  = pipe_out_tdata;'''&lt;br /&gt;
&lt;br /&gt;
The following is a block diagram of the code created by the above Verilog:&lt;br /&gt;
&lt;br /&gt;
[[File:gain_block_diagram_v01.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  In order to meet timing, FIFO blocks were added to either side of the Multiplication process.&lt;br /&gt;
&lt;br /&gt;
===Creating and running HDL testbenches===&lt;br /&gt;
In order to make the coding iteration process more efficient, it is recommended to create testbenches for all RFNoC blocks before compiling them into the FPGA image. This allows for flaw and/or bug detection early in the design. RFNoC Modtool provides the structure and files ( e.g. noc_block_{USER_BLOCK_NAME}_tb ) for the testbenches of each of the OOT blocks that are added with the &amp;lt;code&amp;gt;$ rfnocmodtool add&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
Below is a figure that shows the general testbench architecture  that is created by the RFNoC Modtool. This architecture allows a user to test their custom block in the exact same environment it will be placed in when it is built into the RFNoC architecture. Other benefits of the testbench architecture include:&lt;br /&gt;
* Testing through multiple blocks (e.g. FILTER -&amp;gt; FFT -&amp;gt; AVE) &lt;br /&gt;
* Testing with multiple streams (e.g. RFNoC block ADD/SUB takes 2 streams, one that will have a constant added to it and one that will have a constant subtracted from it)&lt;br /&gt;
* Data transfer abstraction (e.g. RFNoC Sim Lib API calls to &amp;lt;code&amp;gt;tb_streamer.send&amp;lt;/code&amp;gt; and  &amp;lt;code&amp;gt;tb_streamer.recv&amp;lt;/code&amp;gt; which take care of all the AXI stream signaling)&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 9.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The &amp;lt;code&amp;gt;noc_block_tb&amp;lt;/code&amp;gt; block is an instantiation of the &amp;lt;code&amp;gt;noc_block_export_io&amp;lt;/code&amp;gt; that is used in testbenches to communicate to the RFNoC architecture. This makes it possible to talk “RFNoC” to the user’s custom block and as such the custom block has a complete RFNoC experience (signaling, flowcontrol, addressing, etc)&lt;br /&gt;
&lt;br /&gt;
From the [[Getting Started with RFNoC Development#Adding_custom_blocks_to_OOT_Module|Adding custom blocks to OOT Module section]] where the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; block was initially created, the last files generated were:&lt;br /&gt;
&lt;br /&gt;
    rfnoc/testbenches/noc_block_gain_tb folder created&lt;br /&gt;
    Adding file 'rfnoc/testbenches/noc_block_gain_tb/noc_block_gain_tb.sv'...&lt;br /&gt;
    Adding file 'rfnoc/testbenches/noc_block_gain_tb/Makefile'...&lt;br /&gt;
    Adding file 'rfnoc/testbenches/noc_block_gain_tb/CMakeLists.txt'...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;noc_block_gain_tb&amp;lt;/code&amp;gt; is a folder generated to contain all the files related to the test bench of the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; block. Each time a new OOT block is created, a new folder will be generated as well. &lt;br /&gt;
&lt;br /&gt;
Inside of this folder are the following three files:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;CMakeLists.txt:&amp;lt;/code&amp;gt; this is an empty file used, so far, only to increase the scope of the compilers.&lt;br /&gt;
* &amp;lt;code&amp;gt;noc_block_gain_tb.sv:&amp;lt;/code&amp;gt; this is a ''System Verilog'' file, in which user custom tests are to be located.  This is the '''only''' file that needs to be modified.&lt;br /&gt;
* &amp;lt;code&amp;gt;Makefile:&amp;lt;/code&amp;gt; This file determines the directives that run the simulation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;noc_block_gain_tb.sv&amp;lt;/code&amp;gt; testbench skeleton code creates the following architecture:&lt;br /&gt;
&lt;br /&gt;
[[File:testbench_arch_gain_v01.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;rfnoc-tutorial/rfnoc/testbenches/noc_block_gain_tb/noc_block_gain_tb.sv&amp;lt;/code&amp;gt; and modify the following lines:&lt;br /&gt;
&lt;br /&gt;
Right under the “Verification” section:&lt;br /&gt;
&lt;br /&gt;
    initial begin : tb_main&lt;br /&gt;
      string s;&lt;br /&gt;
      logic [31:0] random_word;&lt;br /&gt;
      logic [63:0] readback;&lt;br /&gt;
      '''logic [15:0] gain;'''&lt;br /&gt;
&lt;br /&gt;
In the “Test 4 -- Write / readback user registers” section:&lt;br /&gt;
    &lt;br /&gt;
    `TEST_CASE_START(&amp;quot;Write / readback user registers&amp;quot;);&lt;br /&gt;
    random_word = $random();&lt;br /&gt;
    '''tb_streamer.write_user_reg(sid_noc_block_gain, noc_block_gain.SR_GAIN, random_word[15:0]);'''&lt;br /&gt;
    '''tb_streamer.read_user_reg(sid_noc_block_gain, 0, readback);'''&lt;br /&gt;
    '''$sformat(s, &amp;quot;User register 0 incorrect readback! Expected: %0d, Actual %0d&amp;quot;, readback[15:0], random_word[15:0]);'''&lt;br /&gt;
    '''`ASSERT_ERROR(readback[15:0] == random_word[15:0], s);'''&lt;br /&gt;
    &lt;br /&gt;
In the “Test 5 -- Test sequence” section:&lt;br /&gt;
&lt;br /&gt;
    `TEST_CASE_START(&amp;quot;Test sequence&amp;quot;);&lt;br /&gt;
    '''gain = 100;'''&lt;br /&gt;
    '''tb_streamer.write_user_reg(sid_noc_block_gain, noc_block_gain.SR_GAIN, gain);'''&lt;br /&gt;
    fork&lt;br /&gt;
      begin&lt;br /&gt;
        cvita_payload_t send_payload;&lt;br /&gt;
        for (int i = 0; i &amp;lt; SPP/2; i++) begin&lt;br /&gt;
          send_payload.push_back(64'(i));&lt;br /&gt;
        end&lt;br /&gt;
        tb_streamer.send(send_payload);&lt;br /&gt;
      end&lt;br /&gt;
      begin&lt;br /&gt;
        cvita_payload_t recv_payload;&lt;br /&gt;
        cvita_metadata_t md;&lt;br /&gt;
        logic [63:0] expected_value;&lt;br /&gt;
        tb_streamer.recv(recv_payload,md);&lt;br /&gt;
        for (int i = 0; i &amp;lt; SPP/2; i++) begin&lt;br /&gt;
          '''expected_value = i*gain;'''&lt;br /&gt;
&lt;br /&gt;
Test #4 verifies that we can write and readback the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; value. Test #5 writes to the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; register, sends a sample set in the form of a ramp (1, 2, 3, 4, etc) to the RFNoC gain block and finally reads the values from the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; block and compares them to expected values. The followings steps will allow the user to run this testbench.&lt;br /&gt;
&lt;br /&gt;
From within the &amp;lt;code&amp;gt;rfnoc-tutorial&amp;lt;/code&amp;gt; directory, create a &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt; directory and enter it by running:&lt;br /&gt;
&lt;br /&gt;
    $ mkdir build &amp;amp;&amp;amp; cd build/&lt;br /&gt;
&lt;br /&gt;
The next step is to run &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt;. If PyBOMBS was used to create the development sandbox, &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; will automatically detect the location of the &amp;lt;code&amp;gt;fpga&amp;lt;/code&amp;gt; repository. If PyBOMBS was not used, the user must provide the location of where the &amp;lt;code&amp;gt;fpga&amp;lt;/code&amp;gt; repository is installed.&lt;br /&gt;
&lt;br /&gt;
If PyBOMBS used, run:&lt;br /&gt;
&lt;br /&gt;
    $ cmake ../&lt;br /&gt;
&lt;br /&gt;
If PyBOMBS not used, run:&lt;br /&gt;
&lt;br /&gt;
    $ cmake [-DUHD_FPGA_DIR=/PATH/TO/FPGA/REPOSITORY] ../&lt;br /&gt;
&lt;br /&gt;
Final output from the &amp;lt;code&amp;gt;$ cmake ../&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
    -- Configuring done&lt;br /&gt;
    -- Generating done&lt;br /&gt;
    -- Build files have been written to: /home/widow/rfnoc/src/rfnoc-tutorial/build&lt;br /&gt;
&lt;br /&gt;
The following command will modify the necessary files and set the correct path to the simulation tools. From now on, every time a new block is added, this command will be run automatically. Remember, only run the following command once for each OOT module (not RFNoC block, but OOT module) created:&lt;br /&gt;
&lt;br /&gt;
    $ make test_tb&lt;br /&gt;
    Scanning dependencies of target test_tb&lt;br /&gt;
    Built target test_tb&lt;br /&gt;
&lt;br /&gt;
Testbenches can be executed by running the command:&lt;br /&gt;
&lt;br /&gt;
    $ make noc_block_[name_of_your_block]_tb &lt;br /&gt;
&lt;br /&gt;
The gain block testbench can be run by running the following command:&lt;br /&gt;
&lt;br /&gt;
    $ make noc_block_gain_tb&lt;br /&gt;
&lt;br /&gt;
The simulation will start.  Final output should look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    ========================================================&lt;br /&gt;
    TESTBENCH STARTED: noc_block_gain&lt;br /&gt;
    ========================================================&lt;br /&gt;
    [TEST CASE   1] (t=000000000) BEGIN: Wait for Reset...&lt;br /&gt;
    [TEST CASE   1] (t=000001002) DONE... Passed&lt;br /&gt;
    [TEST CASE   2] (t=000001002) BEGIN: Check NoC ID...&lt;br /&gt;
    Read GAIN NOC ID: 1111222233334444&lt;br /&gt;
    [TEST CASE   2] (t=000001238) DONE... Passed&lt;br /&gt;
    [TEST CASE   3] (t=000001238) BEGIN: Connect RFNoC blocks...&lt;br /&gt;
    Connecting noc_block_tb (SID: 1:0) to noc_block_gain (SID: 0:0)&lt;br /&gt;
    Connecting noc_block_gain (SID: 0:0) to noc_block_tb (SID: 1:0)&lt;br /&gt;
    [TEST CASE   3] (t=000005457) DONE... Passed&lt;br /&gt;
    [TEST CASE   4] (t=000005457) BEGIN: Write / readback user registers...&lt;br /&gt;
    [TEST CASE   4] (t=000006888) DONE... Passed&lt;br /&gt;
    [TEST CASE   5] (t=000006888) BEGIN: Test sequence...&lt;br /&gt;
    [TEST CASE   5] (t=000007633) DONE... Passed&lt;br /&gt;
    ========================================================&lt;br /&gt;
    '''TESTBENCH FINISHED: noc_block_gain'''&lt;br /&gt;
    ''' - Time elapsed:   7700 ns'''             &lt;br /&gt;
    ''' - Tests Expected: 5'''&lt;br /&gt;
    ''' - Tests Run:      5'''&lt;br /&gt;
    ''' - Tests Passed:   5'''&lt;br /&gt;
    '''Result: PASSED'''   &lt;br /&gt;
    ========================================================&lt;br /&gt;
    $finish called at time : 7700 ns : File &amp;quot;/home/widow/rfnoc/src/rfnoc-tutorial/rfnoc/testbenches/noc_block_gain_tb/noc_block_gain_tb.sv&amp;quot; Line 10&lt;br /&gt;
    INFO: [USF-XSim-96] XSim completed. Design snapshot 'noc_block_gain_tb_behav' loaded.&lt;br /&gt;
    INFO: [USF-XSim-97] XSim simulation ran for 1000000000us&lt;br /&gt;
    launch_simulation: Time (s): cpu = 00:00:10 ; elapsed = 00:00:12 . Memory (MB): peak = 966.387 ; gain = 54.848 ; free physical = 3080 ; free virtual = 29888&lt;br /&gt;
    # if [string equal $vivado_mode &amp;quot;batch&amp;quot;] {&lt;br /&gt;
    #     puts &amp;quot;BUILDER: Closing project&amp;quot;&lt;br /&gt;
    #     close_project&lt;br /&gt;
    # } else {&lt;br /&gt;
    #     puts &amp;quot;BUILDER: In GUI mode. Leaving project open.&amp;quot;&lt;br /&gt;
    # }&lt;br /&gt;
    BUILDER: Closing project&lt;br /&gt;
    ****** Webtalk v2015.4 (64-bit)&lt;br /&gt;
      **** SW Build 1412921 on Wed Nov 18 09:44:32 MST 2015&lt;br /&gt;
      **** IP Build 1412160 on Tue Nov 17 13:47:24 MST 2015&lt;br /&gt;
        ** Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.&lt;br /&gt;
    &lt;br /&gt;
    source /home/widow/rfnoc/src/rfnoc-tutorial/rfnoc/testbenches/noc_block_gain_tb/xsim_proj/xsim_proj.hw/webtalk/labtool_webtalk.tcl -notrace&lt;br /&gt;
    INFO: [Common 17-206] Exiting Webtalk at Tue Jan 10 23:26:20 2017...&lt;br /&gt;
    INFO: [Common 17-206] Exiting Vivado at Tue Jan 10 23:26:22 2017...&lt;br /&gt;
    Built target noc_block_gain_tb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With every custom block created, a &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; directive will be available to run the simulation from the &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===Building the FPGA image with a custom user block===&lt;br /&gt;
In this section steps are given on how to initiate an FPGA build while incorporating the user’s custom RFNoC block. The first sections give general information on building RFNoC images. The remaining two sections show how to initiate FPGA builds using a command line interface and using a graphical interface (coming out soon), respectively.&lt;br /&gt;
&lt;br /&gt;
====Discussion on number of blocks in an FPGA image====&lt;br /&gt;
There is a maximum number of blocks that can be added for each device. The maximum amount of computation engines (CEs/RFNoC blocks) that each device can use is 16, but the amount of custom blocks that can be added depends on the device. &lt;br /&gt;
&lt;br /&gt;
If using a device from the X3xx series, from the 16 CEs, there are 6 that will be always added and are not subject to direct customization: 1 CE for the AXI bus, 1 CE for the Ethernet Interface, 2 Radios and 2 Dma FIFOS. Because of this, the application will only allow a number of 10 custom blocks on the X3xx series. &lt;br /&gt;
&lt;br /&gt;
If using a device from the E3xx series, 2 CE engines are always added and are not subject to direct customization: 1 CE for the AXI bus and 1 Radio. This would virtually allow 14 slots for custom blocks. However, given the size of the FPGA on the E3xx series of devices, the application only allows a number of 6 custom blocks. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Blocks with higher resource utilization may fill up the FPGA and force the user to include less blocks.&lt;br /&gt;
&lt;br /&gt;
Verify the current maximum values by running the &amp;lt;code&amp;gt;uhd_images_builder.py&amp;lt;/code&amp;gt; utility from the scripts directory.&lt;br /&gt;
&lt;br /&gt;
    $ cd {USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts&lt;br /&gt;
    $ uhd_image_builder.py --help&lt;br /&gt;
&lt;br /&gt;
====Discussion on FPGA image targets====&lt;br /&gt;
RFNoC target names follow the pattern &amp;lt;code&amp;gt;{DEVICE}_RFNOC_{BUILD_TYPE}&amp;lt;/code&amp;gt; with the following build types: &lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;HG:&amp;lt;/code&amp;gt; 1GigE on SFP+ Port0, 10Gig on SFP+ Port&lt;br /&gt;
* &amp;lt;code&amp;gt;XG:&amp;lt;/code&amp;gt; 10GigE on both SFP+ ports&lt;br /&gt;
* &amp;lt;code&amp;gt;HLS:&amp;lt;/code&amp;gt; Vivado High Level Synthesis enabled&lt;br /&gt;
* &amp;lt;code&amp;gt;sgX:&amp;lt;/code&amp;gt; Speed grade for E300 devices (1 or 3)&lt;br /&gt;
&lt;br /&gt;
Some examples are:&lt;br /&gt;
* &amp;lt;code&amp;gt;X310_RFNOC_HG&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;X300_RFNOC_HG&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;X310_RFNOC_XG&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;X300_RFNOC_XG&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;X310_RFNOC_HLS_HG&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;X300_RFNOC_HLS_HG&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;E310_RFNOC&amp;lt;/code&amp;gt; (this is for the speed grade 1 FPGA version of E310, append &amp;lt;code&amp;gt;_sg3&amp;lt;/code&amp;gt; for speed grade 3)&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' E310, E312 and E313 all have the same FPGA hardware and therefore will use the &amp;lt;code&amp;gt;E310_RFNOC_{BUILD_TYPE}&amp;lt;/code&amp;gt; target. USRP E3xx devices have either &amp;lt;code&amp;gt;sg1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;sg3&amp;lt;/code&amp;gt; hardware, please visit [http://files.ettus.com/e3xx_images/README here] to find out how to differentiate.&lt;br /&gt;
&lt;br /&gt;
Additional information about the build targets can be found at the build instructions for USRP3, found [http://files.ettus.com/manual/md_usrp3_build_instructions.html here].&lt;br /&gt;
&lt;br /&gt;
====Image building using the command line====&lt;br /&gt;
The script &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt; is used to generate the NoC block instantiation file and build the FPGA image. Run the help menu by typing:&lt;br /&gt;
&lt;br /&gt;
    $ cd {USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts&lt;br /&gt;
    $ ./uhd_image_builder.py --help&lt;br /&gt;
         &lt;br /&gt;
    usage: uhd_image_builder.py [-h] [-I INCLUDE_DIR [INCLUDE_DIR ...]]&lt;br /&gt;
                                [-m MAX_NUM_BLOCKS] [--fill-with-fifos]&lt;br /&gt;
                                [-o OUTFILE] [-d DEVICE] [-t TARGET] [-g] [-c]&lt;br /&gt;
                                [blocks [blocks ...]]&lt;br /&gt;
    &lt;br /&gt;
    Generate the NoC block instantiation file&lt;br /&gt;
    &lt;br /&gt;
    positional arguments:&lt;br /&gt;
      blocks                List block names to instantiate.&lt;br /&gt;
    &lt;br /&gt;
    optional arguments:&lt;br /&gt;
      -h, --help            show this help message and exit&lt;br /&gt;
      -I INCLUDE_DIR [INCLUDE_DIR ...], --include-dir INCLUDE_DIR [INCLUDE_DIR ...]&lt;br /&gt;
                            Path directory of the RFNoC Out-of-Tree module&lt;br /&gt;
      -m MAX_NUM_BLOCKS, --max-num-blocks MAX_NUM_BLOCKS&lt;br /&gt;
                            Maximum number of blocks (Max. Allowed for x310|x300:&lt;br /&gt;
                            10, for e300: 6)&lt;br /&gt;
      --fill-with-fifos     If the number of blocks provided was smaller than the&lt;br /&gt;
                            max number, fill the rest with FIFOs&lt;br /&gt;
      -o OUTFILE, --outfile OUTFILE&lt;br /&gt;
                            Output /path/filename - By running this directive, you&lt;br /&gt;
                            won't build your IP&lt;br /&gt;
      -d DEVICE, --device DEVICE&lt;br /&gt;
                            Device to be programmed [x300, x310, e310]&lt;br /&gt;
      -t TARGET, --target TARGET&lt;br /&gt;
                            Build target - image type [X3X0_RFNOC_HG,&lt;br /&gt;
                            X3X0_RFNOC_XG, E310_RFNOC_sg3...]&lt;br /&gt;
      -g, --GUI             Open Vivado GUI during the FPGA building process&lt;br /&gt;
      -c, --clean-all       Cleans the IP before a new build&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are details on the usage of the script which is followed by an example:&lt;br /&gt;
&lt;br /&gt;
'''Blocks:''' The first arguments are the names of RFNoC blocks that the user wants to have compiled into the new image which are separated by a space. They can be custom blocks from the user’s OOT module or from the ones that are provided from Ettus, or a combination. Blocks provided by Ettus Research are listed (among other sources necessary for the FPGA build) in the &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3/lib/rfnoc/Makefile.srcs&amp;lt;/code&amp;gt; file. &lt;br /&gt;
&lt;br /&gt;
These blocks can be identified by the following pattern: &lt;br /&gt;
&lt;br /&gt;
    noc_block_{NAME}.v&lt;br /&gt;
&lt;br /&gt;
However, as all the RFNoC blocks have the same &amp;lt;code&amp;gt;noc_block_&amp;lt;/code&amp;gt; prefix, for simplicity this prefix is omitted when listing the blocks in the &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt; utility. As an example of the incorrect and correct way of adding blocks, consider the following examples when adding the &amp;lt;code&amp;gt;noc_block_null_source_sink&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;noc_block_siggen&amp;lt;/code&amp;gt; blocks:&lt;br /&gt;
&lt;br /&gt;
Incorrect method:  &lt;br /&gt;
&lt;br /&gt;
    $ ./uhd_image_builder.py noc_block_null_source_sink noc_block_siggen ...&lt;br /&gt;
&lt;br /&gt;
Correct method:&lt;br /&gt;
&lt;br /&gt;
    $ ./uhd_image_builder.py null_source_sink siggen ...&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Blocks generated by the RFNoC Modtool follow the same naming convention.&lt;br /&gt;
&lt;br /&gt;
There is an increasing list of pre-built blocks. Here is a sample:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;axi_fifo_loopback&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;axi_dma_fifo&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;fir_filter&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;fft&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;null_source_sink&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;schmidl_cox&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;packet_resizer&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;split_stream&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;vector_iir&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;addsub&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;window&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;keep_one_in_n&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pfb&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;export_io&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;conv_encoder_qpsk&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;siggen&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;logpwr&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;fosphor&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;moving_avg&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;ddc&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;duc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
RFNoC related blocks generally reside in &amp;lt;code&amp;gt;fpga/usrp3/lib/rfnoc/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
!Block&lt;br /&gt;
!Filename&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|FIFO&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_axi_fifo_loopback.v noc_block_axi_fifo_loopback.v]&lt;br /&gt;
|Simple FIFO loopback / passthrough block.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|FFT&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_fft.v noc_block_fft.v]&lt;br /&gt;
|Xilinx coregen based Fast Fourier Transform up to length 4096.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|FIR&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_fir_filter.v noc_block_fir_filter.v]&lt;br /&gt;
|Xilinx coregen based Finite Impulse Response Filter, 41 taps, reconfigurable tap coefficients.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|Window&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_window.v noc_block_window.v]&lt;br /&gt;
|Windowing block for use with FFT block.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|Vector IIR&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_vector_iir.v noc_block_vector_iir.v]&lt;br /&gt;
|Single pole IIR with configurable coefficients that filters data along vectors (i.e. parallel streams of samples). Useful with FFT output.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|Keep One in N&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_keep_one_in_n.v noc_block_keep_one_in_n.v]&lt;br /&gt;
|Keeps one packet every N packets.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AddSub&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_addsub.v noc_block_addsub.v]&lt;br /&gt;
|Example of using multiple block ports in a single RFNoC block to add and subtract streams.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|Null Source Sink&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_null_source_sink.v noc_block_null_source_sink.v]&lt;br /&gt;
|Generates dummy packets and can consume packets at a configurable rate. Useful for testing.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|Packet Resizer&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_packet_resizer.v noc_block_packet_resizer.v]&lt;br /&gt;
|Resizes input packets to a configurable size (larger or smaller than source packets).&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|Split Stream&lt;br /&gt;
|[https://github.com/EttusResearch/fpga/blob/maint/usrp3/lib/rfnoc/noc_block_split_stream.v noc_block_split_stream.v]&lt;br /&gt;
|Replicates an input stream to a configurable number of output streams.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' There is a restriction on the amount of blocks that can added into the FPGA image, see the section in this Application Note labeled [[Getting_Started_with_RFNoC_Development#Discussion_on_number_of_blocks_in_an_FPGA_image|Discussion on number of blocks in an FPGA image]] for more information. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-I INCLUDE_DIR:&amp;lt;/code&amp;gt; The &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt; directive provides the path to top OOT directory, which contains the users &amp;lt;code&amp;gt;rfnoc/fpga-src&amp;lt;/code&amp;gt; directory which contains the custom blocks. This path is needed by the Xilinx Vivado tool. Inside the &amp;lt;code&amp;gt;fpga-src&amp;lt;/code&amp;gt; directory there is a file called &amp;lt;code&amp;gt;Makefile.srcs&amp;lt;/code&amp;gt; that contains the path of the OOT module and a list of all the custom OOT blocks. This is an auto generated file, which is amended every time a new block is added to the OOT module. Manually modifying this file is not recommended. If there are multiple OOT modules with various custom blocks that reside in different directories the way to include them all is by separating the different paths by a space (e.g. &amp;lt;code&amp;gt;-I /first/OOT/path/ /second/OOT/path/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT:''' Please be sure to terminate the path of your OOT with the &amp;quot;/&amp;quot; character. Otherwise the path might not be recognized.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-d DEVICE:&amp;lt;/code&amp;gt; The &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; directive directs the script on which USRP device the build is for. If no &amp;lt;code&amp;gt;–d&amp;lt;/code&amp;gt; is included the default is &amp;lt;code&amp;gt;–d x310&amp;lt;/code&amp;gt;. Generation-3 USRPs and above all support RFNoC.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-t TARGET:&amp;lt;/code&amp;gt; The &amp;lt;code&amp;gt;–t&amp;lt;/code&amp;gt; directive directs the script on which type of image to build for the chosen device. With each USRP device there are several build options to choose from. Detailed information about the build targets can be found at the build instructions for USRP3, found [http://files.ettus.com/manual/md_usrp3_build_instructions.html here]. If &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt; is not included, a default target will be chosen for the given device. For example, the default &amp;lt;code&amp;gt;X310_RFNOC_HG&amp;lt;/code&amp;gt; target builds for the &amp;lt;code&amp;gt;–d x310&amp;lt;/code&amp;gt; device. More details on targets can be found in the section of this Application Note labeled [[Getting Started with RFNoC Development#Discussion_on_FPGA_image_targets|Discussion on FPGA image targets]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-m MAX_NUM_BLOCKS:&amp;lt;/code&amp;gt; The &amp;lt;code&amp;gt;–m&amp;lt;/code&amp;gt; directive specifies the max number of RFNoC blocks to build on the FPGA image. An RFNoC image does not need to fill all available slots with RFNoC blocks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--fill-with-fifos:&amp;lt;/code&amp;gt; The &amp;lt;code&amp;gt;--fill-with-fifos&amp;lt;/code&amp;gt; directive will fill the empty RFNoC block slots with FIFOS. As an example, if a user indicates three RFNoC blocks by name and also specifies &amp;lt;code&amp;gt;–m 5&amp;lt;/code&amp;gt; then the other two slots will be filed with FIFOs. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-o OUTFILE:&amp;lt;/code&amp;gt; With the &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt; directive, the RFNoC blocks instantiation file is generated and saved at the desired path with the given name for the user to inspect. The FPGA image will NOT build if this directive is provided. The purpose of the &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt; script is to auto generate an instantiation file and populate the source files needed for the Xilinx Vivado tool to build the FPGA image, however, it may be desirable to only see the effect of adding a custom OOT module in the &amp;lt;code&amp;gt;fpga/&amp;lt;/code&amp;gt; directory, or for inspecting the instantiation file. When the directive is not provided the &amp;lt;code&amp;gt;rfnoc_ce_auto_inst_x3x0.v&amp;lt;/code&amp;gt; file is overwritten and the FPGA image build process will start automatically (standard use).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-g, --GUI:&amp;lt;/code&amp;gt; Open Vivado GUI during the FPGA building process&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-c, --clean-all:&amp;lt;/code&amp;gt; Cleans the IP before a new build&lt;br /&gt;
&lt;br /&gt;
Here is how to create an X310 FPGA image incorporating the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; block that was created earlier in this Application Note:&lt;br /&gt;
&lt;br /&gt;
    $ cd {USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts     &lt;br /&gt;
    $ ./uhd_image_builder.py gain ddc fft -I {USER_PREFIX}/src/rfnoc-tutorial/ -d x310 -t X310_RFNOC_HG -m 6 --fill-with-fifos&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the end of a successful compilation process, write the new image to a USRP. The following command will load the new image. Update the &amp;lt;code&amp;gt;{IP_Address}&amp;lt;/code&amp;gt; of the USRP and &amp;lt;code&amp;gt;{USER_PREFIX}&amp;lt;/code&amp;gt; to the appropriate values for your configuration before running the command.&lt;br /&gt;
&lt;br /&gt;
    $ uhd_image_loader --args &amp;quot;type=x300,addr={IP_ADDRESS}&amp;quot; --fpga-path {USER_PREFIX}/src/uhd-fpga/usrp3/top/x300/build/usrp_x310_fpga_RFNOC_HG.bit&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' &lt;br /&gt;
* The FPGA image building process may take over an hour.&lt;br /&gt;
&lt;br /&gt;
* FPGA images are specific to the USRP device NOT the USRP series. For example, a USRP X300 FPGA image will '''NOT''' work on a USRP X310 and vice versa. Loading an image that does not correspond to a USRP device will likely brick the device. Additional instructions on flashing a custom image to a device can be found [http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_load_fpga_imgs here] for X3xx series and [http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_load_fpga_imgs here] for E3xx series.&lt;br /&gt;
&lt;br /&gt;
* [Environment setup] - The &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt; script will also set up the Xilinx Vivado environment by automatically running the &amp;lt;code&amp;gt;setupenv.sh&amp;lt;/code&amp;gt; script located in the &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3/top/{device}&amp;lt;/code&amp;gt; directory. The &amp;lt;code&amp;gt;setupenv.sh&amp;lt;/code&amp;gt; script assumes that Xilinx Vivado is installed in the default location of &amp;lt;code&amp;gt;/opt/Xilinx/Vivado&amp;lt;/code&amp;gt;.  If the installation is in a different directory the &amp;lt;code&amp;gt;setupenv_base.sh&amp;lt;/code&amp;gt; script will need to be modified. The script is located at: &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts/setupenv_base.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Besides the custom &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; block, a &amp;lt;code&amp;gt;DDC&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;FFT&amp;lt;/code&amp;gt; block are also being added along with three &amp;lt;code&amp;gt;FIFOs&amp;lt;/code&amp;gt;.  The &amp;lt;code&amp;gt;DDC&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FFT&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;FIFO&amp;lt;/code&amp;gt; blocks are already in the script's path and therefore do not need their path specified (they ship with the Ettus Research FPGA code). The reason three FIFOs are added is because the max number of blocks was specified to be 6 ( &amp;lt;code&amp;gt;-m 6&amp;lt;/code&amp;gt; ) and since only 3 blocks were specifically named the other three slots are filled with FIFOs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 10.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Instructions on flashing the image to a device can be found [http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_load_fpga_imgs here] for X3xx series and [http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_load_fpga_imgs here] for E3xx series. FPGA images are specific to the USRP device '''NOT''' the USRP series. For example, a USRP X300 FPGA image will '''NOT''' work on a USRP X310 and vice versa. Loading an image that does not correspond to a USRP device will likely brick the device. &lt;br /&gt;
&lt;br /&gt;
Once the newly compiled image is loaded onto a USRP X3xx running the following command will show what RFNoC blocks are available on the FPGA:&lt;br /&gt;
&lt;br /&gt;
    $ uhd_usrp_probe &lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
    |   |     _____________________________________________________&lt;br /&gt;
    |   |    /&lt;br /&gt;
    |   |   |       RFNoC blocks on this device:&lt;br /&gt;
    |   |   |   &lt;br /&gt;
    |   |   |   * DmaFIFO_0&lt;br /&gt;
    |   |   |   * Radio_0&lt;br /&gt;
    |   |   |   * Radio_1&lt;br /&gt;
    |   |   |   * '''Block_0'''&lt;br /&gt;
    |   |   |   * DDC_0&lt;br /&gt;
    |   |   |   * FFT_0&lt;br /&gt;
    |   |   |   * FIFO_0&lt;br /&gt;
    |   |   |   * FIFO_1&lt;br /&gt;
    |   |   |   * FIFO_2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The reason the custom block is called &amp;lt;code&amp;gt;Block_0&amp;lt;/code&amp;gt; and not &amp;lt;code&amp;gt;gain_0&amp;lt;/code&amp;gt; is because there is still host side software/files that need updated in order for this block to populate it’s proper name. A following section (UHD Integration) will step through the process of updating those host side files.&lt;br /&gt;
&lt;br /&gt;
====Using a graphical interface====&lt;br /&gt;
A graphical user interface for FPGA generation and building is shipped along with the &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt; script. This intuitive application aids in setting up a custom FPGA build. &lt;br /&gt;
&lt;br /&gt;
This utility is located in the same &amp;lt;code&amp;gt;scripts&amp;lt;/code&amp;gt; directory as &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To run it, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
    $ cd {USER_PREFIX}/src/uhd-fpga/usrp3/tools/scripts/&lt;br /&gt;
    $ ./uhd_image_builder_gui&lt;br /&gt;
&lt;br /&gt;
The application will then be launched:&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 11.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
'''1. Select build target:''' In this panel the available build targets are listed. This list may vary depending on which branch of the FPGA repository this user is using. Only RFNoC targets are listed. The build type descriptions are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;HG:&amp;lt;/code&amp;gt; 1GigE on SFP+ Port0, 10Gig on SFP+ Port1&lt;br /&gt;
* &amp;lt;code&amp;gt;XG:&amp;lt;/code&amp;gt; 10GigE on both SFP+ ports&lt;br /&gt;
* &amp;lt;code&amp;gt;HLS:&amp;lt;/code&amp;gt; Vivado High Level Synthesis enabled&lt;br /&gt;
* &amp;lt;code&amp;gt;sgX:&amp;lt;/code&amp;gt; Speed grade for E300 devices (1 or 3)&lt;br /&gt;
&lt;br /&gt;
'''2. List of blocks available:''' In this panel the available blocks are listed that can be included into a custom design. This list separates the RFNoC blocks provided by Ettus Research and the OOT modules and corresponding blocks that the user adds. Given the hardware differences between the X3xx and E3xx devices, this list will dynamically change when a different device is selected from the panel on the left. This implies that it is necessary to add the OOT modules for each device independently. This is accomplished by using the &amp;lt;code&amp;gt;Add OOT Blocks&amp;lt;/code&amp;gt; feature of the application, details of which are explained at #7 (&amp;lt;code&amp;gt;Add OOT Blocks&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3. Blocks in current design:''' This section gives information on the MAX number of blocks for a given USRP (based on the target selection). There is a maximum number of blocks that can be added for each device. See the section in this App Note labeled &amp;quot;Discussion on number of blocks in an FPGA image&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
'''4. Blocks in current design:''' This panel will be populated by adding elements from the available blocks. All the blocks listed in here will be compiled into the FPGA custom image. There is a maximum number of blocks that can be added for each device. See the section in this App Note labeled &amp;quot;Discussion on number of blocks in an FPGA image&amp;quot; for more information. &lt;br /&gt;
&lt;br /&gt;
'''5. Add button (&amp;gt;&amp;gt;):''' Manually add the blocks from the central panel into your design.&lt;br /&gt;
&lt;br /&gt;
'''6. Remove button (&amp;lt;&amp;lt;):''' Remove blocks from the current design (far-left panel)&lt;br /&gt;
&lt;br /&gt;
'''7. Fill with FIFOs:''' By checking this box, the design will fill any available/unspecified block slots with FIFOs. The number of FIFO blocks that will be instantiated is based on the rules of amount of blocks explained at #3. When less than the max amount of blocks are needed for certain implementation, many users choose to fill their design with FIFO blocks. &lt;br /&gt;
&lt;br /&gt;
'''8. Open Vivado GUI:''' Open Vivado GUI during the FPGA building process. This allows the user to save a Vivado project with all IP and work within the Vivado GUI for development.&lt;br /&gt;
&lt;br /&gt;
'''9. Clean IP:''' Cleans the IP before a new build (recompiles all IP).&lt;br /&gt;
&lt;br /&gt;
'''10. Add OOT blocks:''' Manually add RFNoC Modtool-generated OOT modules by pointing the application to the &amp;lt;code&amp;gt;Makefile.srcs&amp;lt;/code&amp;gt; file, which is located in the &amp;lt;code&amp;gt;{USER_PREFIX}/src/{USER-OOT-moddir}/rfnoc/fpga-srcs/&amp;lt;/code&amp;gt; directory. After adding this file, blocks will appear under “&amp;lt;code&amp;gt;OOT blocks for XXXX devices&amp;lt;/code&amp;gt;”&lt;br /&gt;
&lt;br /&gt;
'''11. Show Instantiation File:''' The application auto-generates the instantiation file that is going to be used by Vivado to build the FPGA image. This instantiation file can be viewed and edited before starting the build by clicking this button. &lt;br /&gt;
&lt;br /&gt;
'''12. Import from GRC:''' If the user has a GNU Radio flowgraph with RFNoC blocks already in it, this application can read what RFNoC blocks are in the flowgraph and populate the &amp;lt;code&amp;gt;Blocks in current design&amp;lt;/code&amp;gt; section of the application with the necessary RFNoC blocks. '''NOTE:''' All RFNoC blocks pulled from a &amp;lt;code&amp;gt;.grc&amp;lt;/code&amp;gt; file must be in the of &amp;lt;code&amp;gt;List of blocks available&amp;lt;/code&amp;gt; before beginning the build.&lt;br /&gt;
&lt;br /&gt;
'''13. Generate .bit file:''' Start the build by clicking this button. &lt;br /&gt;
&lt;br /&gt;
'''14. uhd_image_builder command:''' The command line command with arguments is dynamically build here as the user selects different options. The user could save this command to use next time they build/compile an FPGA image to avoid having to select all options again. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' See the latter end of the previous section for additional information on what to expect once the compile has started as well as final output.&lt;br /&gt;
&lt;br /&gt;
==Creating Software/Host portion of custom RFNoC Block==&lt;br /&gt;
Now that the FPGA portion is complete the next step is to add software integration to UHD and GNU Radio as depicted in the RFNoC Stack below.&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 12.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
===UHD integration===&lt;br /&gt;
Despite the data processing happening on the FPGA, the host software still has a lot of responsibilities in order for an RFNoC application to function. For example, it needs to know which settings registers are available within an RFNoC block, or what kind of input and output a block has. All of this information goes into the &amp;lt;code&amp;gt;Block Declaration&amp;lt;/code&amp;gt;, which is an XML file that is readable by UHD. Often, some simple logic needs to be embedded in the XML file, which we can do by using a simple scripting language called Noc-Script. Changes to the block declaration file are immediately imported into UHD every time an application is executed, and therefore, no software development toolchain needs to be set up.&lt;br /&gt;
&lt;br /&gt;
The list of things declared by the block declaration file includes:&lt;br /&gt;
&lt;br /&gt;
* Block name and Noc-ID&lt;br /&gt;
* Registers&lt;br /&gt;
* Inputs and outputs (including types)&lt;br /&gt;
&lt;br /&gt;
In some cases, additional C++ code is required to properly control a block from software. In this case, a &amp;lt;code&amp;gt;Block Controller&amp;lt;/code&amp;gt; file is required as well as the declaration file. In most cases, the default block controller provided by UHD is sufficient, so no C++ code needs to be written. Writing custom block controllers requires more effort, and means having to set up a programming toolchain. A common reason to write custom C++ block controllers is if setting a register requires a lot of computation, which is not feasible to do within a block declaration file (e.g., using Noc-Script).&lt;br /&gt;
&lt;br /&gt;
Skeleton code for both the block declaration and the block controller (if required) can be generated through RFNoC Modtool.&lt;br /&gt;
&lt;br /&gt;
Because the &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; block does not require anything other than simply reading and writing to a single register the default block controller will suffice for this example. However, we will need to add information about the register.&lt;br /&gt;
&lt;br /&gt;
Open the &amp;lt;code&amp;gt;gain.xml&amp;lt;/code&amp;gt; file located in the &amp;lt;code&amp;gt;/rfnoc-tutorial/rfnoc/blocks&amp;lt;/code&amp;gt; directory and add the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;!--Default XML file--&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nocblock&amp;gt;&lt;br /&gt;
      &amp;lt;name&amp;gt;gain&amp;lt;/name&amp;gt;&lt;br /&gt;
      &amp;lt;blockname&amp;gt;gain&amp;lt;/blockname&amp;gt;&lt;br /&gt;
      &amp;lt;ids&amp;gt;&lt;br /&gt;
        &amp;lt;id revision=&amp;quot;0&amp;quot;&amp;gt;1111222233334444&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;/ids&amp;gt;&lt;br /&gt;
      '''&amp;lt;nowiki&amp;gt;&amp;lt;!-- Registers --&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
      '''&amp;lt;registers&amp;gt;'''&lt;br /&gt;
        '''&amp;lt;setreg&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;name&amp;gt;GAIN&amp;lt;/name&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;address&amp;gt;128&amp;lt;/address&amp;gt;'''&lt;br /&gt;
        '''&amp;lt;/setreg&amp;gt;'''&lt;br /&gt;
      '''&amp;lt;/registers&amp;gt;'''&lt;br /&gt;
      '''&amp;lt;nowiki&amp;gt;&amp;lt;!-- Args --&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
      '''&amp;lt;args&amp;gt;'''&lt;br /&gt;
        '''&amp;lt;arg&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;name&amp;gt;gain&amp;lt;/name&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;type&amp;gt;double&amp;lt;/type&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;value&amp;gt;1.0&amp;lt;/value&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;check&amp;gt;GE($gain, 0.0) AND LE($gain, 32767.0)&amp;lt;/check&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;check_message&amp;gt;Invalid gain.&amp;lt;/check_message&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;action&amp;gt;'''&lt;br /&gt;
            '''SR_WRITE(&amp;quot;GAIN&amp;quot;, IROUND($gain))'''&lt;br /&gt;
          '''&amp;lt;/action&amp;gt;'''&lt;br /&gt;
        '''&amp;lt;/arg&amp;gt;'''&lt;br /&gt;
      '''&amp;lt;/args&amp;gt;'''&lt;br /&gt;
      &amp;lt;nowiki&amp;gt;&amp;lt;!--One input, one output. If this is used, better have all the info the C++ file.--&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
      &amp;lt;ports&amp;gt;&lt;br /&gt;
        &amp;lt;sink&amp;gt;&lt;br /&gt;
          '''&amp;lt;name&amp;gt;in0&amp;lt;/name&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;type&amp;gt;sc16&amp;lt;/type&amp;gt;'''&lt;br /&gt;
        &amp;lt;/sink&amp;gt;&lt;br /&gt;
        &amp;lt;nowiki&amp;gt;&amp;lt;source&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
          '''&amp;lt;name&amp;gt;out0&amp;lt;/name&amp;gt;'''&lt;br /&gt;
          '''&amp;lt;type&amp;gt;sc16&amp;lt;/type&amp;gt;'''&lt;br /&gt;
        &amp;lt;nowiki&amp;gt;&amp;lt;/source&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
      &amp;lt;/ports&amp;gt;&lt;br /&gt;
    &amp;lt;/nocblock&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===GNU Radio Integration===&lt;br /&gt;
GNU Radio is built around the concept of blocks, similarly to RFNoC. When mapping RFNoC into an application, the simple constraint is made that every RFNoC block maps to a single GNU Radio block. Thus, when creating mixed GNU Radio/RFNoC applications, there is a very clear 1:1 mapping between what’s happening in RFNoC and GNU Radio.&lt;br /&gt;
&lt;br /&gt;
Since most RFNoC blocks behave very similar to one another from GNU Radio’s perspective, it is generally not required to write C++ code for another block. Rather, a default block provided by RFNoC can be used with appropriate configuration. However, in some cases it may be desirable or even necessary to write a custom GNU Radio block for more specific controlling of the underlying RFNoC block. GNU Radio allows writing blocks in either C++ or Python, but since UHD and RFNoC do not have a Python API, a custom wrapper for an RFNoC block needs to be written in C++. RFNoC Modtool will create skeleton files for this purpose.&lt;br /&gt;
&lt;br /&gt;
The most popular and effective way to use GNU Radio is through the graphical interface, the GNU Radio Companion (GRC). GRC requires a separate description of every GNU Radio block in order to become available in the graphical UI, and the same is true for an RFNoC block that is wrapped in a GNU Radio block (even if the generic RFNoC block wrapper is used). For GNU Radio 3.7 and earlier, GRC bindings for blocks are written as XML files with interspersed Cheetah or Python statements. For a more detailed tutorial on how to write these files, refer to the [http://gnuradio.org/redmine/projects/gnuradio/wiki GNU Radio Documentation] and associated [http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials tutorials].&lt;br /&gt;
&lt;br /&gt;
====GNU Radio Block Code====&lt;br /&gt;
&lt;br /&gt;
* C++ or Python, although RFNoC blocks need to be written in C++ (if at all)&lt;br /&gt;
* How does GNU Radio interface to RFNoC?&lt;br /&gt;
** via C++ infrastructure code in &amp;lt;code&amp;gt;gr-ettus&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;gr-ettus&amp;lt;/code&amp;gt; provides a base RFNoC block class&lt;br /&gt;
** Users extend base class for their RFNoC blocks&lt;br /&gt;
** Many blocks can use base class “as is”&lt;br /&gt;
** No C++ or Python code!&lt;br /&gt;
* &amp;lt;code&amp;gt;rfnoc-tutorial/lib/gain_impl.cc&amp;lt;/code&amp;gt;&lt;br /&gt;
** The gain block does not need anything additional&lt;br /&gt;
&lt;br /&gt;
====GNU Radio Companion Bindings====&lt;br /&gt;
* XML&lt;br /&gt;
* Describes GNU Radio blocks to GRC&lt;br /&gt;
* No recompilation&lt;br /&gt;
* Requirement of GNU Radio Companion&lt;br /&gt;
* Not strictly necessary for GNU Radio&lt;br /&gt;
* Tutorial on how to write them:&lt;br /&gt;
** [http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion ]&lt;br /&gt;
* Skeleton file generated by RFNoC Modtool&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open the &amp;lt;code&amp;gt;tutorial-gain.xml&amp;lt;/code&amp;gt; file located in the &amp;lt;code&amp;gt;rfnoc-tutorial/grc&amp;lt;/code&amp;gt; directory and edit as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;block&amp;gt;&lt;br /&gt;
      &amp;lt;name&amp;gt;RFNoC: gain&amp;lt;/name&amp;gt;&lt;br /&gt;
      &amp;lt;key&amp;gt;tutorial_gain&amp;lt;/key&amp;gt;&lt;br /&gt;
      &amp;lt;category&amp;gt;tutorial&amp;lt;/category&amp;gt;&lt;br /&gt;
      &amp;lt;import&amp;gt;import tutorial&amp;lt;/import&amp;gt;&lt;br /&gt;
      &amp;lt;make&amp;gt;tutorial.gain(&lt;br /&gt;
        self.device3,&lt;br /&gt;
        uhd.stream_args( \# TX Stream Args&lt;br /&gt;
            cpu_format=&amp;quot;'''fc32'''&amp;quot;,&lt;br /&gt;
            otw_format=&amp;quot;'''sc16'''&amp;quot;,&lt;br /&gt;
            args=&amp;quot;gr_vlen={0},{1}&amp;quot;.format(${grvlen}, &amp;quot;&amp;quot; if $grvlen == 1 else &amp;quot;spp={0}&amp;quot;.format($grvlen)),&lt;br /&gt;
        ),&lt;br /&gt;
        uhd.stream_args( \# RX Stream Args&lt;br /&gt;
            cpu_format=&amp;quot;'''fc32'''&amp;quot;,&lt;br /&gt;
            otw_format=&amp;quot;'''sc16'''&amp;quot;,&lt;br /&gt;
            args=&amp;quot;gr_vlen={0},{1}&amp;quot;.format(${grvlen}, &amp;quot;&amp;quot; if $grvlen == 1 else &amp;quot;spp={0}&amp;quot;.format($grvlen)),&lt;br /&gt;
        ),&lt;br /&gt;
        $block_index, $device_index,&lt;br /&gt;
      )&lt;br /&gt;
    '''self.$(id).set_arg(&amp;quot;gain&amp;quot;, $gain)'''&lt;br /&gt;
      '''&amp;lt;/make&amp;gt;'''&lt;br /&gt;
      '''&amp;lt;callback&amp;gt;set_arg(&amp;quot;gain&amp;quot;, $gain)&amp;lt;/callback&amp;gt;'''&lt;br /&gt;
      &amp;lt;nowiki&amp;gt;&amp;lt;!-- Make one 'param' node for every Parameter you want settable from the GUI.&lt;br /&gt;
           Sub-nodes:&lt;br /&gt;
           * name&lt;br /&gt;
           * key (makes the value accessible as $keyname, e.g. in the make node)&lt;br /&gt;
           * type --&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
         .  &lt;br /&gt;
         .&lt;br /&gt;
         .&lt;br /&gt;
    &lt;br /&gt;
        &amp;lt;option&amp;gt;&lt;br /&gt;
          &amp;lt;name&amp;gt;Byte&amp;lt;/name&amp;gt;&lt;br /&gt;
          &amp;lt;key&amp;gt;u8&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;/option&amp;gt;&lt;br /&gt;
      &amp;lt;/param&amp;gt;&lt;br /&gt;
      &amp;lt;param&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;'''Gain'''&amp;lt;/name&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;'''gain'''&amp;lt;/key&amp;gt;&lt;br /&gt;
        '''&amp;lt;value&amp;gt;1.0&amp;lt;/value&amp;gt;'''&lt;br /&gt;
        &amp;lt;type&amp;gt;'''real'''&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;/param&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
      &amp;lt;nowiki&amp;gt;&amp;lt;!-- Make one 'sink' node per input. Sub-nodes:&lt;br /&gt;
           * name (an identifier for the GUI)&lt;br /&gt;
           * type&lt;br /&gt;
           * vlen&lt;br /&gt;
           * optional (set to 1 for optional inputs) --&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
      &amp;lt;sink&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;in&amp;lt;/name&amp;gt;&lt;br /&gt;
        &amp;lt;type&amp;gt;'''complex'''&amp;lt;/type&amp;gt;&lt;br /&gt;
        &amp;lt;vlen&amp;gt;$grvlen&amp;lt;/vlen&amp;gt;&lt;br /&gt;
        &amp;lt;domain&amp;gt;rfnoc&amp;lt;/domain&amp;gt;&lt;br /&gt;
      &amp;lt;/sink&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
      &amp;lt;nowiki&amp;gt;&amp;lt;!-- Make one 'source' node per output. Sub-nodes:&lt;br /&gt;
           * name (an identifier for the GUI)&lt;br /&gt;
           * type&lt;br /&gt;
           * vlen&lt;br /&gt;
           * optional (set to 1 for optional inputs) --&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
      &amp;lt;nowiki&amp;gt;&amp;lt;source&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;out&amp;lt;/name&amp;gt;&lt;br /&gt;
        &amp;lt;type&amp;gt;'''complex'''&amp;lt;/type&amp;gt;&lt;br /&gt;
        &amp;lt;vlen&amp;gt;$grvlen&amp;lt;/vlen&amp;gt;&lt;br /&gt;
        &amp;lt;domain&amp;gt;rfnoc&amp;lt;/domain&amp;gt;&lt;br /&gt;
      &amp;lt;nowiki&amp;gt;&amp;lt;/source&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;/block&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Indentation spacing is important in the &amp;lt;code&amp;gt;&amp;lt;make&amp;gt;&amp;lt;/code&amp;gt; section.&lt;br /&gt;
&lt;br /&gt;
===Compile, Install and Verify===&lt;br /&gt;
&lt;br /&gt;
    $ cd {USER_PREFIX}/src/rfnoc-tutorial/build&lt;br /&gt;
    $ make install&lt;br /&gt;
    &lt;br /&gt;
    $ uhd_usrp_probe &lt;br /&gt;
    &lt;br /&gt;
    |   |     _____________________________________________________&lt;br /&gt;
    |   |    /&lt;br /&gt;
    |   |   |       RFNoC blocks on this device:&lt;br /&gt;
    |   |   |   &lt;br /&gt;
    |   |   |   * DmaFIFO_0&lt;br /&gt;
    |   |   |   * Radio_0&lt;br /&gt;
    |   |   |   * Radio_1&lt;br /&gt;
    |   |   |   * '''gain_0'''&lt;br /&gt;
    |   |   |   * DDC_0&lt;br /&gt;
    |   |   |   * FFT_0&lt;br /&gt;
    |   |   |   * FIFO_0&lt;br /&gt;
    |   |   |   * FIFO_1&lt;br /&gt;
    |   |   |   * FIFO_2&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' In the case where the &amp;lt;code&amp;gt;gain_0&amp;lt;/code&amp;gt; does not appear but &amp;lt;code&amp;gt;Block_0&amp;lt;/code&amp;gt; does: Most likely, the XML block declaration file (see [[Getting_Started_with_RFNoC_Development#UHD_integration|UHD Integration]] section) for the block contains a NoC-ID that does not match with any NoC-ID defined in the hardware part of the design. The user has to be certain that the description files are up-to-date and that the NoC-ID matches in the SW and HW side. See the [[Getting_Started_with_RFNoC_Development#UHD_integration|UHD Integration]] section to update those host side files.&lt;br /&gt;
&lt;br /&gt;
==Testing out the custom block==&lt;br /&gt;
At this point the custom &amp;lt;code&amp;gt;gain&amp;lt;/code&amp;gt; RFNoc Block (Computation Engine) can be used within a GNU Radio flowgraph. Below is an example GRC flowgraph using our new block as well as the output application it produces. &lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 13.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Copy Block: In the RFNoC domain, streams of data can not be split as easily as they are in the GNU Radio domain. The “copy” block depicted in the screenshot above serves the function as a stream splitter . It’s main purpose, when “enabled”, is to copy the samples it is getting at its input and putting then into the output, but here it is also serving as a boundary between a RFNoC-domain and a GNURadio-domain. In the flowgraph above. after this boundary is passed, the data stream can easily be split into the two sinks to have them run simultaneously (standard GNU Radio functionality). It is possible to connect the GNU Radio blocks directly to RFNoC blocks without a “copy” block, but only one would work at a time (the other ones would have to be disabled). Another way to split data streams from the RFNoC-domain is to use the ”RFNoC: split stream” block, which would split the streams in the RFNoC domain, but this is not very useful here as we are, in any case, moving into the GNURadio-domain.&lt;br /&gt;
&lt;br /&gt;
[[File:rfnoc gsg an 14.png|center|800px|]]&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
===Xilinx Vivado===&lt;br /&gt;
====Compile issues====&lt;br /&gt;
=====Synthesis is failing=====&lt;br /&gt;
Verify all the correct Xilinx [[Getting Started with RFNoC Development#Prerequisites|prerequisite software]] is installed.&lt;br /&gt;
&lt;br /&gt;
Additional helpful information can be found in the following Xilinx forum posts:&lt;br /&gt;
* https://forums.xilinx.com/t5/Synthesis/Synthesis-failed-without-reporting-any-error/td-p/686000&lt;br /&gt;
* https://forums.xilinx.com/t5/Installation-and-Licensing/Vivado-on-Linux-synthesis-fails-with-no-error-message/td-p/732143&lt;br /&gt;
&lt;br /&gt;
====Environment Setup====&lt;br /&gt;
The &amp;lt;code&amp;gt;uhd_image_builder.py&amp;lt;/code&amp;gt; script will also set up the Xilinx Vivado environment by automatically running the &amp;lt;code&amp;gt;setupenv.sh&amp;lt;/code&amp;gt; located in the &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3/top/{device}&amp;lt;/code&amp;gt; directory. The &amp;lt;code&amp;gt;setupenv.sh&amp;lt;/code&amp;gt; script assumes that Xilinx Vivado is installed in the default location of &amp;lt;code&amp;gt;/opt/Xilinx/Vivado&amp;lt;/code&amp;gt;. If the installation is in a different directory, then the &amp;lt;code&amp;gt;setupenv_base.sh&amp;lt;/code&amp;gt; script will need to be modified. The script is located at: &amp;lt;code&amp;gt;{USER_PREFIX}/src/uhd-fpga/usrp3_rfnoc/tools/scripts/setupenv_base.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reference Files==&lt;br /&gt;
The following reference files are included within the gain_src.tar.gz archive linked below:&lt;br /&gt;
&lt;br /&gt;
* gain.xml		&lt;br /&gt;
* noc_block_gain.v	&lt;br /&gt;
* noc_block_gain_tb.sv	&lt;br /&gt;
* tutorial_gain.xml&lt;br /&gt;
* rfnoc_gain.grc&lt;br /&gt;
&lt;br /&gt;
[[Media:gain src.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
==Links and Additional Resources==&lt;br /&gt;
===RFNoC additional resources===&lt;br /&gt;
* [https://youtube.com/watch?v=j-EfyPVpaJ8 Video: RFNoC Getting Started Video Tutorial]&lt;br /&gt;
* [http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com USRP Mailing List]&lt;br /&gt;
* [https://kb.ettus.com/RFNoC RFNoC Software Resources Page]&lt;br /&gt;
* [https://www.ettus.com/content/files/RFNoC_Wireless_at_VT_Intro.pdf RFNoC Introduction]&lt;br /&gt;
* [https://www.ettus.com/content/files/RFNoC_Wireless_at_VT_FPGA.pdf RFNoC Deep Dive: FPGA]&lt;br /&gt;
* [https://www.ettus.com/content/files/RFNoC_Wireless_at_VT_Host.pdf RFNoC Deep Dive: Host side]&lt;br /&gt;
* [https://www.youtube.com/watch?v=8cPd3t88djE Video: RFNoC presented at Wireless @ Virginia Tech, 2015 ]&lt;br /&gt;
** Explaining the slides of Intro, FPGA and Host presentations above (in that order).&lt;br /&gt;
* [https://www.youtube.com/watch?v=51rpjJ2W0Qs Video: It's the RFNoC Life for Us by Martin Braun at GRCon16, 2016]&lt;br /&gt;
&lt;br /&gt;
===GNU Radio resources===&lt;br /&gt;
* [http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules GNU Radio OutOfTree Modules tutorial]&lt;br /&gt;
* [http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGRFromSource GNU Radio Installation]&lt;br /&gt;
* [http://gnuradio.org/redmine/projects/gnuradio/wiki/Tutorials GNU Radio Tutorials]&lt;br /&gt;
&lt;br /&gt;
===UHD resources===&lt;br /&gt;
* [http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com USRP Mailing List]&lt;br /&gt;
* [https://kb.ettus.com/UHD UHD Software Resources Page]&lt;br /&gt;
* [http://files.ettus.com/manual/md_usrp3_build_instructions.html USRP3 build instructions]&lt;br /&gt;
* [http://files.ettus.com/manual/ UHD Manual]&lt;br /&gt;
&lt;br /&gt;
===Other resources===&lt;br /&gt;
* [https://www.xilinx.com/support/documentation/ip_documentation/ug761_axi_reference_guide.pdf Xilinx - AXI reference guide]&lt;br /&gt;
* [https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux UHD + GNU Radio Application Note (Linux)]&lt;br /&gt;
* [http://gnuradio.org/redmine/projects/pybombs/wiki PyBOMBS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Application Notes]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=N300/N310&amp;diff=3746</id>
		<title>N300/N310</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=N300/N310&amp;diff=3746"/>
				<updated>2018-04-23T16:41:35Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: /* N310 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Notice ==&lt;br /&gt;
When you receive a brand-new device, it is strongly recommended that you download the most recent filesystem image from the Ettus Research website and write it to the SD card that comes with the unit. It is not recommended that you use the SD card from the factory as-is. Instructions on downloading the latest filesystem image and writing it to the SD card are listed below.&lt;br /&gt;
&lt;br /&gt;
== Device Overview ==&lt;br /&gt;
The USRP N310 is a networked software defined radio that provides reliability and fault-tolerance for deployment in large scale and distributed wireless systems. This device simplifies control and management of a network of radios by introducing the unique capability to remotely perform tasks such as debugging, updating software, rebooting, factory resetting, self-testing, and monitoring system health. The USRP N310 is an all-in-one device that includes two AD9371 transceivers, the Zynq-7100 SoC baseband processor, two SFP+ ports, a built-in GPSDO module, and various other peripheral and synchronization features. &lt;br /&gt;
&lt;br /&gt;
== Key Features==&lt;br /&gt;
===N310===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot;|&lt;br /&gt;
* Xilinx Zynq-7100 FPGA SoC&lt;br /&gt;
* Dual-core ARM A9 800 MHz CPU&lt;br /&gt;
* 4 RX, 4TX in half-wide RU form factor&lt;br /&gt;
* 10 MHz – 6 GHz extended frequency range&lt;br /&gt;
* Up to 100 MHz of instantaneous bandwidth per channel&lt;br /&gt;
* RX, TX filter bank&lt;br /&gt;
* 16 bit ADC, 14 bit DAC&lt;br /&gt;
* Configurable sample rates: 122.88, 125, and 153.6 MS/s&lt;br /&gt;
* Two SFP+ ports (1 GbE, 10 GbE, Aurora)&lt;br /&gt;
* RJ45 (1 GbE) &lt;br /&gt;
* 10 MHz clock reference &lt;br /&gt;
* PPS time reference&lt;br /&gt;
* External RX, TX LO input ports &lt;br /&gt;
* Built-in GPSDO &lt;br /&gt;
* 1 Type A USB host port &lt;br /&gt;
* 1 micro-USB port (serial console, JTAG) &lt;br /&gt;
* Trusted Platform Module (TPM) v1.2&lt;br /&gt;
* Watchdog timer &lt;br /&gt;
* OpenEmbedded Linux&lt;br /&gt;
* High channel density&lt;br /&gt;
* Reliable and fault-tolerant deployment&lt;br /&gt;
* Remote management capability&lt;br /&gt;
* Stand-alone operation&lt;br /&gt;
&lt;br /&gt;
|[[File:n310 kit.png|500px|center]] &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==RF Specifications==&lt;br /&gt;
===Transmitter===&lt;br /&gt;
* Number of channels: 4&lt;br /&gt;
* Frequency Range: 10 MHz to 6 GHz &lt;br /&gt;
* Maximum instantaneous bandwidth: 100 MHz&lt;br /&gt;
* Minimum frequency step&lt;br /&gt;
** 7.32 Hz @ 122.88 MHz sample rate&lt;br /&gt;
** 7.45 Hz @ 125 MHz sample rate&lt;br /&gt;
** 9.15 Hz @ 153.6 MHz sample rate&lt;br /&gt;
&lt;br /&gt;
* Maximum output power (P​ out​ ): See Table 1&lt;br /&gt;
* Gain range&lt;br /&gt;
** -30 dB to 25 dB (10 MHz to 300 MHz)&lt;br /&gt;
** -30 dB to 20 dB (300 MHz to 6 GHz)&lt;br /&gt;
&lt;br /&gt;
* Gain step: 1 dB&lt;br /&gt;
* Supported I/Q sample rates:&lt;br /&gt;
** 122.88 MHz, 125 MHz, 153.6 MHz&lt;br /&gt;
&lt;br /&gt;
* Spurious-free dynamic range (SFDR) &amp;gt; 50 dBc&lt;br /&gt;
* Output third-order intercept (OIP3) See Table 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:80%&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Maximum Output Power&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 10 MHz to 500 MHz&lt;br /&gt;
| +16 dBm&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 500 MHz to 1 GHz&lt;br /&gt;
| +18 dBm&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
| 1 GHz to 4 GHz&lt;br /&gt;
| +18 dBm&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 4 GHz to 6 GHz&lt;br /&gt;
| +12 dBm&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
Table 1: Maximum Output Power&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:80%&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Output Third-Order Intercept (IP3)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 10 MHz to 2 GHz&lt;br /&gt;
| &amp;gt; 30 dBm&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 2 GHz to 4 GHz&lt;br /&gt;
| &amp;gt; 20 dBm&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 4 GHz to 6 GHz&lt;br /&gt;
| &amp;gt; 10 dBm&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
Table 2: Third-Order Intercept (IP3)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Receiver===&lt;br /&gt;
* Number of channels: 4&lt;br /&gt;
* Frequency Range: 10 MHz to 6 GHz &lt;br /&gt;
* Maximum instantaneous bandwidth: 100 MHz&lt;br /&gt;
* Minimum frequency step&lt;br /&gt;
** 7.32 Hz @ 122.88 MHz sample rate&lt;br /&gt;
** 7.45 Hz @ 125 MHz sample rate&lt;br /&gt;
** 9.15 Hz @ 153.6 MHz sample rate&lt;br /&gt;
&lt;br /&gt;
* Gain step: 1&lt;br /&gt;
* Maximum recommended input power (P​ in​ ) 1 dB: -15 dBm&lt;br /&gt;
&lt;br /&gt;
* Noise figure: See Table 3&lt;br /&gt;
* Spurious-free dynamic range (SFDR): &amp;gt; 50 dBc &lt;br /&gt;
&lt;br /&gt;
* Third-order intermodulation distortion (IMD3) See Table 4&lt;br /&gt;
&lt;br /&gt;
* Supported I/Q sample rates&lt;br /&gt;
**122.88 MHz, 125 MHz, 153.6 MHz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:80%&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! TX/RX Noise Figure&lt;br /&gt;
! RX2 Noise Figure&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|1.8 GHz&lt;br /&gt;
|5.8 dB&lt;br /&gt;
|6.8 dB&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|6.5 dB&lt;br /&gt;
|7.5 dB&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|4.4 GHz&lt;br /&gt;
|5.5 dB&lt;br /&gt;
|7.0 dB&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|5.8 GHz&lt;br /&gt;
|6.4 dB&lt;br /&gt;
|7.7 dB&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
Table 3: Noise Figure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:80%&amp;quot;&lt;br /&gt;
!Frequency&lt;br /&gt;
!RX IMD3&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|0.5 GHz to 3 GHz&lt;br /&gt;
|&amp;lt; -80 dBc&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 3 GHz to 4 GHz&lt;br /&gt;
|&amp;lt; -74 dBc&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 4 GHz to 6 GHz&lt;br /&gt;
|&amp;lt; -81 dBc&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
Table 4: RX Third-Order Intermodulation Distortion (IMD3)&lt;br /&gt;
* Noise figure is measured at maximum gain state on receiver signal path.&lt;br /&gt;
&lt;br /&gt;
===Onboard DRAM===&lt;br /&gt;
* DDR3 Memory size&lt;br /&gt;
** 2,048 MB (PL)&lt;br /&gt;
** 1,024 MB (PS)&lt;br /&gt;
&lt;br /&gt;
==Power==&lt;br /&gt;
You must use either the Level VI Efficiency power supply provided in the shipping kit, or another UL listed ITE power supply marked ​&amp;lt;code&amp;gt;LPS&amp;lt;/code&amp;gt;, with the USRP N310.&lt;br /&gt;
&lt;br /&gt;
* Input voltage: 12 VDC&lt;br /&gt;
* Input current:  7.0 A, maximum&lt;br /&gt;
* Typical power consumption: 50 W to 80 W, varies by application&lt;br /&gt;
&lt;br /&gt;
==Hardware Specifications==&lt;br /&gt;
* Ettus Research recommends to always use the latest stable version of UHD&lt;br /&gt;
* If you need to clean the module, wipe it with a dry towel.&lt;br /&gt;
&lt;br /&gt;
===N310===&lt;br /&gt;
* Current Hardware Revision: A&lt;br /&gt;
* Minimum version of UHD required: 3.11.0.0&lt;br /&gt;
* Due to product compliance restrictions on products with TPM (Trusted Platform Module) components to a few countries, the USRP N310 is available in two variants:&lt;br /&gt;
** Standard variant with TPM (P/N 785067-01)&lt;br /&gt;
** Non-TPM variant (P/N 786465-01)&lt;br /&gt;
&lt;br /&gt;
===Clocking and Sampling Rates===&lt;br /&gt;
There are three master clock rates (MCR) supported on the N310: 122.88 MHz; 125.0 MHz; 153.6 MHz.&lt;br /&gt;
&lt;br /&gt;
The sampling rate must be an integer decimation rate of the MCR. Ideally, this decimation factor should be an even number. An odd decimation factor will result in additional unwanted attenuation (roll-off from the CIC filter in the DUC and DDC blocks in the FPGA). The valid decimation rates are between 1 and 1024.&lt;br /&gt;
&lt;br /&gt;
For the MCR of 122.88 MHz, the achievable sampling rates using an even decimation factor are 122.88, 61.44, 30.72, 20.48, 15.36, 12.288, 10.24, 8.777, 7.68 Msps, ... 120.0 Ksps.&lt;br /&gt;
&lt;br /&gt;
For the MCR of 125.0 MHz, the achievable sampling rates using an even decimation factor are 125.0, 62.5, 31.25, 20.833, 15.625, 12.5, 10.41666, 8.9286 Msps, ... 122.07 Ksps.&lt;br /&gt;
&lt;br /&gt;
For the MCR of 153.6 MHz, the achievable sampling rates using an even decimation factor are 156.3, 78.15, 39.075, 26.05, 19.5375, 15.63, 13.025, 11.16429 Msps, ... 152.637 Ksps&lt;br /&gt;
&lt;br /&gt;
If the desired sampling rate is not directly supported by the hardware, then it will be necessary to re-sample in software. This can be done in C++ using libraries such as Liquid DSP [https://github.com/jgaeddert/liquid-dsp], or can be done in GNU Radio, in which there are three blocks that perform sampling rate conversion.&lt;br /&gt;
&lt;br /&gt;
==Physical Specifications==&lt;br /&gt;
&lt;br /&gt;
===Dimensions===&lt;br /&gt;
====(L × W × H)====&lt;br /&gt;
* 35.71 cm × 21.11 cm × 4.37 cm&lt;br /&gt;
* 14.06 in. × 8.31 in. × 1.72 in.&lt;br /&gt;
&lt;br /&gt;
===Weight===&lt;br /&gt;
* 3.13 kg&lt;br /&gt;
&lt;br /&gt;
==Environmental Specifications==&lt;br /&gt;
===Operating Temperature Range===&lt;br /&gt;
* N310: 0 to 50 °C&lt;br /&gt;
&lt;br /&gt;
===Storage Temperature Range===&lt;br /&gt;
* N310: -40 to 70 °C&lt;br /&gt;
&lt;br /&gt;
===Operating Humidity Range===&lt;br /&gt;
* 10% to 90% non-condensing&lt;br /&gt;
&lt;br /&gt;
==GPSDO==&lt;br /&gt;
* Support GPSDO NMEA Strings&lt;br /&gt;
&lt;br /&gt;
===Sensors===&lt;br /&gt;
You can query the lock status with the &amp;lt;code&amp;gt;gps_locked&amp;lt;/code&amp;gt; sensor, as well as obtain raw NMEA sentences using the &amp;lt;code&amp;gt;gps_gprmc&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;gps_gpgga&amp;lt;/code&amp;gt; sensors. Location information can be parsed out of the &amp;lt;code&amp;gt;gps_gpgga&amp;lt;/code&amp;gt; sensor by using &amp;lt;code&amp;gt;gpsd&amp;lt;/code&amp;gt; or another NMEA parser.&lt;br /&gt;
&lt;br /&gt;
==FPGA==&lt;br /&gt;
===FPGA User Modifications===&lt;br /&gt;
The Verilog code for the FPGA in the USRP N300/N310 is open-source, and users are free to modify and customize it for their needs. However, certain modifications may result in either bricking the device, or even in physical damage to the unit. Specifically, changing the I/O interface of the FPGA in any way, or modifying the pin and timing constraint files, could result in physical damage to other components on the motherboard, external to the FPGA, and doing this will void the warranty. Also, even if the PCIe interface is not being used, you cannot remove or reassign these pins in the constraint file. The constraint files should not be modified. Please note that modifications to the FPGA are made at the risk of the user, and may not be covered by the warranty of the device.&lt;br /&gt;
&lt;br /&gt;
==Interfaces and Connectivity==&lt;br /&gt;
Follow the links below for additional information on configuring each interface for the USRP N300 or N310 SDRs.&lt;br /&gt;
&lt;br /&gt;
* 100 MS/s Full Duplex @ 16-bit&lt;br /&gt;
&lt;br /&gt;
===Front Panel===&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;width:50%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
* '''PWR''': Power switch&lt;br /&gt;
&lt;br /&gt;
* '''RF 0 Group'''&lt;br /&gt;
** '''TX/RX SMA/LED''': RF Input Port / Indicates that data is streaming on the TX/RX channel on daughterboard 0, channel 0&lt;br /&gt;
** '''RX2 SMA/LED''': RF Input Port / Indicates that data is streaming on the RX2 channel on daughterboard 0, channel 0&lt;br /&gt;
&lt;br /&gt;
* '''RF 1 Group'''&lt;br /&gt;
** '''TX/RX SMA/LED''': RF Input Port / Indicates that data is streaming on the TX/RX channel on daughterboard 0, channel 1.&lt;br /&gt;
** '''RX2 SMA/LED''': RF Input Port / Indicates that data is streaming on the RX2 channel on daughterboard 0, channel 1.&lt;br /&gt;
&lt;br /&gt;
* '''RF 2 Group'''&lt;br /&gt;
** '''TX/RX SMA/LED''': RF Input Port / Indicates that data is streaming on the TX/RX channel on daughterboard 1, channel 0.&lt;br /&gt;
** '''RX2 SMA/LED''': RF Input Port / Indicates that data is streaming on the RX2 channel on daughterboard 1, channel 0.&lt;br /&gt;
&lt;br /&gt;
* '''RF 3 Group'''&lt;br /&gt;
** '''TX/RX SMA/LED''': RF Input Port / Indicates that data is streaming on the TX/RX channel on daughterboard 1, channel 1.&lt;br /&gt;
** '''RX2 SMA/LED''': RF Input Port / Indicates that data is streaming on the RX2 channel on daughterboard 1, channel 1.&lt;br /&gt;
&lt;br /&gt;
* '''LO IN 0/1'''&lt;br /&gt;
** '''TX''': Input port for TX LO of Daughterboard 0. The LO input frequency must be twice the frequency of the desired RF output frequency. An LO input frequency range of 600 MHz to 8000 MHz corresponds to an RF output frequency of 300 MHz to 4000 MHz. LO inputs above 8000 MHz, and RF outputs above 4000 MHz, are not supported. The LO input signal level should be +3 dBm, but may be between 0 dBm and +6 dBm.&lt;br /&gt;
** '''RX''': Input port for RX LO of Daughterboard 0. The LO input frequency must be twice the frequency of the desired RF output frequency. An LO input frequency range of 600 MHz to 8000 MHz corresponds to an RF output frequency of 300 MHz to 4000 MHz. LO inputs above 8000 MHz, and RF outputs above 4000 MHz, are not supported. The LO input signal level should be +3 dBm, but may be between 0 dBm and +6 dBm.&lt;br /&gt;
&lt;br /&gt;
* '''LO IN 2/3'''&lt;br /&gt;
** '''TX''': Input port for TX LO of Daughterboard 1. The LO input frequency must be twice the frequency of the desired RF output frequency. An LO input frequency range of 600 MHz to 8000 MHz corresponds to an RF output frequency of 300 MHz to 4000 MHz. LO inputs above 8000 MHz, and RF outputs above 4000 MHz, are not supported. The LO input signal level should be +3 dBm, but may be between 0 dBm and +6 dBm.&lt;br /&gt;
** '''RX''': Input port for RX LO of Daughterboard 1. The LO input frequency must be twice the frequency of the desired RF output frequency. An LO input frequency range of 600 MHz to 8000 MHz corresponds to an RF output frequency of 300 MHz to 4000 MHz. LO inputs above 8000 MHz, and RF outputs above 4000 MHz, are not supported. The LO input signal level should be +3 dBm, but may be between 0 dBm and +6 dBm.&lt;br /&gt;
&lt;br /&gt;
* '''GPIO'''&lt;br /&gt;
** '''GPIO''': DB15 GPIO Interface. Additional details below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;vertical-align:top&amp;quot; | [[File:n310 front.png|700px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Rear Panel===&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;width:50%&amp;quot; |&lt;br /&gt;
* '''GPS ANT''': Connection for the GPS antenna&lt;br /&gt;
* '''REF IN''': Reference clock input&lt;br /&gt;
* '''PPS/TRIG IN''': Input port for the PPS signal&lt;br /&gt;
* '''TRIG OUT''': Output port for the exported reference clock&lt;br /&gt;
* '''PWR''': Connector for the USRP N310 Series power supply&lt;br /&gt;
&lt;br /&gt;
* '''RESET''': Input button to reset device&lt;br /&gt;
&lt;br /&gt;
* '''MicroSD''': MicroSD Card for OE Linux File System&lt;br /&gt;
* '''JTAG''': Micro USB connector for the on-board USB-JTAG programmer&lt;br /&gt;
* '''USB 2.0''': Host USB connector to ARM CPU&lt;br /&gt;
* '''SFP+''': 1/10Gb SFP+ ports for Ethernet interfaces&lt;br /&gt;
&lt;br /&gt;
* '''10/1000/1000''': 10/100/1000 Mb Ethernet interface to ARM CPU&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;vertical-align:top&amp;quot; | [[File:n310 back.png|700px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Ref Clock - 10 MHz===&lt;br /&gt;
Using an external 10 MHz reference clock, a square wave will offer the best phase noise performance, but a sinusoid is acceptable. The power level of the reference clock cannot exceed +10 dBm.&lt;br /&gt;
&lt;br /&gt;
===PPS - Pulse Per Second===&lt;br /&gt;
Using a PPS signal for timestamp synchronization requires a square wave signal with the following a 5Vpp amplitude.&lt;br /&gt;
&lt;br /&gt;
To test the PPS input, you can use the following tool from the UHD examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;args&amp;gt;&amp;lt;/code&amp;gt; are device address arguments (optional if only one USRP device is on your machine)&lt;br /&gt;
&lt;br /&gt;
    cd &amp;lt;install-path&amp;gt;/lib/uhd/examples ./test_pps_input –args=&amp;lt;args&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Front Panel GPIO===&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;width:50%&amp;quot; |&lt;br /&gt;
The GPIO port is not meant to drive big loads. You should not try to source more than 5mA per pin.&lt;br /&gt;
&lt;br /&gt;
The +3.3V is for ESD clamping purposes only and not designed to deliver high currents.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Power on state====&lt;br /&gt;
The hardware power on state and UHD initial state for the front-panel GPIOs is high-Z. For the N310, there are no external pull-ups/pull-downs for the GPIO pins, but the FPGAs do have them and they are configured as follows: N310: pull-down.&lt;br /&gt;
&lt;br /&gt;
====Pin Mapping====&lt;br /&gt;
* Pin 1: +3.3V&lt;br /&gt;
* Pin 2: Data[0]&lt;br /&gt;
* Pin 3: Data[1]&lt;br /&gt;
* Pin 4: Data[2]&lt;br /&gt;
* Pin 5: Data[3]&lt;br /&gt;
* Pin 6: Data[4]&lt;br /&gt;
* Pin 7: Data[5]&lt;br /&gt;
* Pin 8: Data[6]&lt;br /&gt;
* Pin 9: Data[7]&lt;br /&gt;
* Pin 10: Data[8]&lt;br /&gt;
* Pin 11: Data[9]&lt;br /&gt;
* Pin 12: Data[10]&lt;br /&gt;
* Pin 13: Data[11]&lt;br /&gt;
* Pin 14: 0V&lt;br /&gt;
* Pin 15: 0V&lt;br /&gt;
&lt;br /&gt;
'''Note''': Please see the [http://files.ettus.com/manual/page_gpio_api.html E3x0/X3x0/N3x0 GPIO API] for information on configuring and using the GPIO bus.&lt;br /&gt;
&lt;br /&gt;
==Certifications==&lt;br /&gt;
===RoHS===&lt;br /&gt;
As of December 1st, 2010 all Ettus Research products are RoHS compliant unless otherwise noted. More information can be found at [http://ettus.com/legal/rohs-information http://ettus.com/legal/rohs-information]&lt;br /&gt;
&lt;br /&gt;
===China RoHS=== &lt;br /&gt;
'''Management Methods for Controlling Pollution Caused by Electronic Information Products Regulation'''&lt;br /&gt;
&lt;br /&gt;
'''Chinese Customers''' &lt;br /&gt;
&lt;br /&gt;
National Instruments is in compliance with the Chinese policy on the Restriction of Hazardous Substances (RoHS) used in Electronic Information Products. For more information about the National Instruments China RoHS compliance, visit [http://www.ni.com/environment/rohs_china ni.com/environment/rohs_china].&lt;br /&gt;
&lt;br /&gt;
==Downloads==&lt;br /&gt;
[http://files.ettus.com/manual/md_fpga.html FPGA Resources]&lt;br /&gt;
&lt;br /&gt;
[http://files.ettus.com/binaries/uhd_stable/ UHD Stable Binaries]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/EttusResearch/uhd UHD Source Code on Github]&lt;br /&gt;
&lt;br /&gt;
==Choosing a Host Interface==&lt;br /&gt;
&lt;br /&gt;
===10 Gigabit Ethernet===&lt;br /&gt;
'''Recommended 10 Gigabit Ethernet Cards'''&lt;br /&gt;
* Intel X520-DA2 - Previous generation PCIe Gen 2 adapter. Mature and stable 10GbE adapter, works out-of-the-box with Ubuntu 14.04 LTS and 16.04 LTS&lt;br /&gt;
** [http://ark.intel.com/products/39776/Intel-Ethernet-Converged-Network-Adapter-X520-DA2 Intel® Ethernet Converged Network Adapter X520-DA2]&lt;br /&gt;
* Intel X520-DA1 - Previous generation PCIe Gen 2 adapter  Mature and stable 10GbE adapter, works out-of-the-box with Ubuntu 14.04 LTS and 16.04 LTS&lt;br /&gt;
** [http://ark.intel.com/products/68669/Intel-Ethernet-Converged-Network-Adapter-X520-DA1 Intel® Ethernet Converged Network Adapter X520-DA1 ]&lt;br /&gt;
* Intel X710-DA2 - New PCIe Gen 3 adapter&lt;br /&gt;
** [http://ark.intel.com/products/83964/Intel-Ethernet-Converged-Network-Adapter-X710-DA2 Intel® Ethernet Converged Network Adapter X710-DA2 ]&lt;br /&gt;
* Intel X710-DA4 - New PCIe Gen 3 adapter&lt;br /&gt;
** [http://ark.intel.com/products/83965/Intel-Ethernet-Converged-Network-Adapter-X710-DA4 Intel® Ethernet Converged Network Adapter X710-DA4 ]&lt;br /&gt;
&lt;br /&gt;
'''Additional Links and Resources for Intel 10GbE adapters'''&lt;br /&gt;
* [http://ark.intel.com/compare/39776,83964,83965 Compare Intel® Products]&lt;br /&gt;
&lt;br /&gt;
==International Power Supply Options==&lt;br /&gt;
The power supply provided with the USRP N310 kit is packaged with a power cord that is compatible with power outlets in the US/Japan.  If you are not using the USRP N310 in the US/Japan, we recommend purchasing the International USRP N310 Power Cord set.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Guidance on SFP+ Adapters for Fiber Connectivity on USRP N310==&lt;br /&gt;
&lt;br /&gt;
Ettus Research currently offers direct-connect, copper cabling accessories for the USRP N310. However, it is also possible to use multi-mode fiber instead of copper connections for these devices. In this section, we will provide general guidance on the types of fiber adapters and cables that can be used with these products.&lt;br /&gt;
General Guidance on SFP+ Adapters&lt;br /&gt;
&lt;br /&gt;
The USRP N310 USRP is compatible with most brands of SFP+ fiber adapters. In some cases, other equipment in the systems such as 1/10 Gigabith Ethernet switches are only compatible with specific brands of SFP+ adapters and cables. As a general rule, we recommend checking compatibility with the switches and network cards in your system before purchasing an adapter.&lt;br /&gt;
&lt;br /&gt;
Ettus Research does test the USRP N310 USRP devices with our [https://www.ettus.com/product/details/10GIGE-KIT 10 Gigabit Ethernet Connectivity Kit] and a Blade Networks G8124 1/10 GigE switch. Here are is a list of known-good cables and adapters.&lt;br /&gt;
&lt;br /&gt;
Ettus Research has only tested multi-mode fiber accessories.&lt;br /&gt;
&lt;br /&gt;
===Known-Good Adapters===&lt;br /&gt;
* [http://approvedoptics.com/blade-networks-bn-ckm-sp-sr/ Approved Optics BN-CKM-SP-SR-A]&lt;br /&gt;
&lt;br /&gt;
===Known-Good Cables===&lt;br /&gt;
* [http://www.colfaxdirect.com/store/pc/viewPrd.asp?idproduct=1696 Elpeus 10GbE SFP+ AOC Cable, 3 meters]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware Resources]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=About_the_Motherboard_and_Daughtercard_EEPROM_on_USRP_Devices&amp;diff=3723</id>
		<title>About the Motherboard and Daughtercard EEPROM on USRP Devices</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=About_the_Motherboard_and_Daughtercard_EEPROM_on_USRP_Devices&amp;diff=3723"/>
				<updated>2018-03-07T19:42:24Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: /* Daughtercard IDs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-309 '''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-05-16  &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Trip Humphries&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=USRP EEPROM Settings &amp;amp; Recovery Guide=&lt;br /&gt;
&lt;br /&gt;
Some USRP products contain an EEPROM on the motherboard which is used to store information about the USRP. Currently, the N200/210, X300/310, B200/210, and E100 contain an on-board EEPROM. The EEPROM contains information about each USRP such as product code, revision number, USRP name, and IP address. The specific information stores on each USRP EEPROM is dependent on the USRP model.&lt;br /&gt;
&lt;br /&gt;
Daughter boards also contain an EEPROM that contains identification information about the daughter board. UHD reads the daughter board ID to determine the model and revision (if applicable) of the daughter board. This information is used to properly configure the USRP and daughter board for proper function.&lt;br /&gt;
&lt;br /&gt;
==EEPROM Burn Utility==&lt;br /&gt;
&lt;br /&gt;
'''Disclaimer: Ettus Research accepts no liability for misuse of this utility. It can very easily cause irreversible damage if used incorrectly! Please contact Ettus support at [mailto:support@ettus.com support@ettus.com] if you are unsure how to proceed.'''&lt;br /&gt;
&lt;br /&gt;
A utility, usrp_burn_mb_eeprom, is included with UHD to read/write values on the various motherboards that contain an EEPROM. The utility is located in the UHD install directory. The default folder is:&lt;br /&gt;
&lt;br /&gt;
 /usr/local/lib/uhd/utils/&lt;br /&gt;
&lt;br /&gt;
The utility can be used with the USRP X300/310, N200/210, B200/210, and E100. In some cases, it is necessary to use the utility to write custom user settings to the USRP, such as USRP name or IP address. In other cases, some EEPROM settings set by the factory may become corrupted and need to be restored. This section will cover basic usage of the usrp_burn_mb_eeprom utility, with USRP specific instructions covered in the sections below.&lt;br /&gt;
&lt;br /&gt;
EEPROM settings can be read using the usrp_burn_mb_eeprom utility. All the EEPROM settings can be read at once using the 'read all' option:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;lt;optional device args&amp;gt; --read-all&lt;br /&gt;
&lt;br /&gt;
This will return the current contents in the EEPROM for the specified USRP. For example, if you want to read all the EEPROM contents for a USRP B210, the command would look like:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --read-all &lt;br /&gt;
&lt;br /&gt;
The EEPROM settings vary based on the specific USRP in use. The following sections document the EEPROM settings available for each USRP. Examples for each USRP with an EEPROM are also given.&lt;br /&gt;
&lt;br /&gt;
=X300/310 EEPROM=&lt;br /&gt;
The EEPROM on the X300/310 stores useful information about the USRP so that UHD can set the proper settings based on model and revision. Some of these settings are user customizable. The table below outlines the values stored in the X300/310 EEPROM. Any entry that is designated &amp;quot;User Customizable?=No&amp;quot; can cause irreversible damage to the USRP and should only be altered by proper guidance from Ettus Support. For example, certain settings in the EEPROM could become corrupted and can be restored with the proper commands.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''X300/310 EEPROM Setting:'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Hardware Number&lt;br /&gt;
|-&lt;br /&gt;
|revision_compat&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|serial&lt;br /&gt;
|No&lt;br /&gt;
|Unique USRP Serial Number&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr0&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address (Port 0)&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr1&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address (Port 1)&lt;br /&gt;
|-&lt;br /&gt;
|gateway&lt;br /&gt;
|Yes&lt;br /&gt;
|Network Gateway&lt;br /&gt;
|-&lt;br /&gt;
|subnet0&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet1&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet2&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet3&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr0&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr1&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr2&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr3&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|name&lt;br /&gt;
|Yes&lt;br /&gt;
|Custom USRP Name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
As an example, the EEPROM settings of an X310 with IP address 192.168.10.2 could be read-back with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;addr=192.168.10.2,type=x300&amp;quot; --read-all&lt;br /&gt;
&lt;br /&gt;
and the output would look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;revision_compat&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;mac-addr0&amp;quot;] is &amp;quot;xx:xx:xx:xx:xx:xx&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;mac-addr1&amp;quot;] is &amp;quot;xx:xx:xx:xx:xx:xx&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;gateway&amp;quot;] is &amp;quot;192.168.10.1&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr0&amp;quot;] is &amp;quot;192.168.10.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet0&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr1&amp;quot;] is &amp;quot;192.168.20.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet1&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr2&amp;quot;] is &amp;quot;192.168.10.3&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet2&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr3&amp;quot;] is &amp;quot;192.168.40.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet3&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AF217&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Determining X300/X310 Revision Number==&lt;br /&gt;
It is useful in many cases to determine the revision number of your X300/X310. A part number sticker is located on the X300/310 motherboard. This sticker is located near the AUX-I/O connector and has the format 123456\&amp;lt;R&amp;gt;-\&amp;lt;XXX&amp;gt; where \&amp;lt;R&amp;gt; is a letter code that corresponds to the revision number. The photograph below highlights the location of the sticker:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:an-309-x3x0-rev-id.png|thumb|500px|center|The USRP X300/310 motherboard has a sticker that identifies the product and revision. The sticker is outlined in red.]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the letter code has been determined use the table below to map the letter code to a revision number:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Letter'''&lt;br /&gt;
|'''Revision #'''&lt;br /&gt;
|-&lt;br /&gt;
|C&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|D&lt;br /&gt;
|4&lt;br /&gt;
|-&lt;br /&gt;
|E&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|F&lt;br /&gt;
|6&lt;br /&gt;
|-&lt;br /&gt;
|G&lt;br /&gt;
|7&lt;br /&gt;
|-&lt;br /&gt;
|H&lt;br /&gt;
|8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Restore X300/310 EEPROM Revision Code==&lt;br /&gt;
&lt;br /&gt;
A corrupted or missing revision code in the X300/310 EEPROM will be indicated by a UHD runtime error:&lt;br /&gt;
&lt;br /&gt;
 Error: RuntimeError: No revision compat detected. MB EEPROM must be reprogrammed!&lt;br /&gt;
&lt;br /&gt;
If this problem is encountered, the usrp_burn_mb_eeprom utility can be used to restore the X300/310 revision code in the EEPROM. First, the X300/X310 revision number must be determined. Once the revision number for your X300/310 is known, the usrp_burn_mb_eeprom utility can be used to restore the revision code to the EEPROM. The syntax is as follows:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom&amp;quot; --values=&amp;quot;revision=&amp;lt;#&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;#&amp;gt; is the revision number of your X300/310 to be written to the EEPROM. For example, to restore the revision number in EEPROM for a Rev. 6 X300 with an IP address of 192.168.10.2, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom,addr=192.168.10.2&amp;quot; --values=&amp;quot;revision=6&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the utility has been run, power cycle the USRP and then run uhd_usrp_probe to ensure that the new revision number has been written to the EEPROM correctly. If you are unsure of how to accomplish these steps, please feel free to contact Ettus Support at [mailto:support@ettus.com support@ettus.com].&lt;br /&gt;
&lt;br /&gt;
==Restore X300/310 EEPROM Product Code==&lt;br /&gt;
&lt;br /&gt;
A corrupted product code in the X300/310 EEPROM will be indicated by a UHD warning:&lt;br /&gt;
&lt;br /&gt;
 UHD Warning: X300/X310 unknown product code in EEPROM: &amp;lt;###&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;###&amp;gt; is some numbered code that is unknown by UHD. If this problem is encountered, the usrp_burn_mb_eeprom utility can be used to write a new product code to the EEPROM. First, the X300/X310 revision number must be determined. Once the revision number has been determined, refer to the table below to find the product code for the X300/310:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''Rev. 0-6'''&lt;br /&gt;
|'''Rev. 7-8'''&lt;br /&gt;
|-&lt;br /&gt;
|X300&lt;br /&gt;
|30518 (0x7736)&lt;br /&gt;
|30817 (0x7861)&lt;br /&gt;
|-&lt;br /&gt;
|X310&lt;br /&gt;
|30410 (0x76CA)&lt;br /&gt;
|30818 (0x7862)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once the correct product code has been determined base on the X3x0 model and revision, the usrp_burn_mb_eeprom utility can be used to write the correct product code to the EEPROM. They syntax is as follows:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom&amp;quot; --values=&amp;quot;product=&amp;lt;###&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;###&amp;gt; is the product code to be written to the EEPROM. For example, on a Rev. 7 X300 with an IP address of 191.168.10.2, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom,addr=192.168.10.2&amp;quot; --values=&amp;quot;product=30817&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the utility has been run, power cycle the USRP and then run uhd_usrp_probe to ensure that the new revision number has been written to the EEPROM correctly. If you are unsure of how to accomplish these steps, please feel free to contact Ettus Support at [mailto:support@ettus.com support@ettus.com].&lt;br /&gt;
&lt;br /&gt;
==National Instruments USRP RIO==&lt;br /&gt;
&lt;br /&gt;
The National Instruments branded X300/310 have unique product codes to identify the motherboard revision as well as the daughter-cards in the USRP. The product codes are listed below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Model (DB, BW, Rev.)'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772B&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7853&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FB&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785B&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772C&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7854&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FC&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785C&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772D&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7855&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FD&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785D&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2944R (UBX, 160 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x772E&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2944R (UBX, 160 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x7856&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x772F&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7857&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x77FE&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 120 MHz BW, Rev. 7+   &lt;br /&gt;
|0x785E&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x7730&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7858&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x77FF&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 120 MHz BW, Rev. 7+   &lt;br /&gt;
|0x785F&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x7731&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7859&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x7800&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 120 MHz BW, Rev. 7+)  &lt;br /&gt;
|0x7860&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2954R (GPS, UBX, 160 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x7732&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2954R (GPS, UBX, 160 MHz BW, Rev. 7+)  &lt;br /&gt;
|0x785A&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=N200/210 EEPROM=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''N200/210 EEPROM Setting'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|hardware&lt;br /&gt;
|No&lt;br /&gt;
|Hardware Number&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|subnet&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnetwork&lt;br /&gt;
|-&lt;br /&gt;
|gateway&lt;br /&gt;
|Yes&lt;br /&gt;
|Network Gateway&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The N200/210 do not store the product codes in the motherboard EEPROM. The &amp;quot;hardware&amp;quot; field is programmed at the factory but is not referenced by UHD. Instead, the revision field is used to determine the N200/210 hardware in use. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''Motherboard Product ID'''&lt;br /&gt;
|-&lt;br /&gt;
|N200&lt;br /&gt;
|0x0A00&lt;br /&gt;
|-&lt;br /&gt;
|N210&lt;br /&gt;
|0x0A01&lt;br /&gt;
|-&lt;br /&gt;
|N200 - R4&lt;br /&gt;
|0x0A10&lt;br /&gt;
|-&lt;br /&gt;
|N210 - R4&lt;br /&gt;
|0x0A11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=B200/210 and B200mini EEPROM=&lt;br /&gt;
&lt;br /&gt;
The USRP B200 and B210 EEPROM is used to store certain information about each board. The USB PID (Product ID) and VID (Vendor ID) are stored in the EEPROM as well as serial number, product code, hardware revision, and USRP name for each B200/210. A table of these settings and whether or not the setting is user customizable is given below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''B200/210 EEPROM Setting'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|serial&lt;br /&gt;
|No&lt;br /&gt;
|Unique Serial Number&lt;br /&gt;
|-&lt;br /&gt;
|name&lt;br /&gt;
|Yes&lt;br /&gt;
|Custom USRP Name&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To read the current EEPROM values from the USRP, use the usrp_burn_mb_eeprom utility:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --read-all&lt;br /&gt;
&lt;br /&gt;
This will read the settings and print them to the terminal. A sample output is shown below for a USRP B210:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;MyB210&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If desired, a B200/210 could be given a custom name with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --values=&amp;quot;name=Lab_B210&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the command has been run, the device must be power-cycled for the new EEPROM setting to take effect. Reading the updated EEPROM values yields:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;Lab_B210&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==USB VID/PID==&lt;br /&gt;
&lt;br /&gt;
The USB vendor identification (VID) and product identification (PID) numbers can be written to the USRP B200/210 using the &amp;quot;b2xx_fx3_utils&amp;quot; utility that is included with UHD. To reset the VID and PID, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./b2xx_fx3_utils --init-device --write-vid 0x2500 --write-pid -0x0020&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''USB PID'''&lt;br /&gt;
|-&lt;br /&gt;
|B200&lt;br /&gt;
|0x0020&lt;br /&gt;
|-&lt;br /&gt;
|B210&lt;br /&gt;
|0x0020&lt;br /&gt;
|-&lt;br /&gt;
|B200 (NI)&lt;br /&gt;
|0x7813&lt;br /&gt;
|-&lt;br /&gt;
|B210 (NI)&lt;br /&gt;
|0x7814&lt;br /&gt;
|-&lt;br /&gt;
|B200mini&lt;br /&gt;
|0x0021&lt;br /&gt;
|-&lt;br /&gt;
|B205mini&lt;br /&gt;
|0x0022&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The VID is the same for all B2x0 variants, 0x2500.&lt;br /&gt;
&lt;br /&gt;
=Daughtercard IDs=&lt;br /&gt;
&lt;br /&gt;
Below is a comprehensive list of the daughtercard hex ID's.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Name'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|Basic Tx		    &lt;br /&gt;
| 0x0000&lt;br /&gt;
|-&lt;br /&gt;
|Basic Rx   		    &lt;br /&gt;
| 0x0001&lt;br /&gt;
|-&lt;br /&gt;
|DBS Rx      		&lt;br /&gt;
| 0x0002&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx       		&lt;br /&gt;
| 0x0003&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx			&lt;br /&gt;
| 0x0004&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx			&lt;br /&gt;
| 0x0005&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx		&lt;br /&gt;
| 0x0006&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx		&lt;br /&gt;
| 0x0007&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx			&lt;br /&gt;
| 0x0008&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx			&lt;br /&gt;
| 0x0009&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx		&lt;br /&gt;
| 0x000a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx		&lt;br /&gt;
| 0x000b&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 2			&lt;br /&gt;
| 0x000c&lt;br /&gt;
|-&lt;br /&gt;
|DBS Rx ClkMod		&lt;br /&gt;
| 0x000d&lt;br /&gt;
|-&lt;br /&gt;
|LF Tx				&lt;br /&gt;
| 0x000e&lt;br /&gt;
|-&lt;br /&gt;
|LF Rx				&lt;br /&gt;
| 0x000f&lt;br /&gt;
|-&lt;br /&gt;
|DBSRX2				&lt;br /&gt;
| 0x012&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx MIMO A	&lt;br /&gt;
| 0x0014&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx MIMO A	&lt;br /&gt;
| 0x0015&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx MIMO A &lt;br /&gt;
| 0x0016&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx MIMO A &lt;br /&gt;
| 0x0017&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx MIMO A  &lt;br /&gt;
| 0x0018&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx MIMO A	&lt;br /&gt;
| 0x0019&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx MIMO A &lt;br /&gt;
| 0x001a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx MIMO A &lt;br /&gt;
| 0x001b&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx MIMO B	&lt;br /&gt;
| 0x0024&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx MIMO B  &lt;br /&gt;
| 0x0025&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx MIMO B &lt;br /&gt;
| 0x0026&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx MIMO B &lt;br /&gt;
| 0x0027&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx MIMO B	&lt;br /&gt;
| 0x0028&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx MIMO B	&lt;br /&gt;
| 0x0029&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx MIMO B	&lt;br /&gt;
| 0x002a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx MIMO B &lt;br /&gt;
| 0x002b&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2200 Rx MIMO B &lt;br /&gt;
| 0x002c&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2200 Tx MIMO B	&lt;br /&gt;
| 0x002d&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx		&lt;br /&gt;
| 0x0030&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx		&lt;br /&gt;
| 0x0031&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx MIMO A	&lt;br /&gt;
| 0x0032&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx MIMO A	&lt;br /&gt;
| 0x0033&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx MIMO B &lt;br /&gt;
| 0x0034&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx MIMO B &lt;br /&gt;
| 0x0035&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 3			&lt;br /&gt;
| 0x0040&lt;br /&gt;
|-&lt;br /&gt;
|DTT754				&lt;br /&gt;
| 0x0041&lt;br /&gt;
|-&lt;br /&gt;
|DTT768				&lt;br /&gt;
| 0x0042&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx MIMO			&lt;br /&gt;
| 0x0043&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 2 MIMO	&lt;br /&gt;
| 0x0044&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 3 MIMO	&lt;br /&gt;
| 0x0045&lt;br /&gt;
|-&lt;br /&gt;
|TVRX2				&lt;br /&gt;
| 0x0046&lt;br /&gt;
|-&lt;br /&gt;
|WCDMA US			&lt;br /&gt;
| 0x004d&lt;br /&gt;
|-&lt;br /&gt;
|WCDMA EU			&lt;br /&gt;
| 0x004e&lt;br /&gt;
|-&lt;br /&gt;
|SIMPLE GDB			&lt;br /&gt;
| 0x004f&lt;br /&gt;
|-&lt;br /&gt;
|WBX LO TX			&lt;br /&gt;
| 0x0050&lt;br /&gt;
|-&lt;br /&gt;
|WBX LO RX			&lt;br /&gt;
| 0x0051&lt;br /&gt;
|-&lt;br /&gt;
|WBX NG TX			&lt;br /&gt;
| 0x0052&lt;br /&gt;
|-&lt;br /&gt;
|WBX NG RX			&lt;br /&gt;
| 0x0053&lt;br /&gt;
|-&lt;br /&gt;
|SBX v3 RX			&lt;br /&gt;
| 0x0054&lt;br /&gt;
|-&lt;br /&gt;
|SBX v3 TX			&lt;br /&gt;
| 0x0055&lt;br /&gt;
|-&lt;br /&gt;
|WBX v3 TX			&lt;br /&gt;
| 0x0056&lt;br /&gt;
|-&lt;br /&gt;
|WBX v3 RX			&lt;br /&gt;
| 0x0057&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 - No Div	&lt;br /&gt;
| 0x0059&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 TX			&lt;br /&gt;
| 0x0060&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 RX			&lt;br /&gt;
| 0x0061&lt;br /&gt;
|-&lt;br /&gt;
|WBX v4 TX			&lt;br /&gt;
| 0x0062&lt;br /&gt;
|-&lt;br /&gt;
|WBX v4 RX			&lt;br /&gt;
| 0x0063&lt;br /&gt;
|-&lt;br /&gt;
|SBX v4 TX			&lt;br /&gt;
| 0x0064&lt;br /&gt;
|-&lt;br /&gt;
|SBX v4 RX			&lt;br /&gt;
| 0x0065&lt;br /&gt;
|-&lt;br /&gt;
|CBX v1 TX			&lt;br /&gt;
| 0x0066&lt;br /&gt;
|-&lt;br /&gt;
|CBX v1 RX			&lt;br /&gt;
| 0x0067&lt;br /&gt;
|-&lt;br /&gt;
|SBX v5 TX			&lt;br /&gt;
| 0x0068&lt;br /&gt;
|-&lt;br /&gt;
|SBX v5 RX			&lt;br /&gt;
| 0x0069&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v3 TX	&lt;br /&gt;
| 0x0073&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v3 RX &lt;br /&gt;
| 0x0074&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v4 TX &lt;br /&gt;
| 0x0075&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v4 RX &lt;br /&gt;
| 0x0076&lt;br /&gt;
|-&lt;br /&gt;
|UBX v1 TX			&lt;br /&gt;
| 0x0077&lt;br /&gt;
|-&lt;br /&gt;
|UBX v1 RX			&lt;br /&gt;
| 0x0078&lt;br /&gt;
|-&lt;br /&gt;
|UBX-160 v1 TX		&lt;br /&gt;
| 0x0079&lt;br /&gt;
|-&lt;br /&gt;
|UBX-160 v1 RX		&lt;br /&gt;
| 0x007a&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|UBX-40 v2 TX		&lt;br /&gt;
| 0x007b&lt;br /&gt;
|-&lt;br /&gt;
|UBX-40 v2 RX		&lt;br /&gt;
| 0x007c&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|UBX-160 v2 TX		&lt;br /&gt;
| 0x007d&lt;br /&gt;
|-&lt;br /&gt;
|UBX-160 v2 RX		&lt;br /&gt;
| 0x007e&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|Bitshark RX			&lt;br /&gt;
| 0x0070&lt;br /&gt;
|-&lt;br /&gt;
|B150 v1 TX			&lt;br /&gt;
| 0x0071&lt;br /&gt;
|-&lt;br /&gt;
|B150 v1 RX			&lt;br /&gt;
| 0x0072&lt;br /&gt;
|-&lt;br /&gt;
|WBX-120 v1 TX		&lt;br /&gt;
| 0x0080&lt;br /&gt;
|-&lt;br /&gt;
|WBX-120 v1 RX		&lt;br /&gt;
| 0x0081&lt;br /&gt;
|-&lt;br /&gt;
|SBX-120 v1 TX		&lt;br /&gt;
| 0x0082&lt;br /&gt;
|-&lt;br /&gt;
|SBX-120 v1 RX		&lt;br /&gt;
| 0x0083&lt;br /&gt;
|-&lt;br /&gt;
|CBX-120 v1 TX		&lt;br /&gt;
| 0x0084&lt;br /&gt;
|-&lt;br /&gt;
|CBX-120 v1 RX		&lt;br /&gt;
| 0x0085&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX Rev A TX		&lt;br /&gt;
| 0x0090&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX Rev A RX 		&lt;br /&gt;
| 0x0091&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX Rev B TX		&lt;br /&gt;
| 0x0092&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX Rev B RX 		&lt;br /&gt;
| 0x0093&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX Rev C TX 	&lt;br /&gt;
| 0x0094&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX Rev C RX&lt;br /&gt;
| 0x0095&lt;br /&gt;
|-&lt;br /&gt;
|E300 AD3964 DB RevB	&lt;br /&gt;
| 0x0100&lt;br /&gt;
|-&lt;br /&gt;
|E310 AD9361 DB RevB	&lt;br /&gt;
| 0x0110&lt;br /&gt;
|-&lt;br /&gt;
|E300 AD9364 DB RevC	&lt;br /&gt;
| 0x0101&lt;br /&gt;
|-&lt;br /&gt;
|E310 AD9361 DB RevC	&lt;br /&gt;
| 0x0111&lt;br /&gt;
|-&lt;br /&gt;
|Unknown Tx			&lt;br /&gt;
| 0xfff0&lt;br /&gt;
|-&lt;br /&gt;
|Unknown Rx			&lt;br /&gt;
| 0xfff1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Motherboard IDs=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Name'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|B200&lt;br /&gt;
|0x7737&lt;br /&gt;
|-&lt;br /&gt;
|B210&lt;br /&gt;
|0x7738&lt;br /&gt;
|-&lt;br /&gt;
|B200mini&lt;br /&gt;
|0x7739&lt;br /&gt;
|-&lt;br /&gt;
|B205mini&lt;br /&gt;
|0x773a&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Application Notes]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=X300/X310&amp;diff=3654</id>
		<title>X300/X310</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=X300/X310&amp;diff=3654"/>
				<updated>2018-01-30T10:46:39Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: /* Choosing a Host Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Device Overview ==&lt;br /&gt;
The Ettus Research USRP X310 is a high-performance, scalable software defined radio (SDR) platform for designing and deploying next generation wireless communications systems. The hardware architecture combines two extended-bandwidth daughterboard slots covering DC – 6 GHz with up to 160 MHz of baseband bandwidth, multiple high-speed interface options (PCIe, dual 10 GigE, dual 1 GigE), and a large user-programmable Kintex-7 FPGA in a convenient desktop or rack-mountable half-wide 1U form factor.&lt;br /&gt;
&lt;br /&gt;
== Key Features==&lt;br /&gt;
===X300===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot;|&lt;br /&gt;
* Xilinx Kintex-7 XC7K325T FPGA&lt;br /&gt;
* 14 bit 200 MS/s ADC&lt;br /&gt;
* 16 bit 800 MS/s DAC&lt;br /&gt;
* Frequency range: DC - 6 GHz with suitable daughterboard&lt;br /&gt;
* Up 160MHz bandwidth per channel&lt;br /&gt;
* Two wide-bandwidth RF daughterboard slots&lt;br /&gt;
* Optional GPSDO&lt;br /&gt;
* Multiple high-speed interfaces (Dual 10G, PCIe Express, ExpressCard, Dual 1G)&lt;br /&gt;
|[[File:Product x300.jpg|250px|center]] &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===X310===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot;|&lt;br /&gt;
* Xilinx Kintex-7 XC7K410T FPGA&lt;br /&gt;
* 14 bit 200 MS/s ADC&lt;br /&gt;
* 16 bit 800 MS/s DAC&lt;br /&gt;
* Frequency range: DC - 6 GHz with suitable daughterboard&lt;br /&gt;
* Up 160MHz bandwidth per channel&lt;br /&gt;
* Two wide-bandwidth RF daughterboard slots&lt;br /&gt;
* Optional GPSDO&lt;br /&gt;
* Multiple high-speed interfaces (Dual 10G, PCIe Express, ExpressCard, Dual 1G)&lt;br /&gt;
|[[File:Product x310.jpg|250px|center]] &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Compatible Daughterboards==&lt;br /&gt;
* WBX-120 / WBX-40&lt;br /&gt;
* SBX-120 / SBX-40&lt;br /&gt;
* CBX-120 / CBX-40&lt;br /&gt;
* UBX-160 / UBX-40&lt;br /&gt;
* BasicTX / BasicRX&lt;br /&gt;
* LFRX / LFTX&lt;br /&gt;
* TwinRX&lt;br /&gt;
* DBSRX2 (EOL)&lt;br /&gt;
* RFX Series (EOL)&lt;br /&gt;
* TVRX2 (EOL)&lt;br /&gt;
&lt;br /&gt;
==RF Specifications==&lt;br /&gt;
===RF Performance Data (with SBX-120)===&lt;br /&gt;
* SSB/LO Suppression -35/50 dBc&lt;br /&gt;
* Phase Noise 3.5 GHz 1.0 deg RMS&lt;br /&gt;
* Phase Noise 6 GHz 1.5 deg RMS&lt;br /&gt;
* Power Output &amp;gt;10dBm&lt;br /&gt;
* IIP3 (@ typ NF) 0dBm&lt;br /&gt;
* Typical Noise Figure 8dB&lt;br /&gt;
&lt;br /&gt;
==Hardware Specifications==&lt;br /&gt;
* Ettus Research recommends to always use the latest stable version of UHD&lt;br /&gt;
&lt;br /&gt;
===X300===&lt;br /&gt;
* Current Hardware Revision: 8&lt;br /&gt;
* Minimum version of UHD required: 3.9.0&lt;br /&gt;
&lt;br /&gt;
===X310===&lt;br /&gt;
* Current Hardware Revision: 8&lt;br /&gt;
* Minimum version of UHD required: 3.9.0&lt;br /&gt;
&lt;br /&gt;
==Physical Specifications==&lt;br /&gt;
&lt;br /&gt;
===Dimensions===&lt;br /&gt;
27.7 x 21.8 x 3.9 cm&lt;br /&gt;
&lt;br /&gt;
==Environmental Specifications==&lt;br /&gt;
===Operating Temperature Range===&lt;br /&gt;
* X300/X310 0-40 °C&lt;br /&gt;
&lt;br /&gt;
===Operating Humidity Range===&lt;br /&gt;
* 10% to 90% non-condensing&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
===X300/X310===&lt;br /&gt;
[http://files.ettus.com/schematics/x300/x3xx.pdf X300/X310 Schematics]&lt;br /&gt;
&lt;br /&gt;
==Key Component Datasheets==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:80%&amp;quot;&lt;br /&gt;
!Part Number&lt;br /&gt;
!Description&lt;br /&gt;
!Schematic ID (Page)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.xilinx.com/support/documentation/data_sheets/ds180_7Series_Overview.pdf XC7K325T] / [http://www.xilinx.com/support/documentation/data_sheets/ds180_7Series_Overview.pdf XC7K410T]&lt;br /&gt;
|FPGA&lt;br /&gt;
|U23 (3,5,8,9,10,18)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.analog.com/media/en/technical-documentation/data-sheets/AD9146.PDF AD9146]&lt;br /&gt;
|Dual Channel, 16-Bit, 1230 MSPS DAC&lt;br /&gt;
|U12, U36 (7)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.ti.com/lit/ds/slas635b/slas635b.pdf ADS62P48]&lt;br /&gt;
|Dual Channel, 14-Bit 210 MSPS ADC&lt;br /&gt;
|U11, U35 (6)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[https://www.fairchildsemi.com/datasheets/FI/FIN1002.pdf FIN1002]&lt;br /&gt;
|High Speed Differential Receiver&lt;br /&gt;
|U3, U5, U31, U32 (4)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://ww1.microchip.com/downloads/en/DeviceDoc/20001203U.pdf 24LC256T]&lt;br /&gt;
|EEPROM&lt;br /&gt;
|U530 (11)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.ti.com/lit/ds/symlink/lmk04816.pdf LMK04816BISQ/NOPB_1/3]&lt;br /&gt;
|Jitter Cleaner With Dual Loop PLLs&lt;br /&gt;
|U531 (11)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.micrel.com/_PDF/HBW/sy89547l.pdf SY89547LMGTR]&lt;br /&gt;
|Multiplexer&lt;br /&gt;
|U506 (12)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.ti.com/lit/ds/symlink/sn74aup1t17.pdf SN74AUP1T17]&lt;br /&gt;
|Single Schmitt-Trigger Buffer Gate&lt;br /&gt;
|U6, U519 (12)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.ti.com/lit/ds/symlink/tps54620.pdf TPS54620RGYT]&lt;br /&gt;
|Synchronous Step Down SWIFT™ Converter&lt;br /&gt;
|U515 (21); U516 (26)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://cds.linear.com/docs/en/datasheet/1764fb.pdf LT1764EQ-3.3]&lt;br /&gt;
|Voltage Regulator&lt;br /&gt;
|U27 (21); U516 (26)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.ti.com/lit/ds/symlink/tps7a47.pdf TPS7A47]&lt;br /&gt;
|Voltage Regulator&lt;br /&gt;
|U28, U532 (21)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://cds.linear.com/docs/en/datasheet/3603fc.pdf LTC3603EUF_TRPBF]&lt;br /&gt;
|Monolithic Synchronous Step-Down Regulator&lt;br /&gt;
|U517 (23); U500 (25); U514, U513 (27)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.ti.com/lit/ds/symlink/tps77625.pdf TPS77625_SM]&lt;br /&gt;
|Low-Dropout Voltage Regulators&lt;br /&gt;
|U30 (23)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[http://www.ti.com/lit/ds/symlink/tps79318-ep.pdf TPS79318_SM]&lt;br /&gt;
|Low-Dropout Voltage Regulators&lt;br /&gt;
|U510 (27)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[[Media:agile9598503.pdf|OSC-96MHZ-724821-01]]&lt;br /&gt;
|Voltage Controlled Crystal Oscillator&lt;br /&gt;
|U25 (11)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==GPSDO==&lt;br /&gt;
* Support GPSDO NMEA Strings&lt;br /&gt;
* [http://www.jackson-labs.com/assets/uploads/main/LC_XO_specsheet.pdf JacksonLabs LC_XO]&lt;br /&gt;
&lt;br /&gt;
===Sensors===&lt;br /&gt;
You can query the lock status with the &amp;lt;code&amp;gt;gps_locked&amp;lt;/code&amp;gt; sensor, as well as obtain raw NMEA sentences using the &amp;lt;code&amp;gt;gps_gprmc&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;gps_gpgga&amp;lt;/code&amp;gt; sensors. Location information can be parsed out of the &amp;lt;code&amp;gt;gps_gpgga&amp;lt;/code&amp;gt; sensor by using &amp;lt;code&amp;gt;gpsd&amp;lt;/code&amp;gt; or another NMEA parser.&lt;br /&gt;
&lt;br /&gt;
==Mechanical Information==&lt;br /&gt;
===Weight===&lt;br /&gt;
With 2x SBX-120: 1.7kg&lt;br /&gt;
&lt;br /&gt;
===Drawings===&lt;br /&gt;
* [[File:cu ettus-x3xx.pdf]]&lt;br /&gt;
* [[File:cu x3xx motherboard cca.pdf]]&lt;br /&gt;
&lt;br /&gt;
==FPGA==&lt;br /&gt;
* Utilization statistics are subject to change between UHD releases. This information is current as of UHD 3.9.4 and was taken directly from Xilinx Vivado 2014.4.&lt;br /&gt;
&lt;br /&gt;
===X300===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Slice Logic&lt;br /&gt;
--------------&lt;br /&gt;
&lt;br /&gt;
+----------------------------+-------+-----------+-------+&lt;br /&gt;
|          Site Type         |  Used | Available | Util% |&lt;br /&gt;
+----------------------------+-------+-----------+-------+&lt;br /&gt;
| Slice LUTs                 | 61622 |    203800 | 30.23 |&lt;br /&gt;
|   LUT as Logic             | 52887 |    203800 | 25.95 |&lt;br /&gt;
|   LUT as Memory            |  8735 |     64000 | 13.64 |&lt;br /&gt;
|     LUT as Distributed RAM |  1878 |           |       |&lt;br /&gt;
|     LUT as Shift Register  |  6857 |           |       |&lt;br /&gt;
| Slice Registers            | 62961 |    407600 | 15.44 |&lt;br /&gt;
|   Register as Flip Flop    | 62961 |    407600 | 15.44 |&lt;br /&gt;
|   Register as Latch        |     0 |    407600 |  0.00 |&lt;br /&gt;
| F7 Muxes                   |  1209 |    101900 |  1.18 |&lt;br /&gt;
| F8 Muxes                   |   150 |     50950 |  0.29 |&lt;br /&gt;
+----------------------------+-------+-----------+-------+&lt;br /&gt;
&lt;br /&gt;
3. Memory&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
+-------------------+------+-----------+-------+&lt;br /&gt;
|     Site Type     | Used | Available | Util% |&lt;br /&gt;
+-------------------+------+-----------+-------+&lt;br /&gt;
| Block RAM Tile    |  409 |       445 | 91.91 |&lt;br /&gt;
|   RAMB36/FIFO*    |  398 |       445 | 89.43 |&lt;br /&gt;
|     RAMB36E1 only |  398 |           |       |&lt;br /&gt;
|   RAMB18          |   22 |       890 |  2.47 |&lt;br /&gt;
|     RAMB18E1 only |   22 |           |       |&lt;br /&gt;
+-------------------+------+-----------+-------+&lt;br /&gt;
* Note: Each Block RAM Tile only has one FIFO logic available and therefore can accommodate only one FIFO36E1 or one FIFO18E1. However, if a FIFO18E1 occupies a Block RAM Tile, that tile can still accommodate a RAMB18E1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. DSP&lt;br /&gt;
------&lt;br /&gt;
&lt;br /&gt;
+----------------+------+-----------+-------+&lt;br /&gt;
|    Site Type   | Used | Available | Util% |&lt;br /&gt;
+----------------+------+-----------+-------+&lt;br /&gt;
| DSPs           |  123 |       840 | 14.64 |&lt;br /&gt;
|   DSP48E1 only |  123 |           |       |&lt;br /&gt;
+----------------+------+-----------+-------+&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===X310===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Slice Logic&lt;br /&gt;
--------------&lt;br /&gt;
&lt;br /&gt;
+----------------------------+-------+-----------+-------+&lt;br /&gt;
|          Site Type         |  Used | Available | Util% |&lt;br /&gt;
+----------------------------+-------+-----------+-------+&lt;br /&gt;
| Slice LUTs                 | 61616 |    254200 | 24.23 |&lt;br /&gt;
|   LUT as Logic             | 52885 |    254200 | 20.80 |&lt;br /&gt;
|   LUT as Memory            |  8731 |     90600 |  9.63 |&lt;br /&gt;
|     LUT as Distributed RAM |  1878 |           |       |&lt;br /&gt;
|     LUT as Shift Register  |  6853 |           |       |&lt;br /&gt;
| Slice Registers            | 62958 |    508400 | 12.38 |&lt;br /&gt;
|   Register as Flip Flop    | 62958 |    508400 | 12.38 |&lt;br /&gt;
|   Register as Latch        |     0 |    508400 |  0.00 |&lt;br /&gt;
| F7 Muxes                   |  1209 |    127100 |  0.95 |&lt;br /&gt;
| F8 Muxes                   |   150 |     63550 |  0.23 |&lt;br /&gt;
+----------------------------+-------+-----------+-------+&lt;br /&gt;
&lt;br /&gt;
3. Memory&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
+-------------------+------+-----------+-------+&lt;br /&gt;
|     Site Type     | Used | Available | Util% |&lt;br /&gt;
+-------------------+------+-----------+-------+&lt;br /&gt;
| Block RAM Tile    |  409 |       795 | 51.44 |&lt;br /&gt;
|   RAMB36/FIFO*    |  398 |       795 | 50.06 |&lt;br /&gt;
|     RAMB36E1 only |  398 |           |       |&lt;br /&gt;
|   RAMB18          |   22 |      1590 |  1.38 |&lt;br /&gt;
|     RAMB18E1 only |   22 |           |       |&lt;br /&gt;
+-------------------+------+-----------+-------+&lt;br /&gt;
* Note: Each Block RAM Tile only has one FIFO logic available and therefore can accommodate only one FIFO36E1 or one FIFO18E1. However, if a FIFO18E1 occupies a Block RAM Tile, that tile can still accommodate a RAMB18E1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. DSP&lt;br /&gt;
------&lt;br /&gt;
&lt;br /&gt;
+----------------+------+-----------+-------+&lt;br /&gt;
|    Site Type   | Used | Available | Util% |&lt;br /&gt;
+----------------+------+-----------+-------+&lt;br /&gt;
| DSPs           |  123 |      1540 |  7.98 |&lt;br /&gt;
|   DSP48E1 only |  123 |           |       |&lt;br /&gt;
+----------------+------+-----------+-------+&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FPGA User Modifications===&lt;br /&gt;
The Verilog code for the FPGA in the USRP X300 and USRP X310 is open-source, and users are free to modify and customize it for their needs. However, certain modifications may result in either bricking the device, or even in physical damage to the unit. Specifically, changing the I/O interface of the FPGA in any way, or modifying the pin and timing constraint files, could result in physical damage to other components on the motherboard, external to the FPGA, and doing this will void the warranty. Also, even if the PCIe interface is not being used, you cannot remove or reassign these pins in the constraint file. The constraint files should not be modified. Please note that modifications to the FPGA are made at the risk of the user, and may not be covered by the warranty of the device.&lt;br /&gt;
&lt;br /&gt;
==Interfaces and Connectivity==&lt;br /&gt;
Follow the links below for additional information on configuring each interface for the USRP X300 or X310 SDRs.&lt;br /&gt;
&lt;br /&gt;
*[http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_10gige Dual 10 Gigabit Ethernet] - 200 MS/s Full Duplex @ 16-bit&lt;br /&gt;
*[http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie PCIe Express (Desktop)] - 200 MS/s Full Duplex @ 16-bit&lt;br /&gt;
*[http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie_laptop ExpressCard (Laptop)] - 50 MS/s Full Duplex @ 16-bit&lt;br /&gt;
*[http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_1gige Dual 1 Gigabit Ethernet] - 25 MS/s Full Duplex @ 16-bit&lt;br /&gt;
&lt;br /&gt;
===Front Panel===&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;width:50%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
* '''JTAG''': USB connector for the on-board USB-JTAG programmer&lt;br /&gt;
* '''RF A Group'''&lt;br /&gt;
** '''TX/RX LED''': Indicates that data is streaming on the TX/RX channel on daughterboard A&lt;br /&gt;
** '''RX2 LED''': Indicates that data is streaming on the RX2 channel on daughterboard A&lt;br /&gt;
* '''REF''': Indicates that the external Reference Clock is locked&lt;br /&gt;
* '''PPS''': Indicates a valid PPS signal by pulsing once per second&lt;br /&gt;
* '''AUX I/O''': Front panel GPIO connector.&lt;br /&gt;
* '''GPS''': Indicates that GPS reference is locked&lt;br /&gt;
* '''LINK''': Indicates that the host computer is communicating with the device (Activity)&lt;br /&gt;
* '''RF B Group'''&lt;br /&gt;
** '''TX/RX LED''': Indicates that data is streaming on the TX/RX channel on daughterboard B&lt;br /&gt;
** '''RX2 LED''': Indicates that data is streaming on the RX2 channel on daughterboard B&lt;br /&gt;
* '''PWR''': Power switch&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;vertical-align:top&amp;quot; | [[File:x3x0 fp overlay.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Rear Panel===&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;width:50%&amp;quot; |&lt;br /&gt;
* '''PWR''': Connector for the USRP-X Series power supply&lt;br /&gt;
* '''1G/10G ETH''': SFP+ ports for Ethernet interfaces&lt;br /&gt;
* '''REF OUT''': Output port for the exported reference clock&lt;br /&gt;
* '''REF IN''': Reference clock input&lt;br /&gt;
* '''PCIe x4''': Connector for Cabled PCI Express link&lt;br /&gt;
* '''PPS/TRIG OUT''': Output port for the PPS signal&lt;br /&gt;
* '''PPS/TRIG IN''': Input port for the PPS signal&lt;br /&gt;
* '''GPS''': Connection for the GPS antenna&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;vertical-align:top&amp;quot; | [[File:x3x0 rp overlay.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Ref Clock - 10 MHz===&lt;br /&gt;
Using an external 10 MHz reference clock, a square wave will offer the best phase noise performance, but a sinusoid is acceptable. The power level of the reference clock cannot exceed +15 dBm.&lt;br /&gt;
&lt;br /&gt;
===PPS - Pulse Per Second===&lt;br /&gt;
Using a PPS signal for timestamp synchronization requires a square wave signal with the following a 5Vpp amplitude.&lt;br /&gt;
&lt;br /&gt;
To test the PPS input, you can use the following tool from the UHD examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;args&amp;gt;&amp;lt;/code&amp;gt; are device address arguments (optional if only one USRP device is on your machine)&lt;br /&gt;
&lt;br /&gt;
    cd &amp;lt;install-path&amp;gt;/lib/uhd/examples ./test_pps_input –args=&amp;lt;args&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Front Panel GPIO===&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;width:50%&amp;quot; |&lt;br /&gt;
The GPIO port is not meant to drive big loads. You should not try to source more than 5mA per pin.&lt;br /&gt;
&lt;br /&gt;
The +3.3V is for ESD clamping purposes only and not designed to deliver high currents.&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;vertical-align:top&amp;quot; | [[File:x3x0 gpio conn.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Power on state====&lt;br /&gt;
The hardware power on state and UHD initial state for the front-panel GPIOs is high-Z. For the X3xx, there are no external pull-ups/pull-downs for the GPIO pins, but the FPGAs do have them and they are configured as follows: X3xx: pull-down.&lt;br /&gt;
&lt;br /&gt;
====Pin Mapping====&lt;br /&gt;
* Pin 1: +3.3V&lt;br /&gt;
* Pin 2: Data[0]&lt;br /&gt;
* Pin 3: Data[1]&lt;br /&gt;
* Pin 4: Data[2]&lt;br /&gt;
* Pin 5: Data[3]&lt;br /&gt;
* Pin 6: Data[4]&lt;br /&gt;
* Pin 7: Data[5]&lt;br /&gt;
* Pin 8: Data[6]&lt;br /&gt;
* Pin 9: Data[7]&lt;br /&gt;
* Pin 10: Data[8]&lt;br /&gt;
* Pin 11: Data[9]&lt;br /&gt;
* Pin 12: Data[10]&lt;br /&gt;
* Pin 13: Data[11]&lt;br /&gt;
* Pin 14: 0V&lt;br /&gt;
* Pin 15: 0V&lt;br /&gt;
&lt;br /&gt;
'''Note''': Please see the [http://files.ettus.com/manual/page_gpio_api.html E3x0/X3x0 GPIO API] for information on configuring and using the GPIO bus.&lt;br /&gt;
&lt;br /&gt;
===On-Board LEDs===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
!LED &lt;br /&gt;
!Detail&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS1 &lt;br /&gt;
| 1.2V &lt;br /&gt;
| power &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS2 &lt;br /&gt;
| TXRX1 &lt;br /&gt;
| Red: TX, Green: RX &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS3 &lt;br /&gt;
| RX1 &lt;br /&gt;
| Green: RX &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS4 &lt;br /&gt;
| REF &lt;br /&gt;
| reference lock &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS5 &lt;br /&gt;
| PPS &lt;br /&gt;
| flashes on edge &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS6 &lt;br /&gt;
| GPS &lt;br /&gt;
| GPS lock &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS7 &lt;br /&gt;
| SFP0 &lt;br /&gt;
| link &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS8 &lt;br /&gt;
| SFP0 &lt;br /&gt;
| link activity &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS10 &lt;br /&gt;
| TXRX2 &lt;br /&gt;
| Red: TX Green: RX &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS11 &lt;br /&gt;
| RX2 &lt;br /&gt;
| Green: RX &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS12 &lt;br /&gt;
| 6V &lt;br /&gt;
| daughterboard power &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS13 &lt;br /&gt;
| 3.8V &lt;br /&gt;
| power &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS14 &lt;br /&gt;
| 3.3V &lt;br /&gt;
| management power &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS15 &lt;br /&gt;
| 3.3V &lt;br /&gt;
| auxiliary management power &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS16 &lt;br /&gt;
| 1.8V &lt;br /&gt;
| FPGA power &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS16 &lt;br /&gt;
| 3.3V &lt;br /&gt;
| FPGA power &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS19 &lt;br /&gt;
| SFP1 &lt;br /&gt;
| link &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS20 &lt;br /&gt;
| SFP1 &lt;br /&gt;
| link active &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| DS21 &lt;br /&gt;
| LINK &lt;br /&gt;
| link activity &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Certifications==&lt;br /&gt;
===RoHS===&lt;br /&gt;
As of December 1st, 2010 all Ettus Research products are RoHS compliant unless otherwise noted. More information can be found at [http://ettus.com/legal/rohs-information http://ettus.com/legal/rohs-information]&lt;br /&gt;
&lt;br /&gt;
===China RoHS=== &lt;br /&gt;
'''Management Methods for Controlling Pollution Caused by Electronic Information Products Regulation'''&lt;br /&gt;
&lt;br /&gt;
'''Chinese Customers''' &lt;br /&gt;
&lt;br /&gt;
National Instruments is in compliance with the Chinese policy on the Restriction of Hazardous Substances (RoHS) used in Electronic Information Products. For more information about the National Instruments China RoHS compliance, visit [http://www.ni.com/environment/rohs_china ni.com/environment/rohs_china].&lt;br /&gt;
&lt;br /&gt;
==Certificate of Volatility==&lt;br /&gt;
===X300/X310===&lt;br /&gt;
* [[Media:volatility USRP X300 X310 r1.pdf]]&lt;br /&gt;
&lt;br /&gt;
==Downloads==&lt;br /&gt;
[http://files.ettus.com/manual/md_fpga.html FPGA Resources]&lt;br /&gt;
&lt;br /&gt;
[http://files.ettus.com/binaries/uhd_stable/ UHD Stable Binaries]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/EttusResearch/uhd UHD Source Code on Github]&lt;br /&gt;
&lt;br /&gt;
==Choosing USRP X310 vs USRP X300==&lt;br /&gt;
In terms of host bandwidth, interface options, and all other hardware features the USRP X300 and USRP 310 are identical. However, the USRP X310 provides a larger FPGA, a Xilinx XC7K410T, as opposed to XC7K325T.  While both options provide a significant amount of free resources for custom FPGA development, the XC7K410T provides additional design margin, which translates to ease of development and future expandability.   Most users choose the USRP X310 for their development.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: auto;&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|USRP X300 and X310 FPGA Resource Summary&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|Resource Type&lt;br /&gt;
|USRP X300 (XC7K325T)&lt;br /&gt;
|USRP X310 (XC7K410T)&lt;br /&gt;
|-&lt;br /&gt;
|Count&lt;br /&gt;
|Count&lt;br /&gt;
|-&lt;br /&gt;
|DSP48 Blocks&lt;br /&gt;
|840&lt;br /&gt;
|1540&lt;br /&gt;
|-&lt;br /&gt;
|Block Rams (18kB)&lt;br /&gt;
|890&lt;br /&gt;
|1590&lt;br /&gt;
|-&lt;br /&gt;
|Logic Cells&lt;br /&gt;
|326,080&lt;br /&gt;
|406,720&lt;br /&gt;
|-&lt;br /&gt;
|Slices (logic)&lt;br /&gt;
|50,950&lt;br /&gt;
|63,550&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For up-to-date information on FPGA resource utilization in the stock FPGA design, please see &amp;quot;USRP 300/X310 FPGA Resources&amp;quot; in the Ettus Research knowledge base (https://kb.ettus.com).&lt;br /&gt;
&lt;br /&gt;
==Choosing an RF Daughterboard==&lt;br /&gt;
With the increased sample rates used by the USRP X300 and USRP X310, these new device can support extended-bandwidth daughterboards.  The WBX-120, SBX-120, and CBX-120 are recommended to take advantage of the full bandwidth capability of the USRP X300 and X310.  The WBX-120, SBX-120, and CBX-120 have been upgraded from their predecessors (40 MHz) to use 120 MHz baseband filters.  You can select your daughterboard based on the center frequency of your primary application.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: auto;&amp;quot;&lt;br /&gt;
!Daughterboard&lt;br /&gt;
!Frequency Range&lt;br /&gt;
!Bandwidth&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|WBX-120&lt;br /&gt;
|50 MHz - 2200 MHz&lt;br /&gt;
|120 MHz&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|SBX-120&lt;br /&gt;
|400 MHz - 4400 MHz&lt;br /&gt;
|120 MHz&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CBX-120&lt;br /&gt;
|1200 MHz - 6000 MHz&lt;br /&gt;
|120 MHz&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|UBX-160&lt;br /&gt;
|10 MHz - 6000 MHz&lt;br /&gt;
|160 MHz&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|TwinRX&lt;br /&gt;
|10 MHz - 6000 MHz&lt;br /&gt;
|80 MHz per channel, 160 MHz total&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If your application is in the HF frequency range, the LFRX and LFTX are recommended for up to 30 MHz of bandwidth per channel.  The BasicRX and BasicTX are ideal for configurations that use an external frontend for tuning and filtering with either an IF or baseband interface.&lt;br /&gt;
&lt;br /&gt;
The USRP X300 and X310 are backward compatible with legacy daughterboards except for the RFX Series and XCVR2450.  Please note, while there are two daughterboard slots, the USRP X300/X310 can only support a single TVRX2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you plan to transmit or receive over the air, you should also purchase an antenna.&lt;br /&gt;
&lt;br /&gt;
==Choosing a Host Interface==&lt;br /&gt;
&lt;br /&gt;
The USRP X300/X310 provide three interface options – 1 Gigabit Ethernet (1 GigE), 10 Gigabit Ethernet (10 GigE), and PCI-Express (PCIe). The PCIe interface is always available regardless of what FPGA image is loaded. Ettus ships two FPGA image variants, the HG or HGS image which has one 1 GigE interfaces and one 10 GigE interfaces, and the XG image which has two 10 GigE interfaces. Generally, Ettus Research recommends using 10 GigE to achieve the maximum throughput available from the USRP X300/X310.  PCIe is recommended for applications that require the lowest possible latency, which is a desirable characteristic for PHY/MAC research.  If your application does not require the full bandwidth of the USRP ™ X300 and X310, the 1 GigE interface serves as a cost-effective fall-back option.  Ettus Research provides a complete interface kit for each of these options, which is also shown in Table 3.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: auto;&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;4&amp;quot;|Table 3 - Interface Performance Summary&lt;br /&gt;
|-&lt;br /&gt;
!Interface&lt;br /&gt;
!Throughput (MS/s @ 16-bit)&lt;br /&gt;
!Target&lt;br /&gt;
!Recommended Kit&lt;br /&gt;
|-&lt;br /&gt;
|1 Gigabit&lt;br /&gt;
|25 MS/s&lt;br /&gt;
|Desktop/Laptop&lt;br /&gt;
|Components provided with USRP X300/X310 kit.&lt;br /&gt;
For additional connections, purchase the following:&lt;br /&gt;
[https://www.ettus.com/product/details/1GIGE-KIT SFP Adapter + GigE Cable]&lt;br /&gt;
|-&lt;br /&gt;
|10 Gigabit&lt;br /&gt;
|200 MS/s&lt;br /&gt;
|Desktop&lt;br /&gt;
|[https://www.ettus.com/product/details/10GIGE-KIT 10 GigE Interface Kit]&lt;br /&gt;
|-&lt;br /&gt;
|PCI-Express &lt;br /&gt;
(PCIe, 4 lane)&lt;br /&gt;
|200 MS/S&lt;br /&gt;
|Desktop&lt;br /&gt;
|[https://www.ettus.com/product/details/PCIE-KIT PCI-Express Desktop Kit]&lt;br /&gt;
|-&lt;br /&gt;
|Express Card&lt;br /&gt;
(PCIe, 1 lane)&lt;br /&gt;
|50 MS/s&lt;br /&gt;
|Laptop&lt;br /&gt;
|[https://www.ettus.com/product/details/ECARD-KIT ExpressCard Kit]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Connectivity 2.png|700px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;Figure 2 - Host Interface Options&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===10 Gigabit Ethernet===&lt;br /&gt;
In order to utilize the X-series USRP over dual 10 Gigabit Ethernet interfaces, ensure either the XG image is installed ([http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_load_fpga_imgs_fpga_flavours see FPGA Image Flavors]). In addition to burning the prerequisite FPGA image, it may also be necessary to tune the network interface card (NIC) to eliminate drops (Ds) and reduce overflows (Os). This is done by increasing the number of RX descriptors ([http://files.ettus.com/manual/page_transport.html#transport_udp_linux see Linux specific notes]).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;benchmark_rate&amp;lt;/code&amp;gt; tool can be used to test this capability. Run the following commands to test the X-series USRP over both 10 Gigabit Ethernet interfaces with the maximum rate of 200 Msps per channel:&lt;br /&gt;
&lt;br /&gt;
    cd &amp;lt;install-path&amp;gt;/lib/uhd/examples&lt;br /&gt;
    ./benchmark_rate --args=&amp;quot;type=x300,addr=&amp;lt;Primary IP&amp;gt;,second_addr=&amp;lt;secondary IP&amp;gt;&amp;quot; --channels=&amp;quot;0,1&amp;quot; --rx_rate 200e6&lt;br /&gt;
&lt;br /&gt;
The second interface is specified by the extra argument '''second_addr'''.&lt;br /&gt;
&lt;br /&gt;
'''Recommended 10 Gigabit Ethernet Cards'''&lt;br /&gt;
* Intel X520-DA2 - Previous generation PCIe Gen 2 adapter. Mature and stable 10GbE adapter, works out-of-the-box with Ubuntu 14.04 LTS and 16.04 LTS&lt;br /&gt;
** [http://ark.intel.com/products/39776/Intel-Ethernet-Converged-Network-Adapter-X520-DA2 Intel® Ethernet Converged Network Adapter X520-DA2]&lt;br /&gt;
* Intel X520-DA1 - Previous generation PCIe Gen 2 adapter  Mature and stable 10GbE adapter, works out-of-the-box with Ubuntu 14.04 LTS and 16.04 LTS&lt;br /&gt;
** [http://ark.intel.com/products/68669/Intel-Ethernet-Converged-Network-Adapter-X520-DA1 Intel® Ethernet Converged Network Adapter X520-DA1 ]&lt;br /&gt;
* Intel X710-DA2 - New PCIe Gen 3 adapter&lt;br /&gt;
** [http://ark.intel.com/products/83964/Intel-Ethernet-Converged-Network-Adapter-X710-DA2 Intel® Ethernet Converged Network Adapter X710-DA2 ]&lt;br /&gt;
* Intel X710-DA4 - New PCIe Gen 3 adapter&lt;br /&gt;
** [http://ark.intel.com/products/83965/Intel-Ethernet-Converged-Network-Adapter-X710-DA4 Intel® Ethernet Converged Network Adapter X710-DA4 ]&lt;br /&gt;
&lt;br /&gt;
'''Additional Links and Resources for Intel 10GbE adapters'''&lt;br /&gt;
* [http://ark.intel.com/compare/39776,83964,83965 Compare Intel® Products]&lt;br /&gt;
&lt;br /&gt;
==International Power Supply Options==&lt;br /&gt;
The power supply provided with the USRP X300/X310 kit is packaged with a power cord that is compatible with power outlets in the US/Japan.  If you are not using the USRP X300/X310 in the US/Japan, we recommend purchasing the International USRP X300/X310 Power Cord set.  &lt;br /&gt;
&lt;br /&gt;
==Option: GPS Disciplined, Oven-Controlled Oscillator (GPSDO)==&lt;br /&gt;
The USRP X300 and USRP X310 provide the option to integrate a high-accuracy GPS-disciplined oscillator (GPSDO).  The GPSDO improves the accuracy of the internal frequency reference to 20 ppb, or 0.1 ppb if the GPS is synchronized to the GPS constellation.  When synchronized to the GPS constellation, all USRP ™ devices will also be synchronized in time within 50 ns.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: auto;&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
!Internal TCXO&lt;br /&gt;
!GPS-Disciplined Clock&lt;br /&gt;
|-&lt;br /&gt;
|Frequency Reference&lt;br /&gt;
|TCXO&lt;br /&gt;
|OCXO&lt;br /&gt;
|-&lt;br /&gt;
|Frequency Accuracy&lt;br /&gt;
|± 2.5ppm&lt;br /&gt;
± 2,500 Hz @ 1 GHz&lt;br /&gt;
|± 20 ppb&lt;br /&gt;
± 20 Hz @ 1 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Frequency Accuracy&lt;br /&gt;
|&lt;br /&gt;
|± 0.01ppb&lt;br /&gt;
|-&lt;br /&gt;
|(GPS-Disciplined)&lt;br /&gt;
|&lt;br /&gt;
|~ ± 0.01 Hz @ 1 GHz&lt;br /&gt;
|-&lt;br /&gt;
|GPS Time Sync Accuracy&lt;br /&gt;
|&lt;br /&gt;
|±50ns to UTC Time**&lt;br /&gt;
|-&lt;br /&gt;
|10 MHz Reference Phase Drift with GPS Sync&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;±20ns After 1 Hour**&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Option: Antenna Kit for GPSDO==&lt;br /&gt;
The GPSDO Mini Kit will improve the accuracy of the USRP reference clock, even if it does not receive signals from the GPS Constellation.  However, to achieve the best accuracy possible, and to achieve global timing alignment across multiple USRPs, Ettus Research recommends the GPSDO Mini Antenna Kit.&lt;br /&gt;
&lt;br /&gt;
==Option: General Purpose Input/Output (GPIO) Kit==&lt;br /&gt;
The USRP X300 and X310 include a DB15 connector on the front panel that provides convenient access to GPIO signals.  Each pin can be configured as an input or output, uses 3.3V-level logic, and is protected with basic anti-static circuitry.  These pins can be used to control external devices like RF switches and amplifiers, trigger software events on the host, or even provide basic debugging functionality.  The USRP GPIO Kit is an affordable option that provides access to these signals with a DB15 cable and a breakout board.  The breakout board allows the user to connect external devices through a terminal block.  The user can also solder wires and components into the dedicated prototyping area.&lt;br /&gt;
&lt;br /&gt;
==Option: Cables for MIMO Expansion==&lt;br /&gt;
Multiple USRP X300/X310s can be synchronized for coherent operation by sharing a common 10 MHz and 1 PPS signal.  We recommend using a star-distribution topology with an OctoClock or OctoClock-G, as seen in Figure 4.  This requires matched length cables to be used for both 10 MHz and 1 PPS.&lt;br /&gt;
&lt;br /&gt;
For more information about MIMO operation, please see the MIMO and Synchronization Application Note.&lt;br /&gt;
[[File:8mimo.png|700px|center]]&lt;br /&gt;
&amp;lt;center&amp;gt;Figure 4 - Star-Distribution of 10 MHz/PPS Signals with OctoClock&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Option: USRP X300/X310 Rackmount==&lt;br /&gt;
The USRP X300/X310 was designed to use a convenient half-wide 1U rack-mount form factor.  This allows developers to build high-density MIMO systems in a neat and well organized setup.  If the user will be developing in a lab environment, or building a high-channel count system, the 1U Rackmount Assembly is recommended.  However, if the user plans to work with the USRP X300/X310 on a desk, the rackmount is not required.  Rubber standoffs are mounted on the USRP X300/X310 to avoid direct contact and surface scratching.&lt;br /&gt;
&lt;br /&gt;
==Guidance on SFP+ Adapters for Fiber Connectivity on USRP X300/X310==&lt;br /&gt;
&lt;br /&gt;
Ettus Research currently offers direct-connect, copper cabling accessories for the USRP X300 and USRP X310. However, it is also possible to use multi-mode fiber instead of copper connections for these devices. In this document, we will provide general guidance on the types of fiber adapters and cables that can be used with these products.&lt;br /&gt;
General Guidance on SFP+ Adapters&lt;br /&gt;
&lt;br /&gt;
The USRP X Series is compatible with most brands of SFP+ fiber adapters. In some cases, other equipment in the systems such as 1/10 Gigabith Ethernet switches are only compatible with specific brands of SFP+ adapters and cables. As a general rule, we recommend checking compatibility with the switches and network cards in your system before purchasing an adapter.&lt;br /&gt;
&lt;br /&gt;
Ettus Research does test the USRP X Series devices with our [https://www.ettus.com/product/details/10GIGE-KIT 10 Gigabit Ethernet Connectivity Kit] and a Blade Networks G8124 1/10 GigE switch. Here are is a list of known-good cables and adapters.&lt;br /&gt;
&lt;br /&gt;
Ettus Research has only tested multi-mode fiber accessories.&lt;br /&gt;
&lt;br /&gt;
===Known-Good Adapters===&lt;br /&gt;
* [http://approvedoptics.com/blade-networks-bn-ckm-sp-sr/ Approved Optics BN-CKM-SP-SR-A]&lt;br /&gt;
&lt;br /&gt;
===Known-Good Cables===&lt;br /&gt;
* [http://www.colfaxdirect.com/store/pc/viewPrd.asp?idproduct=1696 Elpeus 10GbE SFP+ AOC Cable, 3 meters]&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
USRP™ X300 and USRP™ X310 SDRs Frequently Asked Questions&lt;br /&gt;
&lt;br /&gt;
* '''What is the bandwidth of the USRP X300/X310'''&lt;br /&gt;
&lt;br /&gt;
The ADC rate on each analog RX channel is 200 MS/s quadrature, which provides a theoretical analog bandwidth of approximately 80% of the Nyquist bandwidth of +/- 100 MHz (+/- 80 MHz around the center frequency).  The resulting maximum theoretical analog bandwidth is 160 MHz.  The actual analog bandwidth may be reduced due the RF daughterboard selected.&lt;br /&gt;
&lt;br /&gt;
RF Daughterboard Bandwidths: See the daughterboard specifications [link]&lt;br /&gt;
&lt;br /&gt;
FPGA Processing Bandwidth: Up to 200 MS/s quadrature.&lt;br /&gt;
&lt;br /&gt;
Host Bandwidth:  Up to 200 MS/s quadrature, dependent on selected interface&lt;br /&gt;
&lt;br /&gt;
For more information about achieving the maximum bandwidth with a USRP X300/X310, please see the &amp;quot;USRP X300/X310 Configuration Guide&amp;quot; or the &amp;quot;USRP System Bandwidth&amp;quot; application note.&lt;br /&gt;
&lt;br /&gt;
* '''How can I program the USRP X300/X310'''&lt;br /&gt;
&lt;br /&gt;
Like all other USRP models, the USRP X300 and X310 are compatible with the USRP Hardware Driver™ (UHD) architecture.  The UHD architecture is a common driver that allows users to develop and execute applications on a host-PC.  UHD provides a direct C++ API to control and stream to/from the USRP  X300/X310.  It also provides compatibility with a variety of third-party software frameworks including GNU Radio, LabVIEW, and Matlab.  You may also customize the FPGA image provided with UHD to integrate your own signal processing. For more information about UHD, and supported software frameworks, please see:&lt;br /&gt;
&lt;br /&gt;
http://files.ettus.com/manual/&lt;br /&gt;
&lt;br /&gt;
* '''How do I update the FPGA images and firmware with the latest from UHD'''&lt;br /&gt;
&lt;br /&gt;
You can find more information about updating the FPGA image through PCIe, 1/10 GigE, and JTAG here.&lt;br /&gt;
&lt;br /&gt;
* '''How can I modify the FPGA of the USRP X300/X310'''&lt;br /&gt;
&lt;br /&gt;
The source code (Verilog) for the USRP X300/X310 is available in the UHD repository.  The USRP X300/X310 requires ISE 14.4 or newer.  The build process leverages the existing CMAKE build system used to compile the host-side driver.  A Linux-based setup will provide the best results.&lt;br /&gt;
&lt;br /&gt;
* '''How much free space is available in the USRP X300/X310 FPGA'''&lt;br /&gt;
&lt;br /&gt;
Please see the USRP X300/X310 FPGA resources page for more information.&lt;br /&gt;
&lt;br /&gt;
* '''What type of PC setup is recommended for use with the USRP X300/X310'''&lt;br /&gt;
&lt;br /&gt;
The type of PC required depends heavily on the complexity and bandwidth of the application.  To demonstrate the USRP X300/X310, we typically use a desktop computer with a quadcore i7, 8+ GB of DDR3, and install the PCIe interface card that is also provide with the 10 GigE, PCIe, and ExpressCard interface kits.&lt;br /&gt;
&lt;br /&gt;
* '''What frequency range does the USRP X300/X310 cover'''&lt;br /&gt;
&lt;br /&gt;
The frequency range depends on the daughterboard select by the users.  For more information, please see the USRP X300/X310 Configuration Guide.&lt;br /&gt;
&lt;br /&gt;
* '''What components do I need to purchase for a complete USRP X300/X310 system'''&lt;br /&gt;
&lt;br /&gt;
For a more comprehensive guide, please see the USRP X300/X310 Configuration Guide.&lt;br /&gt;
&lt;br /&gt;
* '''What is the difference between the USRP X300/X310'''&lt;br /&gt;
&lt;br /&gt;
The USRP X310 includes a larger Kintex-7 series FPGA (XC7K410T) with additional development resources for more complex designs.  The USRP X300 includes the smaller XC7K325T FPGA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware Resources]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=About_the_Motherboard_and_Daughtercard_EEPROM_on_USRP_Devices&amp;diff=3424</id>
		<title>About the Motherboard and Daughtercard EEPROM on USRP Devices</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=About_the_Motherboard_and_Daughtercard_EEPROM_on_USRP_Devices&amp;diff=3424"/>
				<updated>2017-03-29T00:31:03Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: /* Daughtercard IDs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-309 '''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-05-16  &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Trip Humphries&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=USRP EEPROM Settings &amp;amp; Recovery Guide=&lt;br /&gt;
&lt;br /&gt;
Some USRP products contain an EEPROM on the motherboard which is used to store information about the USRP. Currently, the N200/210, X300/310, B200/210, and E100 contain an on-board EEPROM. The EEPROM contains information about each USRP such as product code, revision number, USRP name, and IP address. The specific information stores on each USRP EEPROM is dependent on the USRP model.&lt;br /&gt;
&lt;br /&gt;
Daughter boards also contain an EEPROM that contains identification information about the daughter board. UHD reads the daughter board ID to determine the model and revision (if applicable) of the daughter board. This information is used to properly configure the USRP and daughter board for proper function.&lt;br /&gt;
&lt;br /&gt;
==EEPROM Burn Utility==&lt;br /&gt;
&lt;br /&gt;
'''Disclaimer: Ettus Research accepts no liability for misuse of this utility. It can very easily cause irreversible damage if used incorrectly! Please contact Ettus support at [mailto:support@ettus.com support@ettus.com] if you are unsure how to proceed.'''&lt;br /&gt;
&lt;br /&gt;
A utility, usrp_burn_mb_eeprom, is included with UHD to read/write values on the various motherboards that contain an EEPROM. The utility is located in the UHD install directory. The default folder is:&lt;br /&gt;
&lt;br /&gt;
 /usr/local/lib/uhd/utils/&lt;br /&gt;
&lt;br /&gt;
The utility can be used with the USRP X300/310, N200/210, B200/210, and E100. In some cases, it is necessary to use the utility to write custom user settings to the USRP, such as USRP name or IP address. In other cases, some EEPROM settings set by the factory may become corrupted and need to be restored. This section will cover basic usage of the usrp_burn_mb_eeprom utility, with USRP specific instructions covered in the sections below.&lt;br /&gt;
&lt;br /&gt;
EEPROM settings can be read using the usrp_burn_mb_eeprom utility. All the EEPROM settings can be read at once using the 'read all' option:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;lt;optional device args&amp;gt; --read-all&lt;br /&gt;
&lt;br /&gt;
This will return the current contents in the EEPROM for the specified USRP. For example, if you want to read all the EEPROM contents for a USRP B210, the command would look like:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --read-all &lt;br /&gt;
&lt;br /&gt;
The EEPROM settings vary based on the specific USRP in use. The following sections document the EEPROM settings available for each USRP. Examples for each USRP with an EEPROM are also given.&lt;br /&gt;
&lt;br /&gt;
=X300/310 EEPROM=&lt;br /&gt;
The EEPROM on the X300/310 stores useful information about the USRP so that UHD can set the proper settings based on model and revision. Some of these settings are user customizable. The table below outlines the values stored in the X300/310 EEPROM. Any entry that is designated &amp;quot;User Customizable?=No&amp;quot; can cause irreversible damage to the USRP and should only be altered by proper guidance from Ettus Support. For example, certain settings in the EEPROM could become corrupted and can be restored with the proper commands.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''X300/310 EEPROM Setting:'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Hardware Number&lt;br /&gt;
|-&lt;br /&gt;
|revision_compat&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|serial&lt;br /&gt;
|No&lt;br /&gt;
|Unique USRP Serial Number&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr0&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address (Port 0)&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr1&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address (Port 1)&lt;br /&gt;
|-&lt;br /&gt;
|gateway&lt;br /&gt;
|Yes&lt;br /&gt;
|Network Gateway&lt;br /&gt;
|-&lt;br /&gt;
|subnet0&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet1&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet2&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet3&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr0&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr1&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr2&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr3&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|name&lt;br /&gt;
|Yes&lt;br /&gt;
|Custom USRP Name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
As an example, the EEPROM settings of an X310 with IP address 192.168.10.2 could be read-back with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;addr=192.168.10.2,type=x300&amp;quot; --read-all&lt;br /&gt;
&lt;br /&gt;
and the output would look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;revision_compat&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;mac-addr0&amp;quot;] is &amp;quot;xx:xx:xx:xx:xx:xx&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;mac-addr1&amp;quot;] is &amp;quot;xx:xx:xx:xx:xx:xx&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;gateway&amp;quot;] is &amp;quot;192.168.10.1&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr0&amp;quot;] is &amp;quot;192.168.10.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet0&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr1&amp;quot;] is &amp;quot;192.168.20.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet1&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr2&amp;quot;] is &amp;quot;192.168.10.3&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet2&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr3&amp;quot;] is &amp;quot;192.168.40.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet3&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AF217&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Determining X300/X310 Revision Number==&lt;br /&gt;
It is useful in many cases to determine the revision number of your X300/X310. A part number sticker is located on the X300/310 motherboard. This sticker is located near the AUX-I/O connector and has the format 123456\&amp;lt;R&amp;gt;-\&amp;lt;XXX&amp;gt; where \&amp;lt;R&amp;gt; is a letter code that corresponds to the revision number. The photograph below highlights the location of the sticker:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:an-309-x3x0-rev-id.png|thumb|500px|center|The USRP X300/310 motherboard has a sticker that identifies the product and revision. The sticker is outlined in red.]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the letter code has been determined use the table below to map the letter code to a revision number:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Letter'''&lt;br /&gt;
|'''Revision #'''&lt;br /&gt;
|-&lt;br /&gt;
|C&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|D&lt;br /&gt;
|4&lt;br /&gt;
|-&lt;br /&gt;
|E&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|F&lt;br /&gt;
|6&lt;br /&gt;
|-&lt;br /&gt;
|G&lt;br /&gt;
|7&lt;br /&gt;
|-&lt;br /&gt;
|H&lt;br /&gt;
|8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Restore X300/310 EEPROM Revision Code==&lt;br /&gt;
&lt;br /&gt;
A corrupted or missing revision code in the X300/310 EEPROM will be indicated by a UHD runtime error:&lt;br /&gt;
&lt;br /&gt;
 Error: RuntimeError: No revision compat detected. MB EEPROM must be reprogrammed!&lt;br /&gt;
&lt;br /&gt;
If this problem is encountered, the usrp_burn_mb_eeprom utility can be used to restore the X300/310 revision code in the EEPROM. First, the X300/X310 revision number must be determined. Once the revision number for your X300/310 is known, the usrp_burn_mb_eeprom utility can be used to restore the revision code to the EEPROM. The syntax is as follows:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom&amp;quot; --values=&amp;quot;revision=&amp;lt;#&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;#&amp;gt; is the revision number of your X300/310 to be written to the EEPROM. For example, to restore the revision number in EEPROM for a Rev. 6 X300 with an IP address of 192.168.10.2, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom,addr=192.168.10.2&amp;quot; --values=&amp;quot;revision=6&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the utility has been run, power cycle the USRP and then run uhd_usrp_probe to ensure that the new revision number has been written to the EEPROM correctly. If you are unsure of how to accomplish these steps, please feel free to contact Ettus Support at [mailto:support@ettus.com support@ettus.com].&lt;br /&gt;
&lt;br /&gt;
==Restore X300/310 EEPROM Product Code==&lt;br /&gt;
&lt;br /&gt;
A corrupted product code in the X300/310 EEPROM will be indicated by a UHD warning:&lt;br /&gt;
&lt;br /&gt;
 UHD Warning: X300/X310 unknown product code in EEPROM: &amp;lt;###&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;###&amp;gt; is some numbered code that is unknown by UHD. If this problem is encountered, the usrp_burn_mb_eeprom utility can be used to write a new product code to the EEPROM. First, the X300/X310 revision number must be determined. Once the revision number has been determined, refer to the table below to find the product code for the X300/310:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''Rev. 0-6'''&lt;br /&gt;
|'''Rev. 7-8'''&lt;br /&gt;
|-&lt;br /&gt;
|X300&lt;br /&gt;
|30518 (0x7736)&lt;br /&gt;
|30817 (0x7861)&lt;br /&gt;
|-&lt;br /&gt;
|X310&lt;br /&gt;
|30410 (0x76CA)&lt;br /&gt;
|30818 (0x7862)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once the correct product code has been determined base on the X3x0 model and revision, the usrp_burn_mb_eeprom utility can be used to write the correct product code to the EEPROM. They syntax is as follows:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom&amp;quot; --values=&amp;quot;product=&amp;lt;###&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;###&amp;gt; is the product code to be written to the EEPROM. For example, on a Rev. 7 X300 with an IP address of 191.168.10.2, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom,addr=192.168.10.2&amp;quot; --values=&amp;quot;product=30817&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the utility has been run, power cycle the USRP and then run uhd_usrp_probe to ensure that the new revision number has been written to the EEPROM correctly. If you are unsure of how to accomplish these steps, please feel free to contact Ettus Support at [mailto:support@ettus.com support@ettus.com].&lt;br /&gt;
&lt;br /&gt;
==National Instruments USRP RIO==&lt;br /&gt;
&lt;br /&gt;
The National Instruments branded X300/310 have unique product codes to identify the motherboard revision as well as the daughter-cards in the USRP. The product codes are listed below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Model (DB, BW, Rev.)'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772B&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7853&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FB&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785B&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772C&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7854&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FC&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785C&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772D&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7855&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FD&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785D&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2944R (UBX, 160 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x772E&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2944R (UBX, 160 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x7856&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x772F&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7857&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x77FE&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 120 MHz BW, Rev. 7+   &lt;br /&gt;
|0x785E&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x7730&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7858&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x77FF&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 120 MHz BW, Rev. 7+   &lt;br /&gt;
|0x785F&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x7731&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7859&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x7800&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 120 MHz BW, Rev. 7+)  &lt;br /&gt;
|0x7860&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2954R (GPS, UBX, 160 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x7732&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2954R (GPS, UBX, 160 MHz BW, Rev. 7+)  &lt;br /&gt;
|0x785A&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=N200/210 EEPROM=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''N200/210 EEPROM Setting'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|hardware&lt;br /&gt;
|No&lt;br /&gt;
|Hardware Number&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|subnet&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnetwork&lt;br /&gt;
|-&lt;br /&gt;
|gateway&lt;br /&gt;
|Yes&lt;br /&gt;
|Network Gateway&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The N200/210 do not store the product codes in the motherboard EEPROM. The &amp;quot;hardware&amp;quot; field is programmed at the factory but is not referenced by UHD. Instead, the revision field is used to determine the N200/210 hardware in use. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''Motherboard Product ID'''&lt;br /&gt;
|-&lt;br /&gt;
|N200&lt;br /&gt;
|0x0A00&lt;br /&gt;
|-&lt;br /&gt;
|N210&lt;br /&gt;
|0x0A01&lt;br /&gt;
|-&lt;br /&gt;
|N200 - R4&lt;br /&gt;
|0x0A10&lt;br /&gt;
|-&lt;br /&gt;
|N210 - R4&lt;br /&gt;
|0x0A11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=B200/210 and B200mini EEPROM=&lt;br /&gt;
&lt;br /&gt;
The USRP B200 and B210 EEPROM is used to store certain information about each board. The USB PID (Product ID) and VID (Vendor ID) are stored in the EEPROM as well as serial number, product code, hardware revision, and USRP name for each B200/210. A table of these settings and whether or not the setting is user customizable is given below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''B200/210 EEPROM Setting'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|serial&lt;br /&gt;
|No&lt;br /&gt;
|Unique Serial Number&lt;br /&gt;
|-&lt;br /&gt;
|name&lt;br /&gt;
|Yes&lt;br /&gt;
|Custom USRP Name&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To read the current EEPROM values from the USRP, use the usrp_burn_mb_eeprom utility:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --read-all&lt;br /&gt;
&lt;br /&gt;
This will read the settings and print them to the terminal. A sample output is shown below for a USRP B210:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;MyB210&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If desired, a B200/210 could be given a custom name with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --values=&amp;quot;name=Lab_B210&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the command has been run, the device must be power-cycled for the new EEPROM setting to take effect. Reading the updated EEPROM values yields:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;Lab_B210&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==USB VID/PID==&lt;br /&gt;
&lt;br /&gt;
The USB vendor identification (VID) and product identification (PID) numbers can be written to the USRP B200/210 using the &amp;quot;b2xx_fx3_utils&amp;quot; utility that is included with UHD. To reset the VID and PID, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./b2xx_fx3_utils --init-device --write-vid 0x2500 --write-pid -0x0020&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''USB PID'''&lt;br /&gt;
|-&lt;br /&gt;
|B200&lt;br /&gt;
|0x0020&lt;br /&gt;
|-&lt;br /&gt;
|B210&lt;br /&gt;
|0x0020&lt;br /&gt;
|-&lt;br /&gt;
|B200 (NI)&lt;br /&gt;
|0x7813&lt;br /&gt;
|-&lt;br /&gt;
|B210 (NI)&lt;br /&gt;
|0x7814&lt;br /&gt;
|-&lt;br /&gt;
|B200mini&lt;br /&gt;
|0x0021&lt;br /&gt;
|-&lt;br /&gt;
|B205mini&lt;br /&gt;
|0x0022&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The VID is the same for all B2x0 variants, 0x2500.&lt;br /&gt;
&lt;br /&gt;
=Daughtercard IDs=&lt;br /&gt;
&lt;br /&gt;
Below is a comprehensive list of the daughtercard hex ID's.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Name'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|Basic Tx		    &lt;br /&gt;
| 0x0000&lt;br /&gt;
|-&lt;br /&gt;
|Basic Rx   		    &lt;br /&gt;
| 0x0001&lt;br /&gt;
|-&lt;br /&gt;
|DBS Rx      		&lt;br /&gt;
| 0x0002&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx       		&lt;br /&gt;
| 0x0003&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx			&lt;br /&gt;
| 0x0004&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx			&lt;br /&gt;
| 0x0005&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx		&lt;br /&gt;
| 0x0006&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx		&lt;br /&gt;
| 0x0007&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx			&lt;br /&gt;
| 0x0008&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx			&lt;br /&gt;
| 0x0009&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx		&lt;br /&gt;
| 0x000a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx		&lt;br /&gt;
| 0x000b&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 2			&lt;br /&gt;
| 0x000c&lt;br /&gt;
|-&lt;br /&gt;
|DBS Rx ClkMod		&lt;br /&gt;
| 0x000d&lt;br /&gt;
|-&lt;br /&gt;
|LF Tx				&lt;br /&gt;
| 0x000e&lt;br /&gt;
|-&lt;br /&gt;
|LF Rx				&lt;br /&gt;
| 0x000f&lt;br /&gt;
|-&lt;br /&gt;
|DBSRX2				&lt;br /&gt;
| 0x012&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx MIMO A	&lt;br /&gt;
| 0x0014&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx MIMO A	&lt;br /&gt;
| 0x0015&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx MIMO A &lt;br /&gt;
| 0x0016&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx MIMO A &lt;br /&gt;
| 0x0017&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx MIMO A  &lt;br /&gt;
| 0x0018&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx MIMO A	&lt;br /&gt;
| 0x0019&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx MIMO A &lt;br /&gt;
| 0x001a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx MIMO A &lt;br /&gt;
| 0x001b&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx MIMO B	&lt;br /&gt;
| 0x0024&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx MIMO B  &lt;br /&gt;
| 0x0025&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx MIMO B &lt;br /&gt;
| 0x0026&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx MIMO B &lt;br /&gt;
| 0x0027&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx MIMO B	&lt;br /&gt;
| 0x0028&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx MIMO B	&lt;br /&gt;
| 0x0029&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx MIMO B	&lt;br /&gt;
| 0x002a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx MIMO B &lt;br /&gt;
| 0x002b&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2200 Rx MIMO B &lt;br /&gt;
| 0x002c&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2200 Tx MIMO B	&lt;br /&gt;
| 0x002d&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx		&lt;br /&gt;
| 0x0030&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx		&lt;br /&gt;
| 0x0031&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx MIMO A	&lt;br /&gt;
| 0x0032&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx MIMO A	&lt;br /&gt;
| 0x0033&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx MIMO B &lt;br /&gt;
| 0x0034&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx MIMO B &lt;br /&gt;
| 0x0035&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 3			&lt;br /&gt;
| 0x0040&lt;br /&gt;
|-&lt;br /&gt;
|DTT754				&lt;br /&gt;
| 0x0041&lt;br /&gt;
|-&lt;br /&gt;
|DTT768				&lt;br /&gt;
| 0x0042&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx MIMO			&lt;br /&gt;
| 0x0043&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 2 MIMO	&lt;br /&gt;
| 0x0044&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 3 MIMO	&lt;br /&gt;
| 0x0045&lt;br /&gt;
|-&lt;br /&gt;
|TVRX2				&lt;br /&gt;
| 0x0046&lt;br /&gt;
|-&lt;br /&gt;
|WCDMA US			&lt;br /&gt;
| 0x004d&lt;br /&gt;
|-&lt;br /&gt;
|WCDMA EU			&lt;br /&gt;
| 0x004e&lt;br /&gt;
|-&lt;br /&gt;
|SIMPLE GDB			&lt;br /&gt;
| 0x004f&lt;br /&gt;
|-&lt;br /&gt;
|WBX LO TX			&lt;br /&gt;
| 0x0050&lt;br /&gt;
|-&lt;br /&gt;
|WBX LO RX			&lt;br /&gt;
| 0x0051&lt;br /&gt;
|-&lt;br /&gt;
|WBX NG TX			&lt;br /&gt;
| 0x0052&lt;br /&gt;
|-&lt;br /&gt;
|WBX NG RX			&lt;br /&gt;
| 0x0053&lt;br /&gt;
|-&lt;br /&gt;
|SBX v3 RX			&lt;br /&gt;
| 0x0054&lt;br /&gt;
|-&lt;br /&gt;
|SBX v3 TX			&lt;br /&gt;
| 0x0055&lt;br /&gt;
|-&lt;br /&gt;
|WBX v3 TX			&lt;br /&gt;
| 0x0056&lt;br /&gt;
|-&lt;br /&gt;
|WBX v3 RX			&lt;br /&gt;
| 0x0057&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 - No Div	&lt;br /&gt;
| 0x0059&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 TX			&lt;br /&gt;
| 0x0060&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 RX			&lt;br /&gt;
| 0x0061&lt;br /&gt;
|-&lt;br /&gt;
|WBX v4 TX			&lt;br /&gt;
| 0x0062&lt;br /&gt;
|-&lt;br /&gt;
|WBX v4 RX			&lt;br /&gt;
| 0x0063&lt;br /&gt;
|-&lt;br /&gt;
|SBX v4 TX			&lt;br /&gt;
| 0x0064&lt;br /&gt;
|-&lt;br /&gt;
|SBX v4 RX			&lt;br /&gt;
| 0x0065&lt;br /&gt;
|-&lt;br /&gt;
|CBX v1 TX			&lt;br /&gt;
| 0x0066&lt;br /&gt;
|-&lt;br /&gt;
|CBX v1 RX			&lt;br /&gt;
| 0x0067&lt;br /&gt;
|-&lt;br /&gt;
|SBX v5 TX			&lt;br /&gt;
| 0x0068&lt;br /&gt;
|-&lt;br /&gt;
|SBX v5 RX			&lt;br /&gt;
| 0x0069&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v3 TX	&lt;br /&gt;
| 0x0073&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v3 RX &lt;br /&gt;
| 0x0074&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v4 TX &lt;br /&gt;
| 0x0075&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v4 RX &lt;br /&gt;
| 0x0076&lt;br /&gt;
|-&lt;br /&gt;
|UBX v1 TX			&lt;br /&gt;
| 0x0077&lt;br /&gt;
|-&lt;br /&gt;
|UBX v1 RX			&lt;br /&gt;
| 0x0078&lt;br /&gt;
|-&lt;br /&gt;
|UBX-160 v1 TX		&lt;br /&gt;
| 0x0079&lt;br /&gt;
|-&lt;br /&gt;
|UBX-160 v1 RX		&lt;br /&gt;
| 0x007a&lt;br /&gt;
|-&lt;br /&gt;
|Bitshark RX			&lt;br /&gt;
| 0x0070&lt;br /&gt;
|-&lt;br /&gt;
|B150 v1 TX			&lt;br /&gt;
| 0x0071&lt;br /&gt;
|-&lt;br /&gt;
|B150 v1 RX			&lt;br /&gt;
| 0x0072&lt;br /&gt;
|-&lt;br /&gt;
|WBX-120 v1 TX		&lt;br /&gt;
| 0x0080&lt;br /&gt;
|-&lt;br /&gt;
|WBX-120 v1 RX		&lt;br /&gt;
| 0x0081&lt;br /&gt;
|-&lt;br /&gt;
|SBX-120 v1 TX		&lt;br /&gt;
| 0x0082&lt;br /&gt;
|-&lt;br /&gt;
|SBX-120 v1 RX		&lt;br /&gt;
| 0x0083&lt;br /&gt;
|-&lt;br /&gt;
|CBX-120 v1 TX		&lt;br /&gt;
| 0x0084&lt;br /&gt;
|-&lt;br /&gt;
|CBX-120 v1 RX		&lt;br /&gt;
| 0x0085&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.0 TX		&lt;br /&gt;
| 0x0090&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.0 RX 		&lt;br /&gt;
| 0x0091&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.1 TX		&lt;br /&gt;
| 0x0092&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.1 RX 		&lt;br /&gt;
| 0x0093&lt;br /&gt;
|-&lt;br /&gt;
|Reserved&lt;br /&gt;
| 0x0094&lt;br /&gt;
|-&lt;br /&gt;
|Reserved&lt;br /&gt;
| 0x0095&lt;br /&gt;
|-&lt;br /&gt;
|E300 AD3964 DB RevB	&lt;br /&gt;
| 0x0100&lt;br /&gt;
|-&lt;br /&gt;
|E310 AD9361 DB RevB	&lt;br /&gt;
| 0x0110&lt;br /&gt;
|-&lt;br /&gt;
|E300 AD9364 DB RevC	&lt;br /&gt;
| 0x0101&lt;br /&gt;
|-&lt;br /&gt;
|E310 AD9361 DB RevC	&lt;br /&gt;
| 0x0111&lt;br /&gt;
|-&lt;br /&gt;
|Unknown Tx			&lt;br /&gt;
| 0xfff0&lt;br /&gt;
|-&lt;br /&gt;
|Unknown Rx			&lt;br /&gt;
| 0xfff1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Motherboard IDs=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Name'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|B200&lt;br /&gt;
|0x7737&lt;br /&gt;
|-&lt;br /&gt;
|B210&lt;br /&gt;
|0x7738&lt;br /&gt;
|-&lt;br /&gt;
|B200mini&lt;br /&gt;
|0x7739&lt;br /&gt;
|-&lt;br /&gt;
|B205mini&lt;br /&gt;
|0x773a&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Application Notes]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=Experiments_with_the_UBX_Daughterboard_in_the_HF_Band&amp;diff=3379</id>
		<title>Experiments with the UBX Daughterboard in the HF Band</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=Experiments_with_the_UBX_Daughterboard_in_the_HF_Band&amp;diff=3379"/>
				<updated>2017-02-18T02:23:54Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: /* The 10MHz limit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-322'''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-05-01   &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Marcus Leech&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
We show the results of experiments with the UBX daughtercard on an X310 platform for use in the HF frequency range, from 1.8MHz to 30MHz. While the UBX is nominally rated for use only down to 10MHz, with careful flow-graph design, and pre-filtering, it provides quite-good performance across the HF bands.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
The UBX card from Ettus Research is a new broad-coverage, high-dynamic-range, transceiver daughter-card that is compatible with both the new X310 platform, and the N210/N200 platform. The UBX analog converter can be tuned from 10MHz to 6GHz.&lt;br /&gt;
&lt;br /&gt;
The is considerable interest in the receive coverage of Ettus products in the HF bands, notionally from roughly 1.8MHz to 30MHz. The HF bands contain a lot of very diverse radio services, including broadcasting, amateur-radio, scientific services, beacons, broadcast time services, ionospheric monitoring and ionospheric radar, etc.&lt;br /&gt;
&lt;br /&gt;
==The 10MHz limit==&lt;br /&gt;
Since the UBX is specified only down to 10MHz, it might seem that reception below 10MHz might not be possible.  However, consider that the 10MHz limit is the limit of the Local Oscillator (LO) in the down-conversion analog chain only.  Since the front-end ADC can usually sample a range of frequencies on either side of the LO, then it should be possible to use the DDC in the USRP DSP engine to bring frequencies of interest, that are either side of the LO, up/down to baseband, for further processing.&lt;br /&gt;
&lt;br /&gt;
In the case of the X310, the (complex) ADC by default samples at 200Msps, so that it can “see” frequencies of LO +/- 100MHz.  Similarly, the N2xx series sample at 100Msps, so they can “see” frequencies at +/- 50MHz from the LO frequency.&lt;br /&gt;
We can take advantage of this, and use the DDC to extract the swath of frequencies we're interested in.&lt;br /&gt;
&lt;br /&gt;
The tune_request functions in UHD (and available in Gnu Radio via gr-uhd) allow one to manipulate the tuning process, which is always a two-stage affair, to allow us to use a fixed LO frequency, and use the DSP to do our “tuning” for us.  In the example that follows, we use:&lt;br /&gt;
&lt;br /&gt;
    uhd.tune_request(freq, 0, dsp_policy=uhd.tune_request.POLICY_MANUAL, dsp_freq=LO-freq, lo_freq_policy=uhd.tune_request.POLICY_MANUAL, lo_freq=LO)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the above, 'freq' is the desired frequency, and 'LO' is the frequency we choose, based on hardware and other considerations to tune the analog hardware to.  In the example, 10MHz was chosen arbitrarily.    The result of the above (Python) expression can simply be passed into the 'frequency' parameter of a UHD source block in a GRC flow-graph.&lt;br /&gt;
&lt;br /&gt;
==Sensitivity==&lt;br /&gt;
The sensitivity of a radio receiver depends on many, many factors, which often means that it's hard to produce a signal measure by which a receiver can be said to be “sensitive” or “not sensitive”.&lt;br /&gt;
&lt;br /&gt;
But a rough estimation that is often used in comparing HF receivers is the so-called Minimum Discernible Signal, or MDS.  MDS tests are usually conducted with narrow-band, single tones, at the desired frequency, with various measurement methods used to detect the desired tone.&lt;br /&gt;
&lt;br /&gt;
In our case, a Marconi 2955B transceiver test-set was used to produce a narrow tone at a level of -115dBm, and then a set of step-attenuators were used. An FFT was taken of the signal, and when the signal descended to a level of only 3dB above the surrounding noise, the signal level was noted. Tests were conducted at various frequencies in the HF bands, with MDS levels noted below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Frequency&lt;br /&gt;
!MDS Level (dBm)&lt;br /&gt;
|-&lt;br /&gt;
| 1.8MHz&lt;br /&gt;
| -120&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 3.5MHz&lt;br /&gt;
| -125&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 5MHz&lt;br /&gt;
| -130&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 10MHz&lt;br /&gt;
| -130&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 15MHz&lt;br /&gt;
| -135&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 25MHz&lt;br /&gt;
| -135&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be seen from the table above that even near the bottom of the HF range, the MDS is perfectly acceptable.&lt;br /&gt;
&lt;br /&gt;
==On-air reception testing==&lt;br /&gt;
The laboratory tests clearly indicated that the UBX had perfectly-acceptable MDS performance for an HF receiver, so tests proceeded to on-air testing.&lt;br /&gt;
&lt;br /&gt;
A random-length dipole was constructed from 14ga wire, about 10m in overall length, a simple choke balun was made from a series of ferrite-clamp chokes around the RG6Q feed-line.  The feed line was augmented first by a FM-band trap (band-stop filter), and then a 3-pole 50MHz low-pass filter. Since the UBX has no filtering of any consequence “up front”, filtering is necessary to provide for better “on air” receive performance.&lt;br /&gt;
&lt;br /&gt;
A quick GRC-based application was constructed to allow reception across HF in various modes, including: USB/LSB, AM-synchronous, and AM-envelope.&lt;br /&gt;
The (busy) flow-graph is shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:HF test rcvr.grc.png|700px|center]]&lt;br /&gt;
&lt;br /&gt;
The .grc source-code for which is available at [[Media:HF test rcvr.grc]].&lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
The flow-graph shown above was used on many occasions to listen to stations all over the HF bands, including broadcasters, ham-radio operators, time-of-day stations, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a screen-shot showing reception of WWV:&lt;br /&gt;
[[File:www 20151109-0015utc.png|700px|center]]&lt;br /&gt;
&amp;lt;center&amp;gt;''The 15MHz WWV carrier is received at approximately 40dB above the notional noise floor, with easily understood audio.''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a reception of radio station WWCR, located in Nashville, TN, broadcasting in the evenings on 6.115MHz:&lt;br /&gt;
&lt;br /&gt;
[[File:wwcr-20151109-0018utc.png|700px|center]]&lt;br /&gt;
&amp;lt;center&amp;gt;''WWCR's carrier can easily be seen in the middle, along with surrounding international SW broadcasters.''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conclusions==&lt;br /&gt;
The UBX card provides more-than-adequate reception performance on the HF bands, provided that filtering is provided up-front, and the DSP tuning functionality is fully-leveraged to allow it to “reach” below the notional 10MHz limit of the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Application Notes]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=Software_Development_on_the_E310_and_E312&amp;diff=3354</id>
		<title>Software Development on the E310 and E312</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=Software_Development_on_the_E310_and_E312&amp;diff=3354"/>
				<updated>2017-01-24T01:52:34Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: Emphasized the dpkg-reconfigure dash choice&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-311'''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-05-24   &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Martin Braun&amp;lt;br&amp;gt; Nicolas Cuervo&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
This application note covers the software development process on the USRP E310 and E312.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
Note: Linux only.&lt;br /&gt;
&lt;br /&gt;
When developing software for the embedded series, the recommended workflow is to set up a cross-compiling environment. Software is *not* compiled on the device, but on a separate machine (a more powerful machine that can compile much faster).&lt;br /&gt;
&lt;br /&gt;
E310/E312 manual page with supplemental info:&lt;br /&gt;
&lt;br /&gt;
[1] http://files.ettus.com/manual/page_usrp_e3x0.html&lt;br /&gt;
&lt;br /&gt;
Also useful:&lt;br /&gt;
&lt;br /&gt;
[2] http://gnuradio.org/redmine/projects/gnuradio/wiki/Embedded&lt;br /&gt;
&lt;br /&gt;
PyBOMBS documentation:&lt;br /&gt;
&lt;br /&gt;
[3] http://gnuradio.org/redmine/projects/pybombs/wiki&lt;br /&gt;
&lt;br /&gt;
[4] https://github.com/gnuradio/pybombs&lt;br /&gt;
&lt;br /&gt;
== QUICKSTART ==&lt;br /&gt;
If you are in a rush to get stuff done, below you can see a sequence of commands that you can follow to have your device ready to go. For a detailed device preparation, please refer to the following sections.&lt;br /&gt;
&lt;br /&gt;
- This Quickstart makes use of PyBOMBS and assumes a fresh device as well as a fresh installation of a linux distribution, and makes a lot of assumptions which are described as comments.&lt;br /&gt;
&lt;br /&gt;
In your development machine (i.e. host - computer) run:&lt;br /&gt;
&lt;br /&gt;
    # Necessary software. Assumes: installation directory at ~/prefix&lt;br /&gt;
    $ sudo apt-get install openssh-server&lt;br /&gt;
    $ sudo restart ssh&lt;br /&gt;
    $ sudo apt-get install screen &lt;br /&gt;
    $ sudo apt-get install python-setuptools python-dev build-essential&lt;br /&gt;
    $ sudo easy_install pip&lt;br /&gt;
    $ sudo pip install git+https://github.com/gnuradio/pybombs.git &lt;br /&gt;
    $ pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git&lt;br /&gt;
    $ pybombs recipes add ettus https://github.com/EttusResearch/ettus-pybombs.git&lt;br /&gt;
    $ sudo dpkg-reconfigure dash # select NO&lt;br /&gt;
    $ pybombs prefix init ~/prefix -R e3xx-rfnoc -a e300&lt;br /&gt;
&lt;br /&gt;
    # Set up your e300 device connection. Connect the e300 using USB to the computer. Also connect the e300 to the computer using the ethernet.  Assumes: USB device connected at /dev/ttyUSB0. Also assumes hostmame of the computer as 'desktop' and username as 'dev'&lt;br /&gt;
    $ sudo screen /dev/ttyUSB0 115200&lt;br /&gt;
    # Login is 'root'. Default password is empty.&lt;br /&gt;
    $ ifconfig eth0 192.168.10.42 netmask 255.255.255.0 up  #This given IP is arbitrary and used along this tutorial.&lt;br /&gt;
    # Open a new shell and run&lt;br /&gt;
    $ ssh root@192.168.10.42  #This should have worked. If not, consult [1]&lt;br /&gt;
    $ ssh dev@desktop         #This should have worked too. This proves the ssh connection needed for sshfs. &lt;br /&gt;
    $ exit&lt;br /&gt;
    $ pwd                     #check where we are. Should be /home/root&lt;br /&gt;
    $ mkdir usr&lt;br /&gt;
    $ sshfs dev@desktop:prefix/ usr/&lt;br /&gt;
    $ which uhd_find_devices  # This should point to the OLD UHD, which we dont want: /usr/bin/uhd_find_devices&lt;br /&gt;
    $ source usr/setup_env.sh&lt;br /&gt;
    $ which uhd_find_devices  # This should prove that you are ready to go! : /home/root/usr/bin/uhd_find_devices&lt;br /&gt;
&lt;br /&gt;
Now you should be able to run examples, or start developing.&lt;br /&gt;
&lt;br /&gt;
== Preparing the device ==&lt;br /&gt;
&lt;br /&gt;
It's best to start from scratch for any kind of embedded development, so the first step is to download the images corresponding to the latest release for the device. For the E310/E312, this means downloading the SD card images from the website: http://files.ettus.com/e3xx_images/ and installing it to the SD card according to the manual ([1] - Upgrading / Writing image to sd card).&lt;br /&gt;
&lt;br /&gt;
Once the latest image is flashed, turn on the device.&lt;br /&gt;
&lt;br /&gt;
=== Network setup ===&lt;br /&gt;
&lt;br /&gt;
For the following tutorial, it is necessary that you can SSH into the embedded device from your development machine and vice versa. For information on how to set up networking on the embedded device, consult the manual ([1] - First boot).&lt;br /&gt;
&lt;br /&gt;
In the following, we will assume that the hostname of the development machine is &amp;lt;code&amp;gt;desktop&amp;lt;/code&amp;gt;, the hostname of the embedded device is &amp;lt;code&amp;gt;e3xx&amp;lt;/code&amp;gt; and the username on the development machine is &amp;lt;code&amp;gt;dev&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
On the development machine you should be able to run the following command:&lt;br /&gt;
&lt;br /&gt;
    $ ssh root@e3xx&lt;br /&gt;
&lt;br /&gt;
And on the embedded device you should be able to run the following command:&lt;br /&gt;
&lt;br /&gt;
    $ ssh dev@desktop&lt;br /&gt;
&lt;br /&gt;
== Preparing the development machine ==&lt;br /&gt;
&lt;br /&gt;
This procedure can be done by using PyBOMBS or manually installing all the elements from source.&lt;br /&gt;
&lt;br /&gt;
=== Preparation using PyBOMBS ===&lt;br /&gt;
&lt;br /&gt;
PyBOMBS (Python Build Overlay Managed Bundle System) has currently a recipe that automates the installation of all the elements necessary to cross-compile for the E3XX. In order to use this method, first download and install PyBOMBS:&lt;br /&gt;
&lt;br /&gt;
    $ sudo pip install git+https://github.com/gnuradio/pybombs.git &lt;br /&gt;
&lt;br /&gt;
NOTE: If you have already PyBOMBS installed, it's better to be sure that you have the latest version. You can update it by running the following command [4]:&lt;br /&gt;
    $ [sudo] pip install [--upgrade] git+https://github.com/gnuradio/pybombs.git&lt;br /&gt;
&lt;br /&gt;
After you have PyBOMBS installed, download and install the necessary recipes to set up the machine:&lt;br /&gt;
&lt;br /&gt;
    $ pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git&lt;br /&gt;
    $ pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git&lt;br /&gt;
    $ pybombs recipes add ettus https://github.com/EttusResearch/ettus-pybombs.git&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ettus&amp;quot; recipe provides the necessary elements for the E3XX, the gr-recipes repository provides all the other packages (GNU Radio, out of tree modules, etc.). More information about the recipes and PyBOMBS in general can be found at the PyBOMBS manual [4].&lt;br /&gt;
&lt;br /&gt;
On some distributions (e.g. Ubuntu), PyBOMBS can run into shell issues. To avoid those problems, it is recommended to run the following command before continuing, and choose &amp;quot;'''no'''&amp;quot; in the prompted dialogue:&lt;br /&gt;
&lt;br /&gt;
    $ sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
Now you can proceed to install the SDK, UHD, GNU Radio and gr-ettus with this simple command:&lt;br /&gt;
&lt;br /&gt;
    $ pybombs prefix init /path/to/prefix -R e3xx-rfnoc [-a alias]&lt;br /&gt;
&lt;br /&gt;
Where &amp;quot;/path/to/prefix&amp;quot; any directory where you want to download and install the whole set of files for the e300 development (for example ~/prefix/ or ~/prefix/e300). Keep in mind that this command will take a while to finish, due to the size and amount of files that need to be downloaded, cloned and installed.&lt;br /&gt;
&lt;br /&gt;
After the installation is finished, proceed to the [[Software_Development_on_the_E310_and_E312#Running the new UHD via sshfs|Running the new UHD via sshfs]] section.&lt;br /&gt;
&lt;br /&gt;
=== Preparation from Source ===&lt;br /&gt;
On your development machine, you will need to create a directory in which the development will take place. This directory is called the '''prefix''', and in the following, we will assume it is in &amp;lt;code&amp;gt;~/prefix&amp;lt;/code&amp;gt;. If you have not created it before, run the following command: &lt;br /&gt;
&lt;br /&gt;
    $ mkdir ~/prefix&lt;br /&gt;
&lt;br /&gt;
==== Installing the SDK ====&lt;br /&gt;
&lt;br /&gt;
Since you're cross-compiling (i.e., compiling for a different architecture than the development machine's) you require an SDK to do the development. Go the page where you downloaded the device image, and make sure you get the corresponding SDK.&lt;br /&gt;
&lt;br /&gt;
SDKs have filenames such as &amp;lt;code&amp;gt;oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh&amp;lt;/code&amp;gt;. The files are quite big, so it can take a while to download them.&lt;br /&gt;
&lt;br /&gt;
The SDKs contain the compiler toolchain, but also contain libraries etc. that already exist on the embedded device. This way, when compiling and linking, you know that what you compile on your development machine will also work on the device.&lt;br /&gt;
&lt;br /&gt;
To install the SDK, execute the downloaded file:&lt;br /&gt;
&lt;br /&gt;
    $ sh ./oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh&lt;br /&gt;
&lt;br /&gt;
Depending on your setup, you may have to use the following command:&lt;br /&gt;
&lt;br /&gt;
    $ bash ./oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh&lt;br /&gt;
&lt;br /&gt;
(If that's the case, you may want to run the sudo dpkg-configure dash command, see the PyBOMBS section).&lt;br /&gt;
It will ask you where to install it to. Choose the prefix path (&amp;lt;code&amp;gt;~/prefix&amp;lt;/code&amp;gt;).&lt;br /&gt;
Unzipping and installing takes a while. After it's done, you should see something like this:&lt;br /&gt;
&lt;br /&gt;
    $ ls ~/prefix&lt;br /&gt;
    environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
    site-config-armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
    sysroots/&lt;br /&gt;
    usr/&lt;br /&gt;
    version-armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
(The exact contents of the directory may differ).&lt;br /&gt;
&lt;br /&gt;
==== Setting up the environment ====&lt;br /&gt;
&lt;br /&gt;
Before running any of the following commands, you need to set up the environment as outlined on the device manual.&lt;br /&gt;
You need to source the environment file:&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/prefix&lt;br /&gt;
    $ source ./environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
    $ echo $CC # This is just to confirm it worked.&lt;br /&gt;
    arm-oe-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon --sysroot=~/prefix/e300/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
As you can see, it will change all kinds of paths to use different compilers and libraries.&lt;br /&gt;
Note that during this shell session, you won't be able to run a lot of other things on your development machines, so you should dedicate a separate shell window for this.&lt;br /&gt;
&lt;br /&gt;
Your development machine is now ready to cross-compile.&lt;br /&gt;
&lt;br /&gt;
== Compiling and installing UHD ==&lt;br /&gt;
&lt;br /&gt;
To cross-compile software, the SDK and the environment settings are usually not sufficient.&lt;br /&gt;
Your software requires a toolchain setup at configuration time to build correctly. UHD brings&lt;br /&gt;
support for this out of the box, so let's use UHD as an example on how to build custom software.&lt;br /&gt;
First, let's make sure you have the source code for UHD in your prefix (it can be elsewhere, but&lt;br /&gt;
for this example we'll keep *everything* inside the prefix directory).&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/prefix&lt;br /&gt;
    $ mkdir src/ # Let's create a src/ subdirectory which we'll use throughout the tutorial&lt;br /&gt;
    $ cd src/&lt;br /&gt;
    $ git clone https://github.com/EttusResearch/uhd.git&lt;br /&gt;
    $ cd uhd/host&lt;br /&gt;
    $ mkdir build&lt;br /&gt;
    $ cd build&lt;br /&gt;
&lt;br /&gt;
Now, before we do the next step, confirm that you have the correct environment loaded (see the step&lt;br /&gt;
before). We now need to configure the build setup to cross-compile correctly.&lt;br /&gt;
&lt;br /&gt;
    $ cmake -DCMAKE_TOOLCHAIN_FILE=../host/cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_E300=ON ..&lt;br /&gt;
&lt;br /&gt;
The exact command may differ (please consult [1]). However, two things are notable:&lt;br /&gt;
&lt;br /&gt;
* We specify a toolchain file. This is how CMake knows how to set up a cross-compile, if the environment variables are set up correctly.&lt;br /&gt;
* Second, we specify the install prefix as &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt;. This might seem odd, but it's actually the prefix *on the device*, not on our development machine.&lt;br /&gt;
&lt;br /&gt;
Now that we have it all set up, we can compile:&lt;br /&gt;
&lt;br /&gt;
    $ make -j4&lt;br /&gt;
&lt;br /&gt;
This step might take longer than you're used to -- that's because cross-compiling is slightly slower than native compiles. However, it's much, much faster than trying to compile on the device.&lt;br /&gt;
&lt;br /&gt;
Installing is also slightly different than usual:&lt;br /&gt;
&lt;br /&gt;
    $ make install DESTDIR=~/prefix&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DESTDIR&amp;lt;/code&amp;gt; part will make sure it gets installed into the prefix, and doesn't try to actually install to &amp;lt;code&amp;gt;/usr/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Running the new UHD via sshfs ==&lt;br /&gt;
&lt;br /&gt;
The cleanest way to test your newly built UHD is to mount the prefix onto your embedded device.&lt;br /&gt;
From your development machine, log onto the embedded device and mount the prefix:&lt;br /&gt;
&lt;br /&gt;
    $ ssh root@e3xx # After this, we're logged onto the embedded device&lt;br /&gt;
    $ pwd # Check where we are&lt;br /&gt;
    /home/root&lt;br /&gt;
    $ mkdir usr # Create a directory to mount our prefix, this only needs doing once&lt;br /&gt;
    $ sshfs dev@desktop:prefix/ usr/ # This will mount the prefix on the development machine to ~/usr&lt;br /&gt;
    $ ls usr/ # The actual output of this may differ&lt;br /&gt;
    environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
    site-config-armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
    sysroots/&lt;br /&gt;
    usr/&lt;br /&gt;
    version-armv7ahf-vfp-neon-oe-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
The output of the final &amp;lt;code&amp;gt;ls&amp;lt;/code&amp;gt; command should be the same as before when doing &amp;lt;code&amp;gt;ls ~/prefix&amp;lt;/code&amp;gt; on the development machine.&lt;br /&gt;
Nearly there! Now, we need to update the environment variables and paths in our ssh session on the embedded device.&lt;br /&gt;
We will add a new file called &amp;lt;code&amp;gt;set_env&amp;lt;/code&amp;gt; into the prefix with the following contents (if you prepared your development machine with PyBOMBS, this file should be already included):&lt;br /&gt;
&lt;br /&gt;
    LOCALPREFIX=~/usr&lt;br /&gt;
    export PATH=$LOCALPREFIX/bin:$PATH&lt;br /&gt;
    export LD_LOAD_LIBRARY=$LOCALPREFIX/lib:$LD_LOAD_LIBRARY&lt;br /&gt;
    export LD_LIBRARY_PATH=$LOCALPREFIX/lib:$LD_LIBRARY_PATH&lt;br /&gt;
    export PYTHONPATH=$LOCALPREFIX/lib/python2.7/site-packages:$PYTHONPATH&lt;br /&gt;
    export PKG_CONFIG_PATH=$LOCALPREFIX/lib/pkgconfig:$PKG_CONFIG_PATH&lt;br /&gt;
    export GRC_BLOCKS_PATH=$LOCALPREFIX/share/gnuradio/grc/blocks:$GRC_BLOCKS_PATH&lt;br /&gt;
    export UHD_RFNOC_DIR=$LOCALPREFIX/share/uhd/rfnoc/&lt;br /&gt;
    export UHD_IMAGES_DIR=$LOCALPREFIX/share/uhd/images&lt;br /&gt;
&lt;br /&gt;
You can see the contents is very simple -- all it does is point the most important paths into our prefix.&lt;br /&gt;
Going back to the SSH session on the embedded device, you should be able to source that file now:&lt;br /&gt;
&lt;br /&gt;
    $ which uhd_find_devices # This will point to the old UHD, which we do not want&lt;br /&gt;
    /usr/bin/uhd_find_devices&lt;br /&gt;
    $ source ./set_env&lt;br /&gt;
    $ which uhd_find_devices # Now it should point to the new version&lt;br /&gt;
    /home/root/usr/bin/uhd_find_devices&lt;br /&gt;
&lt;br /&gt;
:NOTE: If you still see:&lt;br /&gt;
    $ which uhd_find_devices # This will point to the old UHD, which we do not want&lt;br /&gt;
    /usr/bin/uhd_find_devices&lt;br /&gt;
:be sure that you are pointing to the directory that contains folders such as bin/ and lib/. Under some configurations, you may want to modify the &amp;lt;code&amp;gt;set_env&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;LOCALPREFIX=~/usr&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;LOCALPREFIX=~/usr/usr&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last command is to make sure you're actually using the newly compiled UHD, because all of the SD card images already ship a version of UHD.&lt;br /&gt;
In the example above, it worked, and we're ready to go!&lt;br /&gt;
&lt;br /&gt;
The examples get installed to &amp;lt;code&amp;gt;lib/&amp;lt;/code&amp;gt;, so if you want to try your newly compiled UHD on the device, you can do so by running, e.g., the following command:&lt;br /&gt;
&lt;br /&gt;
    $ ~/usr/lib/uhd/examples/benchmark_rate --tx_rate 1e6&lt;br /&gt;
&lt;br /&gt;
Or anything else in the &amp;lt;code&amp;gt;examples&amp;lt;/code&amp;gt; subdirectory.&lt;br /&gt;
&lt;br /&gt;
At this point, it should be clear why the prefix/sshfs approach is so useful. Everything that is related to the install is stored in the same directory, you can zip it up and move it another computer if you like, and the embedded device doesn't actually store any of the development files. As soon as you unmount the sshfs mount, and reset the environment, it will be back in its default state.&lt;br /&gt;
&lt;br /&gt;
== Compiling and installing GNU Radio ==&lt;br /&gt;
&lt;br /&gt;
    [[File:cmake_gr.png|thumb|left|Output example of CMakeGUI for the build of GNU Radio.|link=https://kb.ettus.com/images/f/f9/cmake_gr.png]]&lt;br /&gt;
&lt;br /&gt;
In principle, the work flow for GNU Radio is just the same as for UHD. However, GNU Radio depends on UHD, and you want it to use the new UHD instead of the one that ships with the device (and is in your SDK).&lt;br /&gt;
There are two ways to go ahead: You could either also install UHD into your SDK, but the downside is that you then taint your SDK and it's a non-reversible operation.&lt;br /&gt;
&lt;br /&gt;
A much easier way is to simply point your GNU Radio configuration to the new UHD libs instead of the old ones.&lt;br /&gt;
Again, clone the repo into &amp;lt;code&amp;gt;~/prefix/src/gnuradio&amp;lt;/code&amp;gt;, and then run the following command (again, you need to make sure the environment is set up correctly):&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/prefix&lt;br /&gt;
    $ source ./environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi # To be sure that our environment is correctly set up &lt;br /&gt;
    $ cd src/&lt;br /&gt;
    $ git clone --recursive https://github.com/gnuradio/gnuradio.git&lt;br /&gt;
    $ cd gnuradio&lt;br /&gt;
    $ mkdir build-arm&lt;br /&gt;
    $ cd build-arm&lt;br /&gt;
    $ cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GR_VOCODER=OFF -DENABLE_GR_ATSC=OFF -DENABLE_GR_DTV=OFF -DENABLE_DOXYGEN=OFF ../&lt;br /&gt;
    $ make -j4 # This may take a while&lt;br /&gt;
    $ make -j4 install DESTDIR=~/prefix&lt;br /&gt;
&lt;br /&gt;
To confirm that this worked, it can help to open the CMake configuration in a GUI and check that the UHD-related variables point to the correct libraries. To see more detailed information about the compile, click the &amp;quot;Advanced&amp;quot; checkbox. By doing so, a several number of configuration options appear, which can be not only read but also modified. Notice that the path for UHD_includes and UHD_libraries should point to the UHD source folder installed in the step before. If they are still pointing to the UHD that comes with the device (which is [$PREFIX$}/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi/usr/lib/cmake/uhd) they should be modified by changing the path directly on the CMake GUI or by recompiling since cmake from terminal by adding the directives accordingly, as follows: &lt;br /&gt;
    $ cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake \-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GR_VOCODER=OFF -DENABLE_GR_ATSC=OFF -DENABLE_GR_DTV=OFF -DENABLE_DOXYGEN=OFF -DUHD_DIR=~/prefix/usr/lib/cmake/uhd/ -DUHD_INCLUDE_DIRS=~/prefix/usr/include -DUHD_LIBRARIES=~/prefix/usr/lib/libuhd.so ../&lt;br /&gt;
&lt;br /&gt;
=== Using GNU Radio Companion ===&lt;br /&gt;
&lt;br /&gt;
Since the embedded devices usually don't have a screen, GNU Radio Companion (GRC) is not a useful tool on the device. However, the development machine can be used to generate flow graphs and compile to Python. Some best practices:&lt;br /&gt;
&lt;br /&gt;
* Save both the .grc file and the generated .py file into the prefix&lt;br /&gt;
* Set the 'No GUI' option for Python files that are to be executed on the embedded device&lt;br /&gt;
* Run the Python scripts generated from GRC on the command line on the embedded device&lt;br /&gt;
* If you need visualization, run a separate flow graph on the development machine with the visualization GUI widgets. Use UDP sinks/sources or ZeroMQ blocks to pass data from the embedded device to the development machine.&lt;br /&gt;
&lt;br /&gt;
=== Compiling and installing out-of-tree modules (e.g. gr-ettus) ===&lt;br /&gt;
&lt;br /&gt;
Again, the process is very similar to building GNU Radio. You must make sure that all the correct libraries are linked to, and that it doesn't accidentally pick up libraries from the SDK (e.g. GNU Radio libraries).&lt;br /&gt;
&lt;br /&gt;
    # TODO add screenshot cmake-gui on how this should look like&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Application Notes]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=About_the_Motherboard_and_Daughtercard_EEPROM_on_USRP_Devices&amp;diff=3248</id>
		<title>About the Motherboard and Daughtercard EEPROM on USRP Devices</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=About_the_Motherboard_and_Daughtercard_EEPROM_on_USRP_Devices&amp;diff=3248"/>
				<updated>2017-01-06T21:36:43Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: /* Daughtercard IDs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-309 '''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-05-16  &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Trip Humphries&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=USRP EEPROM Settings &amp;amp; Recovery Guide=&lt;br /&gt;
&lt;br /&gt;
Some USRP products contain an EEPROM on the motherboard which is used to store information about the USRP. Currently, the N200/210, X300/310, B200/210, and E100 contain an on-board EEPROM. The EEPROM contains information about each USRP such as product code, revision number, USRP name, and IP address. The specific information stores on each USRP EEPROM is dependent on the USRP model.&lt;br /&gt;
&lt;br /&gt;
Daughter boards also contain an EEPROM that contains identification information about the daughter board. UHD reads the daughter board ID to determine the model and revision (if applicable) of the daughter board. This information is used to properly configure the USRP and daughter board for proper function.&lt;br /&gt;
&lt;br /&gt;
==EEPROM Burn Utility==&lt;br /&gt;
&lt;br /&gt;
'''Disclaimer: Ettus Research accepts no liability for misuse of this utility. It can very easily cause irreversible damage if used incorrectly! Please contact Ettus support at [mailto:support@ettus.com support@ettus.com] if you are unsure how to proceed.'''&lt;br /&gt;
&lt;br /&gt;
A utility, usrp_burn_mb_eeprom, is included with UHD to read/write values on the various motherboards that contain an EEPROM. The utility is located in the UHD install directory. The default folder is:&lt;br /&gt;
&lt;br /&gt;
 /usr/local/lib/uhd/utils/&lt;br /&gt;
&lt;br /&gt;
The utility can be used with the USRP X300/310, N200/210, B200/210, and E100. In some cases, it is necessary to use the utility to write custom user settings to the USRP, such as USRP name or IP address. In other cases, some EEPROM settings set by the factory may become corrupted and need to be restored. This section will cover basic usage of the usrp_burn_mb_eeprom utility, with USRP specific instructions covered in the sections below.&lt;br /&gt;
&lt;br /&gt;
EEPROM settings can be read using the usrp_burn_mb_eeprom utility. All the EEPROM settings can be read at once using the 'read all' option:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;lt;optional device args&amp;gt; --read-all&lt;br /&gt;
&lt;br /&gt;
This will return the current contents in the EEPROM for the specified USRP. For example, if you want to read all the EEPROM contents for a USRP B210, the command would look like:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --read-all &lt;br /&gt;
&lt;br /&gt;
The EEPROM settings vary based on the specific USRP in use. The following sections document the EEPROM settings available for each USRP. Examples for each USRP with an EEPROM are also given.&lt;br /&gt;
&lt;br /&gt;
=X300/310 EEPROM=&lt;br /&gt;
The EEPROM on the X300/310 stores useful information about the USRP so that UHD can set the proper settings based on model and revision. Some of these settings are user customizable. The table below outlines the values stored in the X300/310 EEPROM. Any entry that is designated &amp;quot;User Customizable?=No&amp;quot; can cause irreversible damage to the USRP and should only be altered by proper guidance from Ettus Support. For example, certain settings in the EEPROM could become corrupted and can be restored with the proper commands.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''X300/310 EEPROM Setting:'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Hardware Number&lt;br /&gt;
|-&lt;br /&gt;
|revision_compat&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|serial&lt;br /&gt;
|No&lt;br /&gt;
|Unique USRP Serial Number&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr0&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address (Port 0)&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr1&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address (Port 1)&lt;br /&gt;
|-&lt;br /&gt;
|gateway&lt;br /&gt;
|Yes&lt;br /&gt;
|Network Gateway&lt;br /&gt;
|-&lt;br /&gt;
|subnet0&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet1&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet2&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|subnet3&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnet Mask&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr0&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr1&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr2&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr3&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|name&lt;br /&gt;
|Yes&lt;br /&gt;
|Custom USRP Name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
As an example, the EEPROM settings of an X310 with IP address 192.168.10.2 could be read-back with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;addr=192.168.10.2,type=x300&amp;quot; --read-all&lt;br /&gt;
&lt;br /&gt;
and the output would look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;revision_compat&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;mac-addr0&amp;quot;] is &amp;quot;xx:xx:xx:xx:xx:xx&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;mac-addr1&amp;quot;] is &amp;quot;xx:xx:xx:xx:xx:xx&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;gateway&amp;quot;] is &amp;quot;192.168.10.1&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr0&amp;quot;] is &amp;quot;192.168.10.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet0&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr1&amp;quot;] is &amp;quot;192.168.20.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet1&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr2&amp;quot;] is &amp;quot;192.168.10.3&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet2&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;ip-addr3&amp;quot;] is &amp;quot;192.168.40.2&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;subnet3&amp;quot;] is &amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AF217&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Determining X300/X310 Revision Number==&lt;br /&gt;
It is useful in many cases to determine the revision number of your X300/X310. A part number sticker is located on the X300/310 motherboard. This sticker is located near the AUX-I/O connector and has the format 123456\&amp;lt;R&amp;gt;-\&amp;lt;XXX&amp;gt; where \&amp;lt;R&amp;gt; is a letter code that corresponds to the revision number. The photograph below highlights the location of the sticker:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:an-309-x3x0-rev-id.png|thumb|500px|center|The USRP X300/310 motherboard has a sticker that identifies the product and revision. The sticker is outlined in red.]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the letter code has been determined use the table below to map the letter code to a revision number:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Letter'''&lt;br /&gt;
|'''Revision #'''&lt;br /&gt;
|-&lt;br /&gt;
|C&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|D&lt;br /&gt;
|4&lt;br /&gt;
|-&lt;br /&gt;
|E&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|F&lt;br /&gt;
|6&lt;br /&gt;
|-&lt;br /&gt;
|G&lt;br /&gt;
|7&lt;br /&gt;
|-&lt;br /&gt;
|H&lt;br /&gt;
|8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Restore X300/310 EEPROM Revision Code==&lt;br /&gt;
&lt;br /&gt;
A corrupted or missing revision code in the X300/310 EEPROM will be indicated by a UHD runtime error:&lt;br /&gt;
&lt;br /&gt;
 Error: RuntimeError: No revision compat detected. MB EEPROM must be reprogrammed!&lt;br /&gt;
&lt;br /&gt;
If this problem is encountered, the usrp_burn_mb_eeprom utility can be used to restore the X300/310 revision code in the EEPROM. First, the X300/X310 revision number must be determined. Once the revision number for your X300/310 is known, the usrp_burn_mb_eeprom utility can be used to restore the revision code to the EEPROM. The syntax is as follows:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom&amp;quot; --values=&amp;quot;revision=&amp;lt;#&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;#&amp;gt; is the revision number of your X300/310 to be written to the EEPROM. For example, to restore the revision number in EEPROM for a Rev. 6 X300 with an IP address of 192.168.10.2, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom,addr=192.168.10.2&amp;quot; --values=&amp;quot;revision=6&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the utility has been run, power cycle the USRP and then run uhd_usrp_probe to ensure that the new revision number has been written to the EEPROM correctly. If you are unsure of how to accomplish these steps, please feel free to contact Ettus Support at [mailto:support@ettus.com support@ettus.com].&lt;br /&gt;
&lt;br /&gt;
==Restore X300/310 EEPROM Product Code==&lt;br /&gt;
&lt;br /&gt;
A corrupted product code in the X300/310 EEPROM will be indicated by a UHD warning:&lt;br /&gt;
&lt;br /&gt;
 UHD Warning: X300/X310 unknown product code in EEPROM: &amp;lt;###&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;###&amp;gt; is some numbered code that is unknown by UHD. If this problem is encountered, the usrp_burn_mb_eeprom utility can be used to write a new product code to the EEPROM. First, the X300/X310 revision number must be determined. Once the revision number has been determined, refer to the table below to find the product code for the X300/310:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''Rev. 0-6'''&lt;br /&gt;
|'''Rev. 7-8'''&lt;br /&gt;
|-&lt;br /&gt;
|X300&lt;br /&gt;
|30518 (0x7736)&lt;br /&gt;
|30817 (0x7861)&lt;br /&gt;
|-&lt;br /&gt;
|X310&lt;br /&gt;
|30410 (0x76CA)&lt;br /&gt;
|30818 (0x7862)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once the correct product code has been determined base on the X3x0 model and revision, the usrp_burn_mb_eeprom utility can be used to write the correct product code to the EEPROM. They syntax is as follows:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom&amp;quot; --values=&amp;quot;product=&amp;lt;###&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;###&amp;gt; is the product code to be written to the EEPROM. For example, on a Rev. 7 X300 with an IP address of 191.168.10.2, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;recover_mb_eeprom,addr=192.168.10.2&amp;quot; --values=&amp;quot;product=30817&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the utility has been run, power cycle the USRP and then run uhd_usrp_probe to ensure that the new revision number has been written to the EEPROM correctly. If you are unsure of how to accomplish these steps, please feel free to contact Ettus Support at [mailto:support@ettus.com support@ettus.com].&lt;br /&gt;
&lt;br /&gt;
==National Instruments USRP RIO==&lt;br /&gt;
&lt;br /&gt;
The National Instruments branded X300/310 have unique product codes to identify the motherboard revision as well as the daughter-cards in the USRP. The product codes are listed below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Model (DB, BW, Rev.)'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772B&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7853&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FB&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2940R (WBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785B&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772C&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7854&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FC&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2942R (SBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785C&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 40 MHz BW, Rev. 0-6)       &lt;br /&gt;
|0x772D&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 40 MHz BW, Rev. 7+)        &lt;br /&gt;
|0x7855&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 120 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x77FD&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2943R (CBX, 120 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x785D&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2944R (UBX, 160 MHz BW, Rev. 0-6)      &lt;br /&gt;
|0x772E&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2944R (UBX, 160 MHz BW, Rev. 7+)       &lt;br /&gt;
|0x7856&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x772F&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7857&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x77FE&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2950R (GPS, WBX, 120 MHz BW, Rev. 7+   &lt;br /&gt;
|0x785E&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x7730&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7858&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x77FF&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2952R (GPS, SBX, 120 MHz BW, Rev. 7+   &lt;br /&gt;
|0x785F&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 40 MHz BW, Rev. 0-6)  &lt;br /&gt;
|0x7731&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 40 MHz BW, Rev. 7+)   &lt;br /&gt;
|0x7859&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 120 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x7800&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2953R (GPS, CBX, 120 MHz BW, Rev. 7+)  &lt;br /&gt;
|0x7860&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2954R (GPS, UBX, 160 MHz BW, Rev. 0-6) &lt;br /&gt;
|0x7732&lt;br /&gt;
|-&lt;br /&gt;
|USRP-2954R (GPS, UBX, 160 MHz BW, Rev. 7+)  &lt;br /&gt;
|0x785A&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=N200/210 EEPROM=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''N200/210 EEPROM Setting'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|hardware&lt;br /&gt;
|No&lt;br /&gt;
|Hardware Number&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|mac-addr&lt;br /&gt;
|No&lt;br /&gt;
|MAC Address&lt;br /&gt;
|-&lt;br /&gt;
|ip-addr&lt;br /&gt;
|Yes&lt;br /&gt;
|IP Address&lt;br /&gt;
|-&lt;br /&gt;
|subnet&lt;br /&gt;
|Yes&lt;br /&gt;
|Subnetwork&lt;br /&gt;
|-&lt;br /&gt;
|gateway&lt;br /&gt;
|Yes&lt;br /&gt;
|Network Gateway&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The N200/210 do not store the product codes in the motherboard EEPROM. The &amp;quot;hardware&amp;quot; field is programmed at the factory but is not referenced by UHD. Instead, the revision field is used to determine the N200/210 hardware in use. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''Motherboard Product ID'''&lt;br /&gt;
|-&lt;br /&gt;
|N200&lt;br /&gt;
|0x0A00&lt;br /&gt;
|-&lt;br /&gt;
|N210&lt;br /&gt;
|0x0A01&lt;br /&gt;
|-&lt;br /&gt;
|N200 - R4&lt;br /&gt;
|0x0A10&lt;br /&gt;
|-&lt;br /&gt;
|N210 - R4&lt;br /&gt;
|0x0A11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=B200/210 and B200mini EEPROM=&lt;br /&gt;
&lt;br /&gt;
The USRP B200 and B210 EEPROM is used to store certain information about each board. The USB PID (Product ID) and VID (Vendor ID) are stored in the EEPROM as well as serial number, product code, hardware revision, and USRP name for each B200/210. A table of these settings and whether or not the setting is user customizable is given below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''B200/210 EEPROM Setting'''&lt;br /&gt;
|'''User Customizable?'''&lt;br /&gt;
|'''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|revision&lt;br /&gt;
|No&lt;br /&gt;
|Revision Number&lt;br /&gt;
|-&lt;br /&gt;
|product&lt;br /&gt;
|No&lt;br /&gt;
|Product Code&lt;br /&gt;
|-&lt;br /&gt;
|serial&lt;br /&gt;
|No&lt;br /&gt;
|Unique Serial Number&lt;br /&gt;
|-&lt;br /&gt;
|name&lt;br /&gt;
|Yes&lt;br /&gt;
|Custom USRP Name&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To read the current EEPROM values from the USRP, use the usrp_burn_mb_eeprom utility:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --read-all&lt;br /&gt;
&lt;br /&gt;
This will read the settings and print them to the terminal. A sample output is shown below for a USRP B210:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;MyB210&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If desired, a B200/210 could be given a custom name with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./usrp_burn_mb_eeprom --args=&amp;quot;type=b200&amp;quot; --values=&amp;quot;name=Lab_B210&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the command has been run, the device must be power-cycled for the new EEPROM setting to take effect. Reading the updated EEPROM values yields:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching current settings from EEPROM...&lt;br /&gt;
	EEPROM [&amp;quot;revision&amp;quot;] is &amp;quot;4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;product&amp;quot;] is &amp;quot;2&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;serial&amp;quot;] is &amp;quot;30AD2D4&amp;quot;&lt;br /&gt;
    	EEPROM [&amp;quot;name&amp;quot;] is &amp;quot;Lab_B210&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==USB VID/PID==&lt;br /&gt;
&lt;br /&gt;
The USB vendor identification (VID) and product identification (PID) numbers can be written to the USRP B200/210 using the &amp;quot;b2xx_fx3_utils&amp;quot; utility that is included with UHD. To reset the VID and PID, the command would be:&lt;br /&gt;
&lt;br /&gt;
 ./b2xx_fx3_utils --init-device --write-vid 0x2500 --write-pid -0x0020&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''USRP'''&lt;br /&gt;
|'''USB PID'''&lt;br /&gt;
|-&lt;br /&gt;
|B200&lt;br /&gt;
|0x0020&lt;br /&gt;
|-&lt;br /&gt;
|B210&lt;br /&gt;
|0x0020&lt;br /&gt;
|-&lt;br /&gt;
|B200 (NI)&lt;br /&gt;
|0x7813&lt;br /&gt;
|-&lt;br /&gt;
|B210 (NI)&lt;br /&gt;
|0x7814&lt;br /&gt;
|-&lt;br /&gt;
|B200mini&lt;br /&gt;
|0x0021&lt;br /&gt;
|-&lt;br /&gt;
|B205mini&lt;br /&gt;
|0x0022&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The VID is the same for all B2x0 variants, 0x2500.&lt;br /&gt;
&lt;br /&gt;
=Daughtercard IDs=&lt;br /&gt;
&lt;br /&gt;
Below is a comprehensive list of the daughtercard hex ID's.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Name'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|Basic Tx		    &lt;br /&gt;
| 0x0000&lt;br /&gt;
|-&lt;br /&gt;
|Basic Rx   		    &lt;br /&gt;
| 0x0001&lt;br /&gt;
|-&lt;br /&gt;
|DBS Rx      		&lt;br /&gt;
| 0x0002&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx       		&lt;br /&gt;
| 0x0003&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx			&lt;br /&gt;
| 0x0004&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx			&lt;br /&gt;
| 0x0005&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx		&lt;br /&gt;
| 0x0006&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx		&lt;br /&gt;
| 0x0007&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx			&lt;br /&gt;
| 0x0008&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx			&lt;br /&gt;
| 0x0009&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx		&lt;br /&gt;
| 0x000a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx		&lt;br /&gt;
| 0x000b&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 2			&lt;br /&gt;
| 0x000c&lt;br /&gt;
|-&lt;br /&gt;
|DBS Rx ClkMod		&lt;br /&gt;
| 0x000d&lt;br /&gt;
|-&lt;br /&gt;
|LF Tx				&lt;br /&gt;
| 0x000e&lt;br /&gt;
|-&lt;br /&gt;
|LF Rx				&lt;br /&gt;
| 0x000f&lt;br /&gt;
|-&lt;br /&gt;
|DBSRX2				&lt;br /&gt;
| 0x012&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx MIMO A	&lt;br /&gt;
| 0x0014&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx MIMO A	&lt;br /&gt;
| 0x0015&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx MIMO A &lt;br /&gt;
| 0x0016&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx MIMO A &lt;br /&gt;
| 0x0017&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx MIMO A  &lt;br /&gt;
| 0x0018&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx MIMO A	&lt;br /&gt;
| 0x0019&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx MIMO A &lt;br /&gt;
| 0x001a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx MIMO A &lt;br /&gt;
| 0x001b&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Rx MIMO B	&lt;br /&gt;
| 0x0024&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Rx MIMO B  &lt;br /&gt;
| 0x0025&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Rx MIMO B &lt;br /&gt;
| 0x0026&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Rx MIMO B &lt;br /&gt;
| 0x0027&lt;br /&gt;
|-&lt;br /&gt;
|Flex 400 Tx MIMO B	&lt;br /&gt;
| 0x0028&lt;br /&gt;
|-&lt;br /&gt;
|Flex 900 Tx MIMO B	&lt;br /&gt;
| 0x0029&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1200 Tx MIMO B	&lt;br /&gt;
| 0x002a&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2400 Tx MIMO B &lt;br /&gt;
| 0x002b&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2200 Rx MIMO B &lt;br /&gt;
| 0x002c&lt;br /&gt;
|-&lt;br /&gt;
|Flex 2200 Tx MIMO B	&lt;br /&gt;
| 0x002d&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx		&lt;br /&gt;
| 0x0030&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx		&lt;br /&gt;
| 0x0031&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx MIMO A	&lt;br /&gt;
| 0x0032&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx MIMO A	&lt;br /&gt;
| 0x0033&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Rx MIMO B &lt;br /&gt;
| 0x0034&lt;br /&gt;
|-&lt;br /&gt;
|Flex 1800 Tx MIMO B &lt;br /&gt;
| 0x0035&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 3			&lt;br /&gt;
| 0x0040&lt;br /&gt;
|-&lt;br /&gt;
|DTT754				&lt;br /&gt;
| 0x0041&lt;br /&gt;
|-&lt;br /&gt;
|DTT768				&lt;br /&gt;
| 0x0042&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx MIMO			&lt;br /&gt;
| 0x0043&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 2 MIMO	&lt;br /&gt;
| 0x0044&lt;br /&gt;
|-&lt;br /&gt;
|TV Rx Rev 3 MIMO	&lt;br /&gt;
| 0x0045&lt;br /&gt;
|-&lt;br /&gt;
|TVRX2				&lt;br /&gt;
| 0x0046&lt;br /&gt;
|-&lt;br /&gt;
|WCDMA US			&lt;br /&gt;
| 0x004d&lt;br /&gt;
|-&lt;br /&gt;
|WCDMA EU			&lt;br /&gt;
| 0x004e&lt;br /&gt;
|-&lt;br /&gt;
|SIMPLE GDB			&lt;br /&gt;
| 0x004f&lt;br /&gt;
|-&lt;br /&gt;
|WBX LO TX			&lt;br /&gt;
| 0x0050&lt;br /&gt;
|-&lt;br /&gt;
|WBX LO RX			&lt;br /&gt;
| 0x0051&lt;br /&gt;
|-&lt;br /&gt;
|WBX NG TX			&lt;br /&gt;
| 0x0052&lt;br /&gt;
|-&lt;br /&gt;
|WBX NG RX			&lt;br /&gt;
| 0x0053&lt;br /&gt;
|-&lt;br /&gt;
|SBX v3 RX			&lt;br /&gt;
| 0x0054&lt;br /&gt;
|-&lt;br /&gt;
|SBX v3 TX			&lt;br /&gt;
| 0x0055&lt;br /&gt;
|-&lt;br /&gt;
|WBX v3 TX			&lt;br /&gt;
| 0x0056&lt;br /&gt;
|-&lt;br /&gt;
|WBX v3 RX			&lt;br /&gt;
| 0x0057&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 - No Div	&lt;br /&gt;
| 0x0059&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 TX			&lt;br /&gt;
| 0x0060&lt;br /&gt;
|-&lt;br /&gt;
|XCVR2450 RX			&lt;br /&gt;
| 0x0061&lt;br /&gt;
|-&lt;br /&gt;
|WBX v4 TX			&lt;br /&gt;
| 0x0062&lt;br /&gt;
|-&lt;br /&gt;
|WBX v4 RX			&lt;br /&gt;
| 0x0063&lt;br /&gt;
|-&lt;br /&gt;
|SBX v4 TX			&lt;br /&gt;
| 0x0064&lt;br /&gt;
|-&lt;br /&gt;
|SBX v4 RX			&lt;br /&gt;
| 0x0065&lt;br /&gt;
|-&lt;br /&gt;
|CBX v1 TX			&lt;br /&gt;
| 0x0066&lt;br /&gt;
|-&lt;br /&gt;
|CBX v1 RX			&lt;br /&gt;
| 0x0067&lt;br /&gt;
|-&lt;br /&gt;
|SBX v5 TX			&lt;br /&gt;
| 0x0068&lt;br /&gt;
|-&lt;br /&gt;
|SBX v5 RX			&lt;br /&gt;
| 0x0069&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v3 TX	&lt;br /&gt;
| 0x0073&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v3 RX &lt;br /&gt;
| 0x0074&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v4 TX &lt;br /&gt;
| 0x0075&lt;br /&gt;
|-&lt;br /&gt;
|UBX-Prototype v4 RX &lt;br /&gt;
| 0x0076&lt;br /&gt;
|-&lt;br /&gt;
|UBX v1 TX			&lt;br /&gt;
| 0x0077&lt;br /&gt;
|-&lt;br /&gt;
|UBX v1 RX			&lt;br /&gt;
| 0x0078&lt;br /&gt;
|-&lt;br /&gt;
|UBX-160 v1 TX		&lt;br /&gt;
| 0x0079&lt;br /&gt;
|-&lt;br /&gt;
|UBX-160 v1 RX		&lt;br /&gt;
| 0x007a&lt;br /&gt;
|-&lt;br /&gt;
|Bitshark RX			&lt;br /&gt;
| 0x0070&lt;br /&gt;
|-&lt;br /&gt;
|B150 v1 TX			&lt;br /&gt;
| 0x0071&lt;br /&gt;
|-&lt;br /&gt;
|B150 v1 RX			&lt;br /&gt;
| 0x0072&lt;br /&gt;
|-&lt;br /&gt;
|WBX-120 v1 TX		&lt;br /&gt;
| 0x0080&lt;br /&gt;
|-&lt;br /&gt;
|WBX-120 v1 RX		&lt;br /&gt;
| 0x0081&lt;br /&gt;
|-&lt;br /&gt;
|SBX-120 v1 TX		&lt;br /&gt;
| 0x0082&lt;br /&gt;
|-&lt;br /&gt;
|SBX-120 v1 RX		&lt;br /&gt;
| 0x0083&lt;br /&gt;
|-&lt;br /&gt;
|CBX-120 v1 TX		&lt;br /&gt;
| 0x0084&lt;br /&gt;
|-&lt;br /&gt;
|CBX-120 v1 RX		&lt;br /&gt;
| 0x0085&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.0 TX		&lt;br /&gt;
| 0x0090&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.0 RX 		&lt;br /&gt;
| 0x0091&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.1 TX		&lt;br /&gt;
| 0x0092&lt;br /&gt;
|-&lt;br /&gt;
|TwinRX v1.1 RX 		&lt;br /&gt;
| 0x0093&lt;br /&gt;
|-&lt;br /&gt;
|E300 AD3964 DB RevB	&lt;br /&gt;
| 0x0100&lt;br /&gt;
|-&lt;br /&gt;
|E310 AD9361 DB RevB	&lt;br /&gt;
| 0x0110&lt;br /&gt;
|-&lt;br /&gt;
|E300 AD9364 DB RevC	&lt;br /&gt;
| 0x0101&lt;br /&gt;
|-&lt;br /&gt;
|E310 AD9361 DB RevC	&lt;br /&gt;
| 0x0111&lt;br /&gt;
|-&lt;br /&gt;
|Unknown Tx			&lt;br /&gt;
| 0xfff0&lt;br /&gt;
|-&lt;br /&gt;
|Unknown Rx			&lt;br /&gt;
| 0xfff1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Motherboard IDs=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Name'''&lt;br /&gt;
|'''Hex ID'''&lt;br /&gt;
|-&lt;br /&gt;
|B200&lt;br /&gt;
|0x7737&lt;br /&gt;
|-&lt;br /&gt;
|B210&lt;br /&gt;
|0x7738&lt;br /&gt;
|-&lt;br /&gt;
|B200mini&lt;br /&gt;
|0x7739&lt;br /&gt;
|-&lt;br /&gt;
|B205mini&lt;br /&gt;
|0x773a&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Application Notes]]&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=File:TwinRX_Normalized_Preselector_Response.png&amp;diff=2973</id>
		<title>File:TwinRX Normalized Preselector Response.png</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=File:TwinRX_Normalized_Preselector_Response.png&amp;diff=2973"/>
				<updated>2016-08-09T01:46:58Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: The normalized frequency responses of the TwinRX preselector filters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The normalized frequency responses of the TwinRX preselector filters&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=Building_and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_Radio)_on_Windows&amp;diff=2577</id>
		<title>Building and Installing the USRP Open Source Toolchain (UHD and GNU Radio) on Windows</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=Building_and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_Radio)_on_Windows&amp;diff=2577"/>
				<updated>2016-05-17T01:39:24Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-611'''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-01-19&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Derek Kozel&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
This Application Note provides a step-by-step guide for building, installing, and updating the open-source toolchain, specifically UHD and GNU Radio, for the USRP from source code on Windows.&lt;br /&gt;
&lt;br /&gt;
==UHD on Windows==&lt;br /&gt;
&lt;br /&gt;
UHD is fully supported on Windows 7, 8, 8.1, and 10 and can be compiled using Visual Studio 2012, 2013, or 2015. The future target is to support the latest three OS and Visual Studio releases. &lt;br /&gt;
&lt;br /&gt;
==Setup the Environment==&lt;br /&gt;
&lt;br /&gt;
The following dependencies are required for a regular build.&lt;br /&gt;
&lt;br /&gt;
* Microsoft Windows (7, 8, 8.1, 10)&lt;br /&gt;
* Microsoft Visual Studio (2012, 2013, 2015)&lt;br /&gt;
* CMake (3.4.0 or later)&lt;br /&gt;
* Boost (1.56 or later)&lt;br /&gt;
* LibUSB (1.0 or later)&lt;br /&gt;
* Python (2.7.x)&lt;br /&gt;
* Mako (0.5.0 or later)&lt;br /&gt;
* Doxygen (1.8 or later, optional)&lt;br /&gt;
* NSIS (2.50 or later, optional)&lt;br /&gt;
&lt;br /&gt;
==Installing the dependencies==&lt;br /&gt;
&lt;br /&gt;
===Microsoft Visual Studio===&lt;br /&gt;
&lt;br /&gt;
The free Express version of Visual Studio is sufficient for building UHD. This guide was tested using MSVC Express 2013.&lt;br /&gt;
&lt;br /&gt;
===CMake===&lt;br /&gt;
&lt;br /&gt;
CMake is a cross-platform build system used to configure and generate the files necessary to compile and test UHD for a particular computer environment.&lt;br /&gt;
&lt;br /&gt;
During installation select the option to add CMake to the PATH for the current user.&lt;br /&gt;
&lt;br /&gt;
CMake 3.4.1 win32 was used for the guide.&lt;br /&gt;
&lt;br /&gt;
https://cmake.org/download/&lt;br /&gt;
&lt;br /&gt;
===Boost===&lt;br /&gt;
&lt;br /&gt;
Boost is a set of C++ libraries providing useful algorithms and data structures.&lt;br /&gt;
&lt;br /&gt;
The Boost binary installer must be selected to match the version of MSVC being used to compile UHD and architecture of Windows being run. Watch out as Microsoft has done the version numbering of MSVC such that the year and version number do not match.&lt;br /&gt;
&lt;br /&gt;
MSVC 2013 is version 12 so boost_1_58_0-msvc-12.0-64 was selected.&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/projects/boost/files/boost-binaries/&lt;br /&gt;
&lt;br /&gt;
===LibUSB===&lt;br /&gt;
&lt;br /&gt;
LibUSB is a cross-platform library providing access to USB devices.&lt;br /&gt;
&lt;br /&gt;
LibUSB releases are distributed in 7zip archives, the free 7zip program needed to open them is available at http://www.7-zip.org/download.html. After installing 7zip the LibUSB release archive can be extracted by right clicking on the downloaded file and selecting &amp;lt;tt&amp;gt;7zip &amp;gt; Extract files&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
LibUSB 1.20 was used for the guide and extracted to &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\libusb-1.0.20&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/projects/libusb/files/libusb-1.0/&lt;br /&gt;
&lt;br /&gt;
===Python===&lt;br /&gt;
&lt;br /&gt;
Python is a widely used general-purpose, high-level programming language. UHD includes several utilities written in Python and has several scripts which are part of the build process.&lt;br /&gt;
&lt;br /&gt;
The latest Python 2 release, 2.7.11 was used.&lt;br /&gt;
&lt;br /&gt;
https://www.python.org/downloads/&lt;br /&gt;
&lt;br /&gt;
===Mako===&lt;br /&gt;
&lt;br /&gt;
Mako is a python template library used to generate source files and is&lt;br /&gt;
distributed using a Python package management system.&lt;br /&gt;
&lt;br /&gt;
Open a command line (Ctrl-X, select Run, type &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;cmd.exe&amp;lt;/syntaxhighlight&amp;gt; and click OK)&lt;br /&gt;
&lt;br /&gt;
    cd C:\Python27\Scripts&lt;br /&gt;
    pip.exe install mako&lt;br /&gt;
&lt;br /&gt;
This installed version 1.0.3 at the time of writing this guide.&lt;br /&gt;
&lt;br /&gt;
===Doxygen===&lt;br /&gt;
&lt;br /&gt;
Doxygen is a documentation generator which creates the HTML manual from text in the source code. It optional for building UHD.&lt;br /&gt;
&lt;br /&gt;
Version 1.8.11 was used for this guide.&lt;br /&gt;
&lt;br /&gt;
http://www.stack.nl/~dimitri/doxygen/download.html&lt;br /&gt;
&lt;br /&gt;
===NSIS===&lt;br /&gt;
&lt;br /&gt;
NSIS is a toolkit for creating Windows installers. NSIS is used for creating binary packages of UHD enabling easy distribution and installation of UHD, associated utilities, and examples.&lt;br /&gt;
&lt;br /&gt;
Version 2.50 was used for this guide.&lt;br /&gt;
&lt;br /&gt;
http://nsis.sourceforge.net/Download&lt;br /&gt;
&lt;br /&gt;
==Obtain the UHD source code==&lt;br /&gt;
&lt;br /&gt;
===From a release source archive===&lt;br /&gt;
&lt;br /&gt;
Archives of the source code for each stable release can be downloaded from the Ettus website.&lt;br /&gt;
&lt;br /&gt;
http://files.ettus.com/binaries/uhd/src/&lt;br /&gt;
&lt;br /&gt;
7zip can be used to extract the &amp;lt;tt&amp;gt;tar.gz&amp;lt;/tt&amp;gt; archive to a location of your choosing.&lt;br /&gt;
&lt;br /&gt;
The guide uses the 3.9.2 release and extracted it to &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===From the Git repository===&lt;br /&gt;
&lt;br /&gt;
The latest development code, as well as tagged releases, is available from the git repository hosted on GitHub&lt;br /&gt;
&lt;br /&gt;
https://www.github.com/EttusResearch/uhd&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
&lt;br /&gt;
All prerequisites have now been installed and downloaded.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Building===&lt;br /&gt;
&lt;br /&gt;
* Open the Cmake GUI&lt;br /&gt;
* Select source code directory&lt;br /&gt;
*: &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002\&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Select binary build directory&lt;br /&gt;
*: &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002\build&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Check the Advanced checkbox&lt;br /&gt;
* Click Configure&lt;br /&gt;
** Set Visual Studio 12 2013 Win64 as the compiler&lt;br /&gt;
* Change or add the following entries&lt;br /&gt;
*; '''Boost_INCLUDE_DIR''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/local/boost_1_58_0&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Add the following entries with type PATH&lt;br /&gt;
*; '''Boost_LIBRARY_PATH''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/local/boost_1_58_0/lib64-msvc-12.0&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*; '''LIBUSB_INCLUDE_DIRS''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/Users/username/libusb-1.0.20/include/libusb-1.0&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Add the following entry with type FILEPATH&lt;br /&gt;
*; '''LIBUSB_LIBRARIES''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/Users/username/libusb-1.0.20/MS64/dll/libusb-1.0.lib&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Click Generate&lt;br /&gt;
&lt;br /&gt;
===Compiling UHD===&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio 2013 and open the UHD project file generated by CMake.&lt;br /&gt;
; &amp;lt;tt&amp;gt;File &amp;gt; Open Project&amp;lt;/tt&amp;gt; : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002\build\UHD.sln&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the build type from Debug to Release. The **ALL_BUILD** project should be selected already. Run the build, &amp;lt;tt&amp;gt;Build &amp;gt; Build Solution&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installing UHD==&lt;br /&gt;
&lt;br /&gt;
Select the '''INSTALL''' project and run the build, &amp;lt;tt&amp;gt;Build &amp;gt; Build Solution&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Visual Studio must be run as Administrator for this to succeed as it needs write permission for the &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Program Files&amp;lt;/syntaxhighlight&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===Compiling a binary installer===&lt;br /&gt;
&lt;br /&gt;
Building the '''PACKAGE''' project will produce a binary installer if NSIS is installed. This installer with be for either 64 bit or 32 bit as chosen during the CMake step.&lt;br /&gt;
&lt;br /&gt;
==Running UHD==&lt;br /&gt;
&lt;br /&gt;
Running programs using UHD requires the Visual Studio C++ Runtime Redistributable to be installed. The version of the C++ Runtime Redistributable must match the version of Visual Studio used to compile the program.&lt;br /&gt;
&lt;br /&gt;
* Visual Studio 2015  &lt;br /&gt;
*: https://www.microsoft.com/en-us/download/details.aspx?id=48145&lt;br /&gt;
* Visual Studio 2012 and 2013  &lt;br /&gt;
*: https://support.microsoft.com/en-us/kb/2977003&lt;br /&gt;
&lt;br /&gt;
==Installing the USB driver==&lt;br /&gt;
&lt;br /&gt;
If a USB connected USRP is used then the USB drivers must be installed. The drivers are located at http://files.ettus.com/binaries/misc/erllc_uhd_winusb_driver.zip.&lt;br /&gt;
&lt;br /&gt;
There is a known issue with Windows 10 where an error message is shown at the end of driver installation. However resetting or power cycling the USRP enables full functionality.&lt;br /&gt;
&lt;br /&gt;
==GNU Radio==&lt;br /&gt;
&lt;br /&gt;
Building GNU Radio from source on Windows is still an involved process due to the large number of dependencies. A set of scripts have been developed to automate the process and the various installation options are documented on the GNU Radio website.&lt;br /&gt;
&lt;br /&gt;
http://gnuradio.org/redmine/projects/gnuradio/wiki/WindowsInstall&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=Building_and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_Radio)_on_Windows&amp;diff=2574</id>
		<title>Building and Installing the USRP Open Source Toolchain (UHD and GNU Radio) on Windows</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=Building_and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_Radio)_on_Windows&amp;diff=2574"/>
				<updated>2016-05-17T01:04:52Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-611'''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-01-19&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Derek Kozel&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
This Application Note provides a step-by-step guide for building, installing, and updating the open-source toolchain, specifically UHD and GNU Radio, for the USRP from source code on Windows.&lt;br /&gt;
&lt;br /&gt;
==UHD on Windows==&lt;br /&gt;
&lt;br /&gt;
UHD is fully supported on Windows 7, 8, 8.1, and 10 and can be compiled using Visual Studio 2012, 2013, or 2015. The future target is to support the latest three OS and Visual Studio releases. &lt;br /&gt;
&lt;br /&gt;
==Setup the Environment==&lt;br /&gt;
&lt;br /&gt;
The following dependencies are required for a regular build.&lt;br /&gt;
&lt;br /&gt;
* Microsoft Windows (7, 8, 8.1, 10)&lt;br /&gt;
* Microsoft Visual Studio (2012, 2013, 2015)&lt;br /&gt;
* CMake (3.4.0 or later)&lt;br /&gt;
* Boost (1.56 or later)&lt;br /&gt;
* LibUSB (1.0 or later)&lt;br /&gt;
* Python (2.7.x)&lt;br /&gt;
* Mako (0.5.0 or later)&lt;br /&gt;
* Doxygen (1.8 or later, optional)&lt;br /&gt;
* NSIS (2.50 or later, optional)&lt;br /&gt;
&lt;br /&gt;
==Installing the dependencies==&lt;br /&gt;
&lt;br /&gt;
===Microsoft Visual Studio===&lt;br /&gt;
&lt;br /&gt;
The free Express version of Visual Studio is sufficient for building UHD. This guide was tested using MSVC Express 2013.&lt;br /&gt;
&lt;br /&gt;
===CMake===&lt;br /&gt;
&lt;br /&gt;
CMake is a cross-platform build system used to configure and generate the files necessary to compile and test UHD for a particular computer environment.&lt;br /&gt;
&lt;br /&gt;
During installation select the option to add CMake to the PATH for the current user.&lt;br /&gt;
&lt;br /&gt;
CMake 3.4.1 win32 was used for the guide.&lt;br /&gt;
&lt;br /&gt;
https://cmake.org/download/&lt;br /&gt;
&lt;br /&gt;
===Boost===&lt;br /&gt;
&lt;br /&gt;
Boost is a set of C++ libraries providing useful algorithms and data structures.&lt;br /&gt;
&lt;br /&gt;
The Boost binary installer must be selected to match the version of MSVC being used to compile UHD and architecture of Windows being run. Watch out as Microsoft has done the version numbering of MSVC such that the year and version number do not match.&lt;br /&gt;
&lt;br /&gt;
MSVC 2013 is version 12 so boost_1_58_0-msvc-12.0-64 was selected.&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/projects/boost/files/boost-binaries/&lt;br /&gt;
&lt;br /&gt;
===LibUSB===&lt;br /&gt;
&lt;br /&gt;
LibUSB is a cross-platform library providing access to USB devices.&lt;br /&gt;
&lt;br /&gt;
LibUSB releases are distributed in 7zip archives, the free 7zip program needed to open them is available at http://www.7-zip.org/download.html. After installing 7zip the LibUSB release archive can be extracted by right clicking on the downloaded file and selecting &amp;lt;tt&amp;gt;7zip &amp;gt; Extract files&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
LibUSB 1.20 was used for the guide and extracted to &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\ libusb-1.0.20&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/projects/libusb/files/libusb-1.0/&lt;br /&gt;
&lt;br /&gt;
===Python===&lt;br /&gt;
&lt;br /&gt;
Python is a widely used general-purpose, high-level programming language. UHD includes several utilities written in Python and has several scripts which are part of the build process.&lt;br /&gt;
&lt;br /&gt;
The latest Python 2 release, 2.7.11 was used.&lt;br /&gt;
&lt;br /&gt;
https://www.python.org/downloads/&lt;br /&gt;
&lt;br /&gt;
===Mako===&lt;br /&gt;
&lt;br /&gt;
Mako is a python template library used to generate source files and is&lt;br /&gt;
distributed using a Python package management system.&lt;br /&gt;
&lt;br /&gt;
Open a command line (Ctrl-X, select run, type cmd.exe and click ok)&lt;br /&gt;
&lt;br /&gt;
    cd C:\Python27\Scripts&lt;br /&gt;
    pip.exe install mako&lt;br /&gt;
&lt;br /&gt;
This installed version 1.0.3 at the time of writing this guide.&lt;br /&gt;
&lt;br /&gt;
===Doxygen===&lt;br /&gt;
&lt;br /&gt;
Doxygen is a documentation generator which creates the HTML manual from text in the source code. It optional for building UHD.&lt;br /&gt;
&lt;br /&gt;
Version 1.8.11 was used for this guide.&lt;br /&gt;
&lt;br /&gt;
http://www.stack.nl/~dimitri/doxygen/download.html&lt;br /&gt;
&lt;br /&gt;
===NSIS===&lt;br /&gt;
&lt;br /&gt;
NSIS is a toolkit for creating Windows installers. NSIS is used for creating binary packages of UHD enabling easy distribution and installation of UHD, associated utilities, and examples.&lt;br /&gt;
&lt;br /&gt;
Version 2.50 was used for this guide.&lt;br /&gt;
&lt;br /&gt;
http://nsis.sourceforge.net/Download&lt;br /&gt;
&lt;br /&gt;
==Obtain the UHD source code==&lt;br /&gt;
&lt;br /&gt;
===From a release source archive===&lt;br /&gt;
&lt;br /&gt;
Archives of the source code for each stable release can be downloaded from the Ettus website.&lt;br /&gt;
&lt;br /&gt;
http://files.ettus.com/binaries/uhd/src/&lt;br /&gt;
&lt;br /&gt;
7zip can be used to extract the &amp;lt;tt&amp;gt;tar.gz&amp;lt;/tt&amp;gt; archive to a location of your choosing.&lt;br /&gt;
&lt;br /&gt;
The guide uses the 3.9.2 release and extracted it to &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===From the Git repository===&lt;br /&gt;
&lt;br /&gt;
The latest development code, as well as tagged releases, is available from the git repository hosted on GitHub&lt;br /&gt;
&lt;br /&gt;
https://www.github.com/EttusResearch/uhd&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
&lt;br /&gt;
All prerequisites have now been installed and downloaded.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Building===&lt;br /&gt;
&lt;br /&gt;
* Open the Cmake GUI&lt;br /&gt;
* Select source code directory&lt;br /&gt;
*: &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002\&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Select binary build directory&lt;br /&gt;
*: &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002\build&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Check the Advanced checkbox&lt;br /&gt;
* Click Configure&lt;br /&gt;
** Set Visual Studio 12 2013 Win64 as the compiler&lt;br /&gt;
* Change or add the following entries&lt;br /&gt;
*; '''Boost_INCLUDE_DIR''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/local/boost_1_58_0&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Add the following entries with type PATH&lt;br /&gt;
*; '''Boost_LIBRARY_PATH''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/local/boost_1_58_0/lib64-msvc-12.0&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*; '''LIBUSB_INCLUDE_DIRS''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/Users/username/libusb-1.0.20/include/libusb-1.0&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Add the following entry with type FILEPATH&lt;br /&gt;
*; '''LIBUSB_LIBRARIES''' : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:/Users/username/libusb-1.0.20/MS64/dll/libusb-1.0.lib&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Click Generate&lt;br /&gt;
&lt;br /&gt;
===Compiling UHD===&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio 2013 and open the UHD project file generated by CMake.&lt;br /&gt;
; &amp;lt;tt&amp;gt;File &amp;gt; Open Project&amp;lt;/tt&amp;gt; : &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Users\username\uhd-release_003_009_002\build\UHD.sln&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the build type from Debug to Release. The **ALL_BUILD** project should be selected already. Run the build, &amp;lt;tt&amp;gt;Build &amp;gt; Build Solution&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installing UHD==&lt;br /&gt;
&lt;br /&gt;
Select the '''INSTALL''' project and run the build, &amp;lt;tt&amp;gt;Build &amp;gt; Build Solution&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Visual Studio must be run as Administrator for this to succeed as it needs write permission for the &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;C:\Program Files&amp;lt;/syntaxhighlight&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===Compiling a binary installer===&lt;br /&gt;
&lt;br /&gt;
Building the '''PACKAGE''' project will produce a binary installer if NSIS is installed. This installer with be for either 64 bit or 32 bit as chosen during the CMake step.&lt;br /&gt;
&lt;br /&gt;
==Running UHD==&lt;br /&gt;
&lt;br /&gt;
Running programs using UHD requires the Visual Studio C++ Runtime Redistributable to be installed. The version of the C++ Runtime Redistributable must match the version of Visual Studio used to compile the program.&lt;br /&gt;
&lt;br /&gt;
* Visual Studio 2015  &lt;br /&gt;
*: https://www.microsoft.com/en-us/download/details.aspx?id=48145&lt;br /&gt;
* Visual Studio 2012 and 2013  &lt;br /&gt;
*: https://support.microsoft.com/en-us/kb/2977003&lt;br /&gt;
&lt;br /&gt;
==Installing the USB driver==&lt;br /&gt;
&lt;br /&gt;
If a USB connected USRP is used then the USB drivers must be installed. The drivers are located at http://files.ettus.com/binaries/misc/erllc_uhd_winusb_driver.zip.&lt;br /&gt;
&lt;br /&gt;
There is a known issue with Windows 10 where an error message is shown at the end of driver installation. However resetting or power cycling the USRP enables full functionality.&lt;br /&gt;
&lt;br /&gt;
==GNU Radio==&lt;br /&gt;
&lt;br /&gt;
Building GNU Radio from source on Windows is still an involved process due to the large number of dependencies. A set of scripts have been developed to automate the process and the various installation options are documented on the GNU Radio website.&lt;br /&gt;
&lt;br /&gt;
http://gnuradio.org/redmine/projects/gnuradio/wiki/WindowsInstall&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	<entry>
		<id>https://kb.ettus.com/index.php?title=Building_and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_Radio)_on_Windows&amp;diff=2562</id>
		<title>Building and Installing the USRP Open Source Toolchain (UHD and GNU Radio) on Windows</title>
		<link rel="alternate" type="text/html" href="https://kb.ettus.com/index.php?title=Building_and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_Radio)_on_Windows&amp;diff=2562"/>
				<updated>2016-05-17T00:23:13Z</updated>
		
		<summary type="html">&lt;p&gt;DerekKozel: Created page with &amp;quot;==Application Note Number== '''AN-####'''  ==Revision History== {| class=&amp;quot;wikitable&amp;quot; !Date !Author !Details |- |style=&amp;quot;text-align:center;&amp;quot;| 2016-01-19 |style=&amp;quot;text-align:cente...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Application Note Number==&lt;br /&gt;
'''AN-####'''&lt;br /&gt;
&lt;br /&gt;
==Revision History==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date&lt;br /&gt;
!Author&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| 2016-01-19&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Derek Kozel&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;| Initial creation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
This Application Note provides a step-by-step guide for building, installing, and updating the open-source toolchain, specifically UHD and GNU Radio, for the USRP from source code on Windows.&lt;br /&gt;
&lt;br /&gt;
==UHD on Windows==&lt;br /&gt;
&lt;br /&gt;
UHD is fully supported on Windows 7, 8, 8.1, and 10 and can be compiled using Visual Studio 2012, 2013, or 2015. The future target is to support the latest three OS and Visual Studio releases. &lt;br /&gt;
&lt;br /&gt;
==Setup the Environment==&lt;br /&gt;
&lt;br /&gt;
The following dependencies are required for a regular build.&lt;br /&gt;
&lt;br /&gt;
* Microsoft Windows (7, 8, 8.1, 10)&lt;br /&gt;
* Microsoft Visual Studio (2012, 2013, 2015)&lt;br /&gt;
* CMake (3.4.0 or later)&lt;br /&gt;
* Boost (1.56 or later)&lt;br /&gt;
* LibUSB (1.0 or later)&lt;br /&gt;
* Python (2.7.x)&lt;br /&gt;
* Mako (0.5.0 or later)&lt;br /&gt;
* Doxygen (1.8 or later, optional)&lt;br /&gt;
* NSIS (2.50 or later, optional)&lt;br /&gt;
&lt;br /&gt;
==Installing the dependencies==&lt;br /&gt;
&lt;br /&gt;
===Microsoft Visual Studio===&lt;br /&gt;
&lt;br /&gt;
The free Express version of Visual Studio is sufficient for building UHD. This guide was tested using MSVC Express 2013.&lt;br /&gt;
&lt;br /&gt;
===CMake===&lt;br /&gt;
&lt;br /&gt;
CMake is a cross-platform build system used to configure and generate the files necessary to compile and test UHD for a particular computer environment.&lt;br /&gt;
&lt;br /&gt;
During installation select the option to add CMake to the PATH for the current user.&lt;br /&gt;
&lt;br /&gt;
CMake 3.4.1 win32 was used for the guide.&lt;br /&gt;
&lt;br /&gt;
https://cmake.org/download/&lt;br /&gt;
&lt;br /&gt;
===Boost===&lt;br /&gt;
&lt;br /&gt;
Boost is a set of C++ libraries providing useful algorithms and data structures.&lt;br /&gt;
&lt;br /&gt;
The Boost binary installer must be selected to match the version of MSVC being used to compile UHD and architecture of Windows being run. Watch out as Microsoft has done the version numbering of MSVC such that the year and version number do not match.&lt;br /&gt;
&lt;br /&gt;
MSVC 2013 is version 12 so boost_1_58_0-msvc-12.0-64 was selected.&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/projects/boost/files/boost-binaries/&lt;br /&gt;
&lt;br /&gt;
===LibUSB===&lt;br /&gt;
&lt;br /&gt;
LibUSB is a cross-platform library providing access to USB devices.&lt;br /&gt;
&lt;br /&gt;
LibUSB releases are distributed in 7zip archives, the free 7zip program needed to open them is available at http://www.7-zip.org/download.html. After installing 7zip the LibUSB release archive can be extracted by right clicking on the downloaded file and selecting &amp;lt;tt&amp;gt;7zip &amp;gt; Extract files&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
LibUSB 1.20 was used for the guide and extracted to &amp;lt;tt&amp;gt;C:\Users\username\ libusb-1.0.20&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/projects/libusb/files/libusb-1.0/&lt;br /&gt;
&lt;br /&gt;
===Python===&lt;br /&gt;
&lt;br /&gt;
Python is a widely used general-purpose, high-level programming language. UHD includes several utilities written in Python and has several scripts which are part of the build process.&lt;br /&gt;
&lt;br /&gt;
The latest Python 2 release, 2.7.11 was used.&lt;br /&gt;
&lt;br /&gt;
https://www.python.org/downloads/&lt;br /&gt;
&lt;br /&gt;
===Mako===&lt;br /&gt;
&lt;br /&gt;
Mako is a python template library used to generate source files and is&lt;br /&gt;
distributed using a Python package management system.&lt;br /&gt;
&lt;br /&gt;
Open a command line (Ctrl-X, select run, type cmd.exe and click ok)&lt;br /&gt;
&lt;br /&gt;
    cd C:\Python27\Scripts&lt;br /&gt;
    pip.exe install mako&lt;br /&gt;
&lt;br /&gt;
This installed version 1.0.3 at the time of writing this guide.&lt;br /&gt;
&lt;br /&gt;
===Doxygen===&lt;br /&gt;
&lt;br /&gt;
Doxygen is a documentation generator which creates the HTML manual from text in the source code. It optional for building UHD.&lt;br /&gt;
&lt;br /&gt;
Version 1.8.11 was used for this guide.&lt;br /&gt;
&lt;br /&gt;
http://www.stack.nl/~dimitri/doxygen/download.html&lt;br /&gt;
&lt;br /&gt;
===NSIS===&lt;br /&gt;
&lt;br /&gt;
NSIS is a toolkit for creating Windows installers. NSIS is used for creating binary packages of UHD enabling easy distribution and installation of UHD, associated utilities, and examples.&lt;br /&gt;
&lt;br /&gt;
Version 2.50 was used for this guide.&lt;br /&gt;
&lt;br /&gt;
http://nsis.sourceforge.net/Download&lt;br /&gt;
&lt;br /&gt;
==Obtain the UHD source code==&lt;br /&gt;
&lt;br /&gt;
===From a release source archive===&lt;br /&gt;
&lt;br /&gt;
Archives of the source code for each stable release can be downloaded from the Ettus website.&lt;br /&gt;
&lt;br /&gt;
http://files.ettus.com/binaries/uhd/src/&lt;br /&gt;
&lt;br /&gt;
7zip can be used to extract the &amp;lt;tt&amp;gt;tar.gz&amp;lt;/tt&amp;gt; archive to a location of your choosing.&lt;br /&gt;
&lt;br /&gt;
The guide uses the 3.9.2 release and extracted it to &amp;lt;tt&amp;gt;C:\Users\username\uhd-release_003_009_002&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===From the Git repository===&lt;br /&gt;
&lt;br /&gt;
The latest development code, as well as tagged releases, is available from the git repository hosted on GitHub&lt;br /&gt;
&lt;br /&gt;
https://www.github.com/EttusResearch/uhd&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
&lt;br /&gt;
All prerequisites have now been installed and downloaded.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Building===&lt;br /&gt;
&lt;br /&gt;
* Open the Cmake GUI&lt;br /&gt;
* Select source code directory&lt;br /&gt;
*: &amp;lt;tt&amp;gt;C:\Users\username\uhd-release_003_009_002\&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Select binary build directory&lt;br /&gt;
*: &amp;lt;tt&amp;gt;C:\Users\username\uhd-release_003_009_002\build&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Check the Advanced checkbox&lt;br /&gt;
* Click Configure&lt;br /&gt;
** Set Visual Studio 12 2013 Win64 as the compiler&lt;br /&gt;
* Change or add the following entries&lt;br /&gt;
*; '''Boost_INCLUDE_DIR''' : &amp;lt;tt&amp;gt;C:/local/boost_1_58_0&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Add the following entries with type PATH&lt;br /&gt;
*; '''Boost_LIBRARY_PATH''' : &amp;lt;tt&amp;gt;C:/local/boost_1_58_0/lib64-msvc-12.0&amp;lt;/tt&amp;gt;&lt;br /&gt;
*; '''LIBUSB_INCLUDE_DIRS''' : &amp;lt;tt&amp;gt;C:/Users/username/libusb-1.0.20/include/libusb-1.0&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Add the following entry with type FILEPATH&lt;br /&gt;
*; '''LIBUSB_LIBRARIES''' : &amp;lt;tt&amp;gt;C:/Users/username/libusb-1.0.20/MS64/dll/libusb-1.0.lib&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Click Generate&lt;br /&gt;
&lt;br /&gt;
===Compiling UHD===&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio 2013 and open the UHD project file generated by CMake.&lt;br /&gt;
; &amp;lt;tt&amp;gt;File &amp;gt; Open Project&amp;lt;/tt&amp;gt; : &amp;lt;tt&amp;gt;C:\Users\username\uhd-release_003_009_002\build\UHD.sln&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the build type from Debug to Release. The **ALL_BUILD** project should be selected already. Run the build, &amp;lt;tt&amp;gt;Build &amp;gt; Build Solution&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Installing UHD===&lt;br /&gt;
&lt;br /&gt;
Select the '''INSTALL''' project and run the build, &amp;lt;tt&amp;gt;Build &amp;gt; Build Solution&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Visual Studio must be run as Administrator for this to succeed as it needs write permission for the &amp;lt;tt&amp;gt;C:\Program Files&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===Compiling a binary installer===&lt;br /&gt;
&lt;br /&gt;
Building the '''PACKAGE''' project will produce a binary installer if NSIS is installed. This installer with be for either 64 bit or 32 bit as chosen during the CMake step.&lt;br /&gt;
&lt;br /&gt;
===Running UHD===&lt;br /&gt;
&lt;br /&gt;
Running programs using UHD requires the Visual Studio C++ Runtime Redistributable to be installed. The version of the C++ Runtime Redistributable must match the version of Visual Studio used to compile the program.&lt;br /&gt;
&lt;br /&gt;
* Visual Studio 2015  &lt;br /&gt;
*: https://www.microsoft.com/en-us/download/details.aspx?id=48145&lt;br /&gt;
* Visual Studio 2012 and 2013  &lt;br /&gt;
*: https://support.microsoft.com/en-us/kb/2977003&lt;br /&gt;
&lt;br /&gt;
===Installing the USB driver===&lt;br /&gt;
&lt;br /&gt;
If a USB connected USRP is used then the USB drivers must be installed.&lt;/div&gt;</summary>
		<author><name>DerekKozel</name></author>	</entry>

	</feed>