Hi sp, Regarding the error message about Vivado not being found. You need to set up your environment before building an FPGA. rfnoc_image_builder does this automatically for you. But if you run make directly then you need to source setupenv.sh manually. For example:
source uhd/fpga/usrp3/top/x300/setupenv.sh The error about the unresolved clock domain means you need to connect a clock to the ce clock input of your gain block. The tools expects something like this in your YAML file: clk_domains: - { srcblk: _device_, srcport: ce, dstblk: gain0, dstport: ce } However, the gain example in UHD doesn't have a ce clock port, so I assume you modified the example to add that clock port. The tool requires all clock inputs to be connected. Wade On Mon, Feb 7, 2022 at 5:56 AM Arash Jafari <arash.jafari.tele...@gmail.com> wrote: > Hello sp h, > > I did it about 3 years ago, as I remember, there is a Tcl file in the make > folder or s.w else the Vivado version is defined there, you need to change > the Vivado version there. > Please keep this in mind, in some scenarios the Vivado version must be > exactly the same as configured in the mentioned Tcl file, otherwise due to > some kind of incompatibility you can't proceed. > use *grep -r vivado *command or s.t similar in ubuntu to find where to > configure it. > > Kind Regards > ------------------------ > Dipl.-Ing. Arash Jafari > Phone: +43 650 844 3617 > E-mail: arash.jafari.tele...@gmail.com > > On Sun, Feb 6, 2022 at 5:10 PM sp h <stackprogra...@gmail.com> wrote: > >> I copied the RFNOC example in a folder. for building, I used these >> commands... >> Building and Installing an OOT Module >> mkdir build >> cd build >> cmake .. -DUHD_FPGA_DIR=/home/sp/Documents/uhd-4.1.0.5/fpga >> make >> Building an FPGA Image with OOT Blocks >> when I want to build FPGA I used these commands... >> >> make x310_rfnoc_image_core >> >> I faced with this error >> *Errors:* >> >> >> >> *Setting up a 64-bit FPGA build environment for the USRP-X3x0...- Vivado: >> Version 2019.1 not found in /opt/Xilinx/Vivado (ERROR.. Builds and >> simulations will not work) Use the --vivado-path option to >> override the search pathBuilt target x310_rfnoc_image_core* >> >> When I used these options I was faced another error... >> >> make x310_rfnoc_image_core --vivado-path=/home/sp/xilinx/Vivado >> >> *Errors:* >> make: unrecognized option '--vivado-path=/home/sp/xilinx/Vivado' >> >> How can build Gain RFNOC example successfully? >> thanks in advance >> >> >> >> >> >> _______________________________________________ >> USRP-users mailing list -- usrp-users@lists.ettus.com >> To unsubscribe send an email to usrp-users-le...@lists.ettus.com >> > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com