Rob,

I am using UHD 3.15.  Thanks for pointing me to the section in the ...builder.py script.  I noticed that it is finding the source files correctly and generating the include file "Makefile.OOT.inc".  However, the include file was not part of "Makefile.e31x.inc".  I did a grep search for Makefile.OOT.inc and found it in the n3xx and x300 directories.  So, when I added it to the e31x directory (i.e. in Makefile.e31x.inc) the build script was able to locate all the source files and Vivado was able to continue its build.

Thanks so much for your insight,

Mike

On 11/11/20 9:48 AM, Rob Kossler wrote:
Mike,
Are you using UHD 3.15?  If so, I suspect that UHD itself is the issue - particularly the uhd_image_builder.py script. My own experience is that starting around 3.15, some things changed in the uhd_image_builder.py script and caused issues in finding OOT files.

Take a look in the python create_oot_include() procedure and you will find an if/elif statement that looks for Makefile.inc or Makefile.srcs in various paths in the OOT folder such as rfnoc/ or rfnoc/fpga-src.  Attached are the files Makefile.inc that I have in my rfnoc/ and rfnoc/fpga-src folders. You could modify these for your own specifics and re-try the uhd_image_builder.py script.
Rob

On Wed, Nov 11, 2020 at 9:15 AM Mike via USRP-users <usrp-users@lists.ettus.com <mailto:usrp-users@lists.ettus.com>> wrote:

    Hi,

    I've been going through AN-823 (Getting started with RFNoC
    Development)
    and have successfully gotten through the point of simulating the gain
    test bench with positive results.

    I'm attempting to build the FPGA now with the new OOT module. I've
    successfully built with only pre-existing modules and seen it work
    in my
    hardware (E310).

    My command is as follows:

    ~/prefix/rfnoc2/src/uhd-fpga/usrp3/tools/scripts$
    ./uhd_image_builder.py
    gain ddc fft -t E310_RFNOC -d e31x -I
    /home/mike/prefix/rfnoc2/src/rfnoc-tutorial/rfnoc/

    I used the gui command ./uhd_image_builder_gui.py but it does not
    create
    the correct device type (-d E310 vs -d e31x).

    I've tried using "-I /home/mike/prefix/rfnoc2/src/rfnoc-tutorial/"
    to no
    avail either.

    So, it seems like I'm missing a path somewhere in the makefiles that
    keeps it from finding the OOT source.

    I know this is probably basic makefile stuff but it's not basic to
    me.
    I'm just an FPGA guy.

    Thanks,

    Mike


    _______________________________________________
    USRP-users mailing list
    USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
    http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to