After reading about this conversation on the mailing list 
https://lists.ettus.com/empathy/thread/DGJBPK6YADKXM2ETKPEVQQ7F5ALJCIDD
I went ahead and erased my UHD distribution folder and started from scratch. 
Here is how to reproduce what I did:

Given a patched version of Vivado installed on the system:

/tools/Xilinx/Vivado/2021.1/bin/vivado -version
Vivado v2021.1_AR76780 (64-bit)
SW Build 3247384 on Thu Jun 10 19:36:07 MDT 2021
IP Build 3246043 on Fri Jun 11 00:30:35 MDT 2021
Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.

Commands:

git clone git clone https://github.com/EttusResearch/uhd.git
cd uhd
git checkout UHD-4.4
<optional>
cd host
mkdir build && cd build
cmake ..
make -j10
sudo make install
cd ../..
<end optional>
cd fpga/usrp3/top/x300/
rfnoc_image_builder -c -d x300 -y ./x300_rfnoc_image_core.yml -t X300_HG -p 
/tools/Xilinx/Vivado/

This results in the error reported below.


________________________________
From: Minutolo, Lorenzo <minut...@caltech.edu>
Sent: Tuesday, January 31, 2023 2:20 PM
To: jmalo...@umass.edu <jmalo...@umass.edu>; usrp-users@lists.ettus.com 
<usrp-users@lists.ettus.com>
Subject: [USRP-users] Re: Error when synthesizing example OOT block : IP 
"cmplx_mul" is locked

I tried installing Vivado 2021.1 and applying the right patch, using UHD-4.4 I 
still get the following error message:

========================================================
BUILDER: Building IP axi_hb31
========================================================
BUILDER: Staging IP in build directory...
BUILDER: Reserving IP location: 
/home/lorenzo/uhd/fpga/usrp3/top/x300/build-ip/xc7k325tffg900-2/axi_hb31
BUILDER: Retargeting IP to part kintex7/xc7k325t/ffg900/-2...
BUILDER: Building IP...
[00:00:00] Executing command: vivado -mode batch -source 
/home/lorenzo/uhd/fpga/usrp3/tools/scripts/viv_generate_ip.tcl -log 
axi_hb31.log -nojournal
WARNING: [IP_Flow 19-2162] IP 'axi_hb31' is locked:
[00:00:04] Current task: Initialization +++ Current Phase: Starting
CRITICAL WARNING: [filemgmt 20-1366] Unable to reset target(s) for the 
following file is locked: 
/home/lorenzo/uhd/fpga/usrp3/top/x300/build-ip/xc7k325tffg900-2/axi_hb31/axi_hb31.xci
CRITICAL WARNING: [filemgmt 20-1365] Unable to generate target(s) for the 
following file is locked: 
/home/lorenzo/uhd/fpga/usrp3/top/x300/build-ip/xc7k325tffg900-2/axi_hb31/axi_hb31.xci
[00:00:04] Current task: Initialization +++ Current Phase: Finished
[00:00:04] Executing Tcl: synth_design -top axi_hb31 -part xc7k325tffg900-2 
-mode out_of_context
[00:00:04] Starting Synthesis Command
[00:00:04] Current task: Synthesis +++ Current Phase: Starting
WARNING: [Vivado_Tcl 4-391] The following IPs are missing output products for 
Synthesis target. These output products could be required for synthesis, please 
generate the output products using the generate_target or synth_ip command 
before running synth_design.
WARNING: [IP_Flow 19-2162] IP 'axi_hb31' is locked:
ERROR: [Designutils 20-414] HRTInvokeSpec : No Verilog or VHDL sources specified


Currently looking for a workaround before reverting to 2019.1 and UHD 4.2

Lorenzo

________________________________
From: Minutolo, Lorenzo <minut...@caltech.edu>
Sent: Tuesday, January 31, 2023 11:48 AM
To: jmalo...@umass.edu <jmalo...@umass.edu>; usrp-users@lists.ettus.com 
<usrp-users@lists.ettus.com>
Subject: [USRP-users] Re: Error when synthesizing example OOT block : IP 
"cmplx_mul" is locked

Same here.
Since switching to Vivado 2021.1 and UHD-4.3 even compiling the stock firmware 
results in [IP_Flow 19-2162] IP 'axi_hb31' is locked.
Apparently, this error is well known 
https://support.xilinx.com/s/article/58832?language=en_US

I'm trying to switch to UHD 4.4 to see if this error goes away. Everything was 
working really well in UHD-4.2 and Vivado 2019.1.

Best,
Lorenzo
________________________________
From: jmalo...@umass.edu <jmalo...@umass.edu>
Sent: Friday, January 27, 2023 2:17 PM
To: usrp-users@lists.ettus.com <usrp-users@lists.ettus.com>
Subject: [USRP-users] Error when synthesizing example OOT block : IP 
"cmplx_mul" is locked


