EttusResearch / uhd

The USRP™ Hardware Driver Repository
http://uhd.ettus.com
Other
1k stars 666 forks source link

Make E320_AA error #767

Closed Emreyldz06 closed 4 months ago

Emreyldz06 commented 4 months ago

Issue Description

I am using the vivado 2022.1. I will use the USRP model E320 and first I want to implement and boot the on of default design in directory /fpga/usrp3/top/e320 I run the following commands : source setupenv.sh --vivado-path=/media/user/disk2/Xilinx/Vivado make E320_AA But I got an error as described at below

Setup Details

I have build the following UHD version $ uhd_config_info --version UHD 4.0.0.0-240-gb38c9d83 vivado 2022.1. I am using ubuntu18.04

Expected Behavior

I am expecting to get output as described on UHD documentation page

Actual Behaviour

I am getting the following error:user@user-HP-Z420-Workstation:/media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320$ make E320_AA make -f Makefile.e320.inc bin NAME=E320_AA ARCH=zynq PART_ID=xc7z045/ffg900/-3 SFP_AURORA=1 BUILD_AURORA=1 E320=1 TOP_MODULE=e320 EXTRA_DEFS="SFP_AURORA=1 BUILD_AURORA=1 E320=1" DEFAULT_RFNOC_IMAGE_CORE_FILE=e320_rfnoc_image_core.v DEFAULT_EDGE_FILE=/media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320/e320_static_router.hex make[1]: Entering directory '/media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320' BUILDER: Checking tools...

======================================================== Warnings: 6 Critical Warnings: 7 Errors: 9

BUILDER: Releasing IP location: /media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320/build-ip/xc7z045ffg900-3/ten_gig_eth_pcs_pma /media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320/ip/ten_gig_eth_pcs_pma/Makefile.inc:41: recipe for target '/media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320/build-ip/xc7z045ffg900-3/ten_gig_eth_pcs_pma/ten_gig_eth_pcs_pma.xci' failed make[1]: [/media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320/build-ip/xc7z045ffg900-3/ten_gig_eth_pcs_pma/ten_gig_eth_pcs_pma.xci] Error 1 make[1]: Leaving directory '/media/user/disk2/sdr_emre/src/uhd/fpga/usrp3/top/e320' Makefile:70: recipe for target 'E320_AA' failed make: [E320_AA] Error 2

Steps to reproduce the problem

Additional Information

wordimont commented 4 months ago

Building the FPGA image for UHD 4.0.0 requires Vivado 2019.1. Vivado is giving you that error because the version of the IP in the GitHub repo doesn't match the IP version in Vivado 2022.1 which you're trying to use. Unfortunately, Vivado tends to break compatibility between versions so it's recommended using the Vivado version indicated in the UHD manual and setupenv.sh for the FPGA you're trying to build.

mbr0wn commented 4 months ago

@Emreyldz06 what @wordimont says is important -- if you start using the right version of Vivado, things will start working. Also, why not use a newer version of UHD? Recent UHD requires Vivado 2021.1.

Emreyldz06 commented 4 months ago

Thanks for your reply @wordimont and @mbr0wn. Today I downgraded my vivado version to 2021.1 and also upgraded the UHD to newest version. Finally I solved the problem with adding AR76780_Vivado_2021_1_preliminary_rev1 patch. Thanks for your answers.