Hello,


I have run into an issue when trying to synthesize the “gain” RFNoC as 
described in the tutorial here 
https://kb.ettus.com/Getting_Started_with_RFNoC_in_UHD_4.0


I get an error that the module cmplx mul is locked. I found that in the verilog 
file “rfnoc_block_gain.v”, the module is instantiated there, but I am unsure 
how I should proceed working around this.


Here is the output of the vivado -version

Vivado v2021.1_AR76780 (64-bit)

SW Build 3247384 on Thu Jun 10 19:36:07 MDT 2021

IP Build 3246043 on Fri Jun 11 00:30:35 MDT 2021

Copyright 1986-2021 Xilinx, Inc. All Rights Reserved

And here is the output of the error

========================================================

BUILDER: Building IP cmplx_mul

========================================================

BUILDER: Staging IP in build directory...

BUILDER: Reserving IP location: 
/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul

BUILDER: Retargeting IP to part zynq/xc7z100/ffg900/-2...

BUILDER: Building IP...

[00:00:00] Executing command: vivado -mode batch -source 
/workarea/uhd/fpga/usrp3/tools/scripts/viv_generate_ip.tcl -log cmplx_mul.log 
-nojournal

[00:00:05] Current task: Initialization +++ Current Phase: Starting

WARNING: [IP_Flow 19-2162] IP 'cmplx_mul' is locked:

CRITICAL WARNING: [filemgmt 20-1366] Unable to reset target(s) for the 
following file is locked: 
/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul/cmplx_mul.xci

CRITICAL WARNING: [filemgmt 20-1365] Unable to generate target(s) for the 
following file is locked: 
/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul/cmplx_mul.xci

[00:00:05] Current task: Initialization +++ Current Phase: Finished

[00:00:05] Executing Tcl: synth_design -top cmplx_mul -part xc7z100ffg900-2 
-mode out_of_context

[00:00:05] Starting Synthesis Command

WARNING: [Vivado_Tcl 4-391] The following IPs are missing output products for 
Synthesis target. These output products could be required for synthesis, please 
generate the output products using the generate_target or synth_ip command 
before running synth_design.

WARNING: [IP_Flow 19-2162] IP 'cmplx_mul' is locked:

ERROR: [Designutils 20-414] HRTInvokeSpec : No Verilog or VHDL sources specified

ERROR: [Common 17-53] User Exception: No open design. Please open an 
elaborated, synthesized or implemented design before executing this command.

ERROR: [Common 17-53] User Exception: No open design. Please open an 
elaborated, synthesized or implemented design before executing this command.

ERROR: [Common 17-53] User Exception: No open design. Please open an 
elaborated, synthesized or implemented design before executing this command.

ERROR: [Common 17-53] User Exception: No open design. Please open an 
elaborated, synthesized or implemented design before executing this command.

ERROR: [Common 17-53] User Exception: No open design. Please open an 
elaborated, synthesized or implemented design before executing this command.

ERROR: [Common 17-53] User Exception: No open design. Please open an 
elaborated, synthesized or implemented design before executing this command.

CRITICAL WARNING: [IP_Flow 19-4739] Writing uncustomized BOM file 
'/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul/cmplx_mul.xml'

CRITICAL WARNING: [IP_Flow 19-4739] Writing uncustomized BOM file 
'/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul/cmplx_mul.xml'

CRITICAL WARNING: [IP_Flow 19-4739] Writing uncustomized BOM file 
'/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul/cmplx_mul.xml'

CRITICAL WARNING: [IP_Flow 19-4739] Writing uncustomized BOM file 
'/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul/cmplx_mul.xml'

[00:00:06] Current task: Synthesis +++ Current Phase: Starting

CRITICAL WARNING: [IP_Flow 19-4739] Writing uncustomized BOM file 
'/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul/cmplx_mul.xml'

ERROR: [Vivado 12-398] No designs are open

[00:00:06] Current task: Synthesis +++ Current Phase: Finished

[00:00:06] Process terminated. Status: Failure

========================================================

Warnings: 3

Critical Warnings: 7

Errors: 8

BUILDER: Releasing IP location: 
/workarea/uhd/fpga/usrp3/top/n3xx/build-ip/xc7z100ffg900-2/cmplx_mul

make[1]: *** [/rfnoc-foo/fpga//ip/cmplx_mul/Makefile.inc:21: 
LIB_IP_CMPLX_MUL_TRGT] Error 1

make[1]: Leaving directory '/workarea/uhd/fpga/usrp3/top/n3xx'

make: *** [Makefile:90: N3X0_IP] Error 2
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